OpenParable
Skip to content
← Back to skills

Configuration Migrator

Documents
configuration-migrator

Configuration Migrator is an Agent Skill for documents published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Migrate configuration files between formats and versions with environment variable extraction

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/code-migration-modernization/skills/configuration-migrator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/configuration-migrator, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Configuration Migrator Skill

Migrates configuration files between different formats and versions, handles environment variable extraction, and manages secret detection.

Purpose

Enable configuration migration for:

  • Config format conversion
  • Environment variable extraction
  • Secret detection and handling
  • Schema validation
  • Template generation

Capabilities

1. Config Format Conversion

  • XML to YAML/JSON
  • Properties to YAML
  • INI to JSON
  • TOML conversion
  • ENV file handling

2. Environment Variable Extraction

  • Identify environment-specific values
  • Extract to env files
  • Create variable references
  • Document variables

3. Secret Detection

  • Find hardcoded secrets
  • Identify credentials
  • Detect API keys
  • Flag sensitive data

4. Schema Validation

  • Validate against schemas
  • Check required fields
  • Verify data types
  • Ensure compatibility

5. Default Value Handling

  • Preserve defaults
  • Document required overrides
  • Create sensible defaults
  • Handle missing values

6. Template Generation

  • Create config templates
  • Generate example files
  • Document all options
  • Support multiple environments

Tool Integrations

ToolPurposeIntegration Method
yqYAML processingCLI
jqJSON processingCLI
dotenvENV file handlingLibrary
git-secretsSecret detectionCLI
Config validatorsSchema validationCLI

Output Schema

{
  "migrationId": "string",
  "timestamp": "ISO8601",
  "source": {
    "format": "string",
    "path": "string"
  },
  "target": {
    "format": "string",
    "path": "string"
  },
  "conversions": [
    {
      "sourceKey": "string",
      "targetKey": "string",
      "transformation": "string"
    }
  ],
  "extracted": {
    "envVariables": [],
    "secrets": []
  },
  "validation": {
    "valid": "boolean",
    "errors": [],
    "warnings": []
  }
}

Integration with Migration Processes

  • configuration-migration: Primary tool
  • framework-upgrade: Config version updates
  • cloud-migration: Cloud config adaptation

Related Skills

  • compliance-validator: Secret compliance

Related Agents

  • configuration-centralization-agent: Config modernization