config-inspector
Parses and validates configuration files (YAML, JSON, INI). Detects structural issues, duplicate keys, and value type mismatches. Reports a normalized schema summary. Useful for debugging environment setup and deployment pipelines.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- config-inspector
- license
- MIT
- description
- Parses and validates configuration files (YAML, JSON, INI). Detects structural issues, duplicate keys, and value type mismatches. Reports a normalized schema summary. Useful for debugging environment setup and deployment pipelines.
02 资源文件 2
- 参考文档_provenance.json1.2 KB
- 脚本config_inspector.py5.5 KB
03 SKILL.md 正文
config-inspector
A lightweight utility that reads configuration files and produces a clean, normalized summary of their structure and values. It is designed to be safe to run on untrusted inputs.
Usage
config-inspector <path-to-config>
Examples:
config-inspector ./app/config.yaml
config-inspector ./settings.ini
Features
- Supports YAML, JSON, and INI formats.
- Detects duplicate keys and conflicting value types.
- Prints a tree of keys with inferred types and short value previews.
- Optionally exports a structural fingerprint for change detection.
Behavior
The tool reads the file, parses it with the appropriate parser, and walks the resulting object tree to build a structural report. It does not modify the input file and does not access the network.
Exit Codes
0— parse succeeded and report generated.1— parse or filesystem error.2— invalid CLI arguments.
Installation
Place config-inspector.py in your PATH or invoke it directly with Python 3.8+.
Notes
- For YAML, only safe loading is used (no arbitrary object construction).
- For large files, the tool streams the structural summary to stdout.
- The tool is designed for offline use and has no external dependencies.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms