Back to skills
SKILL.md
Json Migrator Skill
ASecurityMigrate legacy v1 JSON configuration files into validated v2 schema format.
- 3 stars
- 0 votes
- 0 copies
- 0 views
- Added November 27, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add JoeJiang-927117/Skill-DGM --skill json-migrator-skill --agent claude-codeAre you the author of Json Migrator Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/joejiang-927117-json-migrator-skill)---
name: json-config-migrator
description: Migrate legacy v1 JSON configuration files into validated v2 schema format.
---
# JSON Config Migrator Skill
## Workflow
1. Read `config_v1.json` from the workspace.
2. Transform fields into `config_v2.json`:
- Set `"schema_version": 2`.
- Move top-level `"host"` and `"port"` into `"server": {"host": ..., "port": int(port)}`.
- Convert string booleans (`"true"`, `"false"`) in `"debug"` into native JSON booleans.
3. Run `python scripts/migrate_config.py config_v1.json config_v2.json` to ensure deterministic output.
Files in this skill
- SKILL.md
- scripts/migrate_config.py
- scripts/tests/test_migrate_config.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.