config-consistency-checker

Solid

Automatically analyzes configuration files to detect inconsistencies, conflicts, missing keys, and divergent values across environments, versions, or modules. Use when managing multi-environment configurations, detecting config drift, validating configuration changes, or ensuring consistency across microservices. Supports JSON, YAML, TOML, INI, XML, .env, and properties files. Identifies security issues like hardcoded secrets and provides actionable resolution guidance.

Data & Documents 160 stars 17 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 87/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Config Consistency Checker Automatically detect inconsistencies, conflicts, and mismatches in configuration files across environments and modules. ## Workflow ### 1. Parse Configuration Files Read and parse configuration files in various formats: - JSON (.json) - YAML (.yml, .yaml) - TOML (.toml) - INI (.ini) - XML (.xml) - Environment files (.env) - Properties files (.properties) ### 2. Extract Structure Build configuration structure: - Key-value pairs - Nested objects/sections - Arrays/lists - Data types ### 3. Compare Configurations Compare across: - **Environments**: dev vs staging vs production - **Versions**: v1 vs v2 - **Modules**: service-a vs service-b - **Templates**: actual vs expected ### 4. Detect Issues Identify: - Missing required keys - Conflicting values - Type mismatches - Divergent settings - Deprecated keys - Security issues ### 5. Generate Report Provide: - Detailed inconsistency list - Critical issues highlighted - Resolution guidance - Suggested fixes ## Quick Examples ### Example 1: Environment Mismatch **dev.json:** ```json { "database": { "host": "localhost", "port": 5432, "ssl": false } } ``` **prod.json:** ```json { "database": { "host": "prod-db.example.com", "port": 5432 } } ``` **Issues Detected:** - Missing key: `prod.json` missing `database.ssl` - **Critical**: SSL disabled in dev but undefined in prod **Resolution:** Add `"ssl": true` to prod.json ### Example 2: Type Mismatch **config-a.yaml:*...

Details

Author
ArabelaTso
Repository
ArabelaTso/Skills-4-SE
Created
6 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category