Skip to main content
skill CX Codex

migrate · parcadei — Claude Code skill: what it does, how to install

Runs a migration from target research through review. Use it for framework, language, database, or infrastructure changes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add parcadei/Continuous-Claude-v3 --skill migrate -a claude-code
Open on GitHub

What migrate does

This skill runs a migration through five subagents. oracle researches the target, phoenix assesses codebase impact, and plan-agent creates a phased plan. kraken makes the changes, then surveyor reviews the result.

Research covers breaking changes, new APIs, deprecated features, official guides, and common pitfalls. The impact pass identifies affected files, dependency conflicts, patterns to update, and test coverage. Its plan includes independently testable phases and a rollback strategy.

During implementation, the workflow runs tests after every change and stops when they fail. Use --phase N, --dry-run, --rollback, or --parallel to run one phase, plan without changes, execute a rollback, or run old and new versions side by side. Dependency conflicts and deprecated APIs are a reason to start with --dry-run.

What it helps with

  • upgrade a framework version
  • move code from one technology to another
  • find files that use deprecated APIs
  • split a migration into testable phases
  • review database migration changes

Example prompts for the agent

  • Run /migrate React 17 → 18
  • Create a plan with /migrate MongoDB → PostgreSQL --dry-run
  • Run the first phase: /migrate Python 3.9 → 3.12 --phase 1

How to install migrate

1Skills CLI (Vercel)

npx skills add parcadei/Continuous-Claude-v3 --skill migrate -a claude-code

2Manually: put the files in place

~/.claude/skills/migrate/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/migrate/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about migrate

How do I install migrate in Claude Code?

Run npx skills add parcadei/Continuous-Claude-v3 --skill migrate -a claude-code, then run npx skills add parcadei/Continuous-Claude-v3 --skill migrate -a claude-code again. The skill file is located at ~/.claude/skills/migrate/SKILL.md.

What does migrate do?

It coordinates target research, codebase impact analysis, phased planning, implementation, and migration review. The workflow uses oracle, phoenix, plan-agent, kraken, and surveyor subagents.

How can I run a single migration phase?

Add --phase N, where N selects the phase. Use --dry-run when you want a plan without implementation changes.

Source text

SKILL.md · MIT
---
name: migrate
description: Migration workflow - research → analyze → plan → implement → review
---

# /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

```
┌──────────┐    ┌──────────┐    ┌────────────┐    ┌──────────┐    ┌───────────┐
│  oracle  │───▶│ phoenix  │───▶│   plan-    │───▶│  kraken  │───▶│ surveyor  │
│          │    │          │    │   agent    │    │          │    │           │
└──────────┘    └──────────┘    └────────────┘    └──────────┘    └───────────┘
  Research       Analyze          Plan             Implement       Review
  target         current          migration        changes         migration
```

## Agent Sequence

| # | Agent | Role | Output |
|---|-------|------|--------|
| 1 | **oracle** | Research target framework/version | Research report |
| 2 | **phoenix** | Analyze current codebase for migration impact | Impact analysis |
| 3 | **plan-agent** | Create phased migration plan | Migration plan |
| 4 | **kraken** | Implement migration changes | Code changes |
| 5 | **surveyor** | Review migration for completeness | Migration review |

## 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

```
Task(
  subagent_type="oracle",
  prompt="""
  Research migration target: [TARGET]

  Investigate:
  - Breaking changes from current version
  - New APIs and patterns
  - Deprecated features we use
  - Migration guides from official docs
  - Common pitfalls and solutions

  Output: Migration research report
  """
)
```

### Phase 2: Analyze Current State

```
Task(
  subagent_type="phoenix",
  prompt="""
  Analyze codebase for migration: [FROM] → [TO]

  Identify:
  - Files using deprecated APIs
  - Dependency conflicts
  - Patterns that need updating
  - Test coverage of affected areas
  - Risk areas (critical paths)

  Output: Impact analysis with affected files
  """
)
```

### Phase 3: Plan Migration

```
Task(
  subagent_type="plan-agent",
  prompt="""
  Create migration plan: [FROM] → [TO]

  Research: [from oracle]
  Impact: [from phoenix]

  Plan should:
  - Be phased (incremental if possible)
  - Each phase independently testable
  - Include rollback strategy
  - Prioritize critical path stability

  Output: Phased migration plan
  """
)
```

### Phase 4: Implement

```
Task(
  subagent_type="kraken",
  prompt="""
  Implement migration phase: [PHASE_N]

  Plan: [from plan-agent]

  Requirements:
  - Follow plan exactly
  - Run tests after each change
  - Document any deviations
  - Stop if tests fail

  Output: Completed phase with test results
  """
)
```

### Phase 5: Review Migration

```
Task(
  subagent_type="surveyor",
  prompt="""
  Review migration: [FROM] → [TO]

  Check:
  - All deprecated APIs replaced
  - No remaining compatibility shims
  - Tests passing
  - Performance acceptable
  - No security regressions

  Output: Migration review report
  """
)
```

## Migration Types

### Framework Upgrade
```
User: /migrate React 17 → 18
→ Full workflow with hooks/concurrent mode changes
```

### Language Version
```
User: /migrate Python 3.9 → 3.12
→ Focus on new syntax, removed features
```

### Database Migration
```
User: /migrate MongoDB → PostgreSQL
→ Schema design, data transformation, query rewrite
```

### Infrastructure
```
User: /migrate AWS → GCP
→ Service mapping, config translation
```

## Example

```
User: /migrate from Express to Fastify

Claude: Starting /migrate workflow: Express → Fastify

Phase 1: Researching Fastify...
[Spawns oracle]
Key differences:
- Schema-based validation (vs middleware)
- Plugin architecture
- Async/await native
- Different middleware pattern

Phase 2: Analyzing current Express usage...
[Spawns phoenix]
Impact analysis:
- 23 route files to update
- 8 middleware to convert
- 3 plugins need Fastify equivalents
- Test coverage: 78%

Phase 3: Creating migration plan...
[Spawns plan-agent]

Migration Plan: Express → Fastify
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Phase 1: Setup & Core
- Add Fastify alongside Express
- Migrate core server setup
- Run both in parallel

Phase 2: Routes (by domain)
- Migrate auth routes
- Migrate user routes
- Migrate product routes
- ...

Phase 3: Middleware
- Convert error handler
- Convert auth middleware
- Convert logging

Phase 4: Cleanup
- Remove Express
- Remove compatibility layer
- Final testing

Rollback: Keep Express until Phase 4 complete

Phase 4: Implementing Phase 1...
[Spawns kraken]
✅ Fastify server running alongside Express
✅ Core routes migrated
✅ Tests passing

[Continues through phases...]

Phase 5: Reviewing migration...
[Spawns surveyor]
✅ All Express code removed
✅ 23/23 routes migrated
✅ Performance improved (2.1x faster)
✅ No security regressions

Migration complete! Express → Fastify
```

## Incremental Migration

For large codebases, run one phase at a time:

```
User: /migrate React 17 → 18 --phase 1
[Runs only Phase 1]

User: /migrate React 17 → 18 --phase 2
[Runs Phase 2, reads previous handoff]
```

## Flags

- `--phase N`: Run specific phase only
- `--dry-run`: Plan without implementing
- `--rollback`: Execute rollback plan
- `--parallel`: Run new alongside old (strangler fig)

© parcadei · MIT · parcadei/Continuous-Claude-v3

Similar skills

All skills for Agent setup: memory, context, orchestration →

migrate by other authors comes first.

migrate Alireza Rezvani Moves Cypress or Selenium tests to Playwright. Use it when an existing test suite needs file-by-file conversion and checks after each change. 1,586installs migrate toss Reads your lodash code and shows how to swap each function for es-toolkit or es-toolkit/compat. Handy when the bundle needs to shrink. CX Codex +1 313installs migrate codewithmukesh Step-by-step workflow for EF Core schema migrations, .NET version upgrades, and NuGet package updates with rollback checks. CX Codex +1 2,800installs migrate launchdarkly Walks an app with hardcoded prompts through a five-stage move to LaunchDarkly AgentControl, pausing for your confirmation at each stage. CX Codex +1 1,800installs migrate incluud Plans and runs a move to Astro or an Astro version upgrade. Useful when an existing app has to be taken apart piece by piece instead of rewritten blind. CX Codex +1 363installs migrate-dotnet10-to-dotnet11 dotnet Systematically migrates .NET 10 solutions to .NET 11. It updates target frameworks, bumps dependencies, and resolves C# 15 compiler and EF Core 11 breaking changes. CX Codex +1 3,400installs migrate-dotnet8-to-dotnet9 dotnet A skill that walks a project from net8.0 to net9.0: updates the TargetFramework, then works through build errors and behavioral changes in .NET 9, C# 13, ASP.NET Core 9 and EF Core 9. CX Codex +1 3,400installs tsdown-migrate rolldown A skill that walks a TypeScript library from tsup to tsdown: option mappings, config transformation rules, default differences and replacements for removed options. CX Codex +1 388installs convex-migrate-rehearse convex Runs a schema change and backfill on a snapshot-seeded preview deployment, then promotes the proven migration to prod. CX Codex +1 35,900installs sandbox-migrate-to-next cloudflare Skill guides migration of Cloudflare Sandbox applications from the stable @cloudflare/sandbox package to the prerelease @cloudflare/sandbox@next (SDK 1.0). Use it when preparing code for the future stable release. CX Codex +1 67,700installs migrate-to-rust official google Migrates legacy C++, Fortran, Java, and Python codebases to safe Rust with telemetry benchmarks. CX Codex 538installs

From the same set69

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor