migration-plan

Generates phased migration and refactoring plans with dependency analysis, risk inventory, and rollback strategy.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/real-case/marvin-toolkit --skill migration-plan-real-case
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: migration-plan
Source: https://github.com/real-case/marvin-toolkit/tree/main/plugins/marvin/skills/migration-plan
Command: npx skills add https://github.com/real-case/marvin-toolkit --skill migration-plan-real-case

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Large-scale migrations and refactors often fail because teams start coding before understanding the blast radius, dependencies, and rollback options. This Skill produces a structured, reviewable migration plan before any code is touched. ## Core Features & Use Cases - Impact Analysis: Maps all affected files, modules, and external dependencies using codebase search, and checks test coverage of affected areas. - Structured Plan Template: Produces a markdown plan covering prerequisites, phased steps with per-step risk and reversibility, breaking changes, rollback strategy, testing strategy, and timeline estimates. - Risk Review: Highlights the highest-risk steps and recommends incremental rollout over big-bang migration, including feature flags and multi-PR splits. - Use Case: Before upgrading a framework version or swapping a database, ask for a migration plan and receive a step-by-step document you can review, adjust, and execute incrementally. ## Quick Start Ask the assistant to plan the migration from your current framework version to the target version, including dependency analysis and a rollback strategy.

Frequently Asked Questions about migration-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a large-scale code migration or refactor?▼

Start with an impact analysis that maps all affected files and dependencies, then break the work into phased, independently deployable steps. Each step should have a risk rating, reversibility note, and verification checkpoint before execution begins.

What should a migration plan document include?▼

A migration plan should include an overview of current and target states, impact analysis, prerequisites, phased steps with risk levels, breaking changes, a rollback strategy, a testing strategy, and timeline estimates. The rollback strategy is the most critical section.

Should I do an incremental migration or a big-bang rewrite?▼

Incremental migration is preferred whenever possible because each step stays independently deployable and reversible. Big-bang approaches concentrate risk and make rollback difficult, so reserve them for cases where incremental paths genuinely do not exist.

How do I handle irreversible steps like destructive database migrations?▼

Flag any irreversible step explicitly in the plan and define the point after which rollback is no longer possible. Use backups, expand-and-contract schema patterns, and feature flags to keep destructive changes recoverable for as long as possible.

When should I not use a formal migration plan?▼

Skip the full planning process for small, localized changes with obvious scope and easy reverts, where the planning overhead exceeds the risk. The plan format is designed for cross-cutting work like framework upgrades, database swaps, and API versioning.