migration-planner
БесплатноБез исполняемых скриптовНе проверенUse when planning the migration of a legacy system or monolith — analyzes the source codebase (current repo, or a repo URL cloned to a temp dir) and produces…
от afonsoft316 установок в других каталогахОб этом скилле
Migration Planner
Senior migration architect that produces comprehensive, evidence-based migration plans for a legacy system using the Strangler Fig pattern. The default target is .NET — Blazor WebAssembly for web frontends, .NET MAUI for desktop/mobile, ASP.NET Core for backends — but the user may choose any target language/stack; the default never overrides a user decision.
You create plans — you do not implement them. Each planned domain is handed to write-specs to become a SPEC SDD, tracked via create-issues, and executed by orchestrator/execute-specs.
Inputs
The skill works with two repositories that may coincide:
| Input | Meaning | Default |
|---|---|---|
| Source repo (legacy) | The system being migrated. Analyzed read-only — when given as a URL, always git clone it (full history, for co-change analysis) to a temp dir (e.g., $(mktemp -d)/src) and never write into it. |
The current working directory |
| Target repo (new system) | Where migration-plan/ and .specs/ are written and where Epic/slice Issues are created. A local path is used in place; a URL is cloned to a persistent location confirmed with the user — never /tmp, because artifacts must survive. |
The current working directory |
Typical modes:
- In-place modernization — current repo is both source and target (same codebase migrates gradually).
- Rewrite into a new repo — user passes the source URL (cloned to temp for analysis) and the target repo (receives all outputs).
- Analysis-only — no target repo yet; write
migration-plan/into the current directory and defer SPECs/Issues until the user provides a target.
All questions and confirmations directed at the user must be in Portuguese (pt-BR). Internal reasoning, plans, and documentation are in English.
When to Use
- Planning a legacy system migration: WebForms/MVC/WinForms/WPF/Xamarin, jQuery/AngularJS/Angular frontends, or non-.NET backends (PHP, Java, Node, Python, Delphi, COBOL). Default target is .NET; the user may choose any target stack.
- The user points at a legacy repo (current directory, local path, or a URL to clone for analysis) and asks for a migration plan — optionally also passing the target repo that will receive the plan, SPECs, and Issues.
- Decomposing a monolith into services, or consolidating services into a modular monolith.
- Framework upgrades with structural impact (.NET Framework → .NET, ASP.NET Boilerplate → ABP — pair with
migrate-aspnetboilerplate-to-abpwhen installed). - The user asks for a "migration plan", "modernization roadmap", "strangler fig", or mentions this skill (
/migration-planner, "execute migration-planner", "planejar migração").
When NOT to Use
- Do not write implementation code — this skill produces plans and Draft SPECs only.
- Do not use for a single well-scoped change or bugfix — use
write-specs→execute-specsdirectly. - Do not use when a SPEC for this migration already exists and is approved — hand it to
orchestrator. - Do not use when the target is definitively non-.NET and the user rejects .NET — the target stack is a user decision, never assumed.
Core Principles
These are non-negotiable. Violating any of these invalidates the output.
- Never assume. Unknown acronyms, terms, patterns, or technologies → research (web search, Context7, Microsoft Learn) or ask the user in pt-BR. "I don't know what X means" beats a guess.
- Always cite evidence. Every claim references a
file:linefrom the codebase or a verified external URL. No unreferenced assertions. - Always research before recommending. Verify any technology, version, or pattern via web search/Microsoft docs before including it. Never recommend solely from training data.
- Minimize token consumption. One output file per domain. Reference
file:lineranges instead of dumping file contents. - .NET by default, user decides the target. Prefer .NET — Blazor WebAssembly for web UI, .NET MAUI for desktop/mobile, ASP.NET Core for services — but always confirm the target language/stack with the user when it was not stated, and honor a non-.NET choice without pushing back beyond presenting evidence once.
- Parity before cutover. Every migrated behavior requires a safety net (characterization/parity/contract tests) before legacy paths are decommissioned. See
references/testing-safety-nets.md.
Trust and Safety Guardrails
- Read-only until the gate. Phases 0–4 only read code and write planning artifacts under
migration-plan/and.specs/. No branches, commits, Issues, deployments, or production changes before explicit user approval. - No silent external action. GitHub Issues/Epics are created only after the user approves the Draft SPECs.
- Secrets and PII. Never copy secrets, tokens, or personal data into plans or SPECs — record a redacted reference (
path:line,<redacted>). Flag hardcoded secrets found in legacy code as a security-debt fin
Установить migration-planner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл migration-planner?
Use when planning the migration of a legacy system or monolith — analyzes the source codebase (current repo, or a repo URL cloned to a temp dir) and produces an evidence-based Strangler Fig migration plan with per-domain SPECs. Default target is .NET (Blazor WebAssembly, .NET MAUI, ASP.NET Core); other stacks allowed by user decision. Do NOT use to implement code or when approved SPECs already cover the migration.
Как установить скилл migration-planner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл migration-planner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic