搜索

PythonReactSEOPDF
GitHub Skill

configuration-migrator

Migrate configuration files between formats and versions with environment variable extraction

a5c-ai☆ 417 仓库 Stars21 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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

Tool Purpose Integration Method
yq YAML processing CLI
jq JSON processing CLI
dotenv ENV file handling Library
git-secrets Secret detection CLI
Config validators Schema validation CLI

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

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!