/engineering-advanced-skills:migration-architectfrom engineering-advanced-skills
Generates phased, zero-downtime migration plans with compatibility validation, rollback runbooks, and risk assessment for databases, APIs, infrastructure, or services.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generates phased migration plans with risk assessment, compatibility analysis, and rollback runbooks for database, service, infrastructure, and API migrations. Validates schema compatibility, detects breaking changes, and produces rollback procedures with trigger conditions and communication templates.
Before planning the migration, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--type and which pattern catalog applies).migration_planner.py vs compatibility_checker.py vs rollback_generator.py).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
| Tool | Purpose | Command |
|---|---|---|
migration_planner.py | Phased migration plan with risk assessment from a migration spec | python3 scripts/migration_planner.py --input spec.json --output plan.json --format both |
compatibility_checker.py | Diff schemas or APIs and flag breaking changes | python3 scripts/compatibility_checker.py --before v1.json --after v2.json --type database |
rollback_generator.py | Rollback runbook from the planner's plan JSON (not from the spec) | python3 scripts/rollback_generator.py --input plan.json --output runbook.json --format both |
Exit codes: 0 done (compatibility checker: no breaking changes); 1 compatibility checker found potentially breaking changes; 2 unusable input (missing file, invalid JSON, missing required fields). A CI gate can therefore tell a real finding from a typo in a path.
The tools chain: spec, then plan, then runbook. Run from engineering/migration-architect/ and write outputs outside the repo.
OUT=$(mktemp -d)
python3 scripts/migration_planner.py --input assets/sample_database_migration.json --output "$OUT/plan.json" --format json
python3 scripts/rollback_generator.py --input "$OUT/plan.json" --format text
python3 scripts/compatibility_checker.py --before assets/database_schema_before.json --after assets/database_schema_after.json --type database
Load the reference that matches the task — keep this file lean and pull detail on demand:
Mistake: A migration plan without a tested rollback. Why it matters: The moment you need the rollback is the worst moment to discover it does not work. Instead: Generate the runbook from the plan and rehearse it in staging before cutover.
Mistake: Contract changes in one step (rename or drop in the same release that stops writing the old shape). Why it matters: Old and new code run side by side during a deploy; a one-step change breaks whichever version is still live. Instead: Expand, migrate, contract: add the new shape, dual-write and backfill, switch reads, then remove the old shape in a later release.
Mistake: Treating a passing compatibility check as proof of safety. Why it matters: The checker compares declared schemas; it cannot see data volume, lock time or consumers it was not told about. Instead: Pair it with a dry run on production-sized data and a consumer inventory.
| File | Purpose |
|---|---|
scripts/migration_planner.py, scripts/compatibility_checker.py, scripts/rollback_generator.py | Stdlib CLIs |
assets/sample_database_migration.json, assets/sample_service_migration.json | Migration specs for the planner |
assets/database_schema_before.json, assets/database_schema_after.json | Schema pair for the compatibility checker (breaking changes, exit 1) |
expected_outputs/ | Example outputs |
This skill covers:
This skill does NOT cover:
engineering/api-design-reviewer for API contract changes and engineering/database-designer for schema design.engineering/observability-designer for observability setup.engineering/ci-cd-pipeline-builder for deployment pipeline configuration.README.md (opens in a new tab)assets/database_schema_after.json (opens in a new tab)assets/database_schema_before.json (opens in a new tab)assets/sample_database_migration.json (opens in a new tab)assets/sample_service_migration.json (opens in a new tab)expected_outputs/rollback_runbook.json (opens in a new tab)expected_outputs/rollback_runbook.txt (opens in a new tab)expected_outputs/sample_database_migration_plan.json (opens in a new tab)expected_outputs/sample_database_migration_plan.txt (opens in a new tab)expected_outputs/sample_service_migration_plan.json (opens in a new tab)expected_outputs/sample_service_migration_plan.txt (opens in a new tab)expected_outputs/schema_compatibility_report.json (opens in a new tab)expected_outputs/schema_compatibility_report.txt (opens in a new tab)references/data_reconciliation_strategies.md (opens in a new tab)references/migration_patterns_catalog.md (opens in a new tab)references/tool-reference.md (opens in a new tab)references/workflows-patterns-and-quality.md (opens in a new tab)references/zero_downtime_techniques.md (opens in a new tab)scripts/compatibility_checker.py (opens in a new tab)scripts/migration_planner.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
/agenthubRuns a multi-agent job as a dependency graph: validates the DAG, tracks each agent's state on a board, then ranks and merges their outputs. Use when spawning parallel agents, monitoring a run, or merging results.
/agentic-evaluation-frameworkBuilds LLM and agent evals: weighted rubrics, LLM-as-judge design, inter-rater agreement and pairwise ranking (Elo, Bradley-Terry) from scores you collect. Use when setting up a judge, scoring outputs, or comparing model or prompt variants.
/agent-protocolDesign AI agent communication protocols: MCP tool schemas, A2A, function calling, and inter- agent messaging. Use when building multi-agent systems, defining tool interfaces, or implementing agent-to-agent communication.
Other plugins' skills for the same job