Guides a five-phase migration workflow for frameworks, languages, databases and infrastructure.
- What it does
- This skill defines a migration workflow that moves a project from one framework, language version, database or infrastructure to another. It sequences five phases: research the target, analyze the current codebase, produce a phased migration plan, implement the changes, and review the result. Each phase is described as a delegated task with a stated output, such as a research report, impact analysis, migration plan, code changes or review report. It also documents migration types, incremental phase-by-phase execution and flags such as dry-run, rollback and parallel.
- When to use it
- Use it when asked to migrate or upgrade a framework, language version, database or infrastructure, such as moving from Express to Fastify or Python 3.9 to 3.12. It suits high-risk migrations where breaking changes, dependency conflicts or data format changes need extra research and review gates. It can also be run one phase at a time for large codebases.
- Requirements
- Instructions only; no scripts are shipped. It assumes the named subagents (oracle, phoenix, plan-agent, kraken, surveyor) are available to execute the phases.
/migrate - Migration Workflow
Safe migrations for frameworks, languages, and infrastructure.
When to Use
- "Migrate to X"
- "Upgrade framework"
- "Move from X to Y"
- "Upgrade Python/Node/etc."
- "Migrate database"
- Framework version upgrades
- Language migrations
- Infrastructure changes
Workflow Overview
Agent Sequence
Why Extra Gates?
Migrations are high-risk:
- Breaking changes between versions
- Dependency conflicts
- Data format changes
- API deprecations
The extra research and review phases catch issues early.
Execution
Phase 1: Research Target
Phase 2: Analyze Current State
Phase 3: Plan Migration
Phase 4: Implement
Phase 5: Review Migration
Migration Types
Framework Upgrade
Language Version
Database Migration
Infrastructure
Example
Incremental Migration
For large codebases, run one phase at a time:
Flags
--phase N: Run specific phase only
--dry-run: Plan without implementing
--rollback: Execute rollback plan
--parallel: Run new alongside old (strangler fig)