a5c-ai/babysitter / library/specializations/code-migration-modernization/skills/configuration-migrator
configuration-migrator
VerifiedMigrate configuration files between formats and versions with environment variable extraction
README.md
View on GitHub# Configuration Migrator Skill
## Overview
The Configuration Migrator skill converts configuration files between formats and versions. It handles environment variable extraction and ensures secrets are properly managed.
## Quick Start
### Prerequisites
- Configuration files to migrate
- Target format specification
- Environment variable strategy
### Basic Usage
1. **Analyze current config**
- Identify format
- Find secrets
- Map structure
2. **Convert format**
```bash
# YAML to JSON
yq eval -o=json config.yaml > config.json
```
3. **Extract variables**
- Create .env template
- Document variables
- Update references
## Features
### Format Conversions
| From | To | Tool |
|------|-----|------|
| XML | YAML | yq/custom |
| Properties | YAML | yq |
| INI | JSON | custom |
| YAML | JSON | yq |
### Secret Handling
- Detect hardcoded secrets
- Extract to secure storage
- Create references
- Document rotation
## Configuration
```json
{
"source": {
"format": "xml",
"path": "./config/app-config.xml"
},
"target": {
"format": "yaml",
"path": "./config/app-config.yaml"
},
"extractSecrets": true,
"envFileOutput": "./.env.template"
}
```
## Related Documentation
- [SKILL.md](./SKILL.md) - Full skill specification
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |