Skip to content
Back to skills

Json Migrator Skill

ASecurity

Migrate legacy v1 JSON configuration files into validated v2 schema format.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agentspython

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add JoeJiang-927117/Skill-DGM --skill json-migrator-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Json Migrator Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Json Migrator Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joejiang-927117-json-migrator-skill/badge)](https://www.skillsdirectory.com/skills/joejiang-927117-json-migrator-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md575 B
  • scripts/migrate_config.py1.2 KB
  • scripts/tests/test_migrate_config.py748 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.