migration-architect
БесплатноЗапускает вложенные скриптыНе проверенPlans zero-downtime migrations with compatibility validation, rollback strategies, and phased execution plans. Use when migrating databases, APIs…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Migration Architect
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.
Core Capabilities
- Phased planning — generate risk-assessed, multi-phase migration plans with validation gates, timelines, and stakeholder structures from a JSON spec.
- Compatibility analysis — diff before/after database or REST/JSON schemas to detect breaking changes, type mismatches, and constraint violations, with migration + rollback scripts.
- Rollback runbooks — phase-by-phase reversal steps, automated trigger conditions, data-recovery plans, escalation matrices, and communication templates.
- Pattern catalog — Expand-Contract, Dual-Write, CDC, Strangler Fig, Parallel Run, Canary, Blue-Green.
- Risk frameworks — technical, business, operational, and compliance risk categories.
When to Use
- Migrating databases, APIs, infrastructure, or services between platforms or versions.
- Validating schema/API compatibility and detecting breaking changes before cutover.
- Building rollback runbooks and zero-downtime execution plans.
Clarify First
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.
- What's migrating: database, API, infrastructure, or service (sets
--typeand which pattern catalog applies). - Deliverable: phased plan, compatibility diff, or rollback runbook (selects
migration_planner.pyvscompatibility_checker.pyvsrollback_generator.py). - Downtime budget & pattern: zero-downtime requirement and which pattern (expand-contract, dual-write, strangler fig, blue-green) (drives the phases and cutover technique).
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.
Tools Overview
| 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.
Quick Start
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
Reference Documentation
Load the reference that matches the task — keep this file lean and pull detail on demand:
- references/workflows-patterns-and-quality.md — quick-start commands, the three core workflows with validation checkpoints, the migration-pattern catalog table, anti-patterns, troubleshooting, and success criteria. Read when planning a migration.
- references/tool-reference.md — full per-tool purpose, usage, flag tables, input formats, and output structures for all three scripts. Read before running or debugging the scripts.
- references/migration_patterns_catalog.md — deep catalog of migration patterns with mechanics and trade-offs. Read when choosing a pattern.
- references/zero_downtime_techniques.md — techniques for cutover without downtime (expand-contract, dual-write, traffic shifting). Read when downtime budget is near zero.
- references/data_reconciliation_strategies.md — checksum/business-logic validation strategies to confirm data integrity post-migration. Read when verifying migrated data.
Anti-Patterns
Mistake: A migration plan without a tested rollback. Why it matters: The moment you need the rollback is the worst moment to discov
Установить migration-architect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл migration-architect?
Plans zero-downtime migrations with compatibility validation, rollback strategies, and phased execution plans. Use when migrating databases, APIs, infrastructure, or services between platforms or versions.
Как установить скилл migration-architect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл migration-architect запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic