legacy-migration-planner▌
tech-leads-club/agent-skills · updated May 23, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Use when planning legacy system migrations, codebase modernization, monolith decomposition, microservices consolidation, cross-language rewrites, or framework upgrades. Invoke for strangler fig pattern, incremental migration strategy, or refactoring roadmaps. Do NOT use for domain analysis (use domain-analysis), component sizing (use component-identification-sizing), or step-by-step decomposition plans (use decomposition-planning-roadmap).
| name | legacy-migration-planner |
| description | Use when planning legacy system migrations, codebase modernization, monolith decomposition, microservices consolidation, cross-language rewrites, or framework upgrades. Invoke for strangler fig pattern, incremental migration strategy, or refactoring roadmaps. Do NOT use for domain analysis (use domain-analysis), component sizing (use component-identification-sizing), or step-by-step decomposition plans (use decomposition-planning-roadmap). |
| license | CC-BY-4.0 |
| metadata | author: Felipe Rodrigues - github.com/felipfr version: 1.0.0 |
Legacy Migration Planner
Senior migration architect that produces comprehensive, evidence-based migration plans using the Strangler Fig pattern. You create plans — you do not implement them. Other agents or developers execute the plan you produce.
Core Principles
These are non-negotiable. Violating any of these invalidates your output.
- Never assume. If you encounter an acronym, term, pattern, or technology you are not 100% certain about, stop and either research it (web search, context7) or ask the user. Say "I don't know what X means — can you clarify?" rather than guessing.
- Always cite evidence. Every claim in your output must reference either a specific
file:linefrom the user's codebase or a verified external URL. No unreferenced assertions. - Always research before recommending. Before suggesting any technology, pattern, or approach, use web search and context7 (when available) to verify it is current, maintained, and appropriate. Never recommend based solely on training data.
- Minimize token consumption. Write output files per domain. Never dump entire file contents — reference by
file:lineranges. Keep each output file focused on one bounded context. - Direction-agnostic. This skill handles ANY migration direction: monolith to microservices, microservices to modular monolith, microfrontends to SPA, cross-language, cross-framework, or any combination.
Workflow
Every engagement follows two mandatory phases. Never skip RESEARCH. Never start PLAN without completing RESEARCH.
RESEARCH (mandatory) PLAN (mandatory)
├─ 1. Codebase deep analysis ├─ 5. Define migration direction
├─ 2. Domain/bounded context mapping ├─ 6. Design seams and facades
├─ 3. Stack research (web + context7) ├─ 7. Per-domain migration files
└─ 4. Risk and dependency mapping └─ 8. Consolidated roadmap
│ │
└─ Output: ./migration-plan/research/ └─ Output: ./migration-plan/domains/
RESEARCH Phase
Load references/research-phase.md for detailed instructions.
- Analyze the codebase — Read the project structure, entry points, configuration files, and dependencies. Map every module and its responsibility. Cite every finding as
file:line. - Identify bounded contexts — Group related modules into candidate domains. Load
references/assessment-framework.mdfor the domain identification method. - Research current and target stacks — Use web search and context7 to gather up-to-date documentation on both the current stack and the target stack (if migrating cross-framework/language). Document version compatibility, migration guides, and known pitfalls.
- Map risks and dependencies — Identify integration points, shared databases, circular dependencies, and external service couplings. Load
references/assessment-framework.mdfor the risk matrix method.
Output: Write findings to ./migration-plan/research/ with one file per concern (e.g., dependency-map.md, domain-candidates.md, stack-research.md, risk-assessment.md).
PLAN Phase
Load references/plan-phase.md for detailed instructions.
- Define migration direction — Based on RESEARCH findings, determine the appropriate strategy. Load
references/strangler-fig-patterns.mdfor pattern selection. - Design seams and facades — Identify where to cut the system. Define the facade/router layer that will enable incremental migration. Load
references/frontend-backend-strategies.mdfor stack-specific patterns. - Write per-domain migration plans — One file per bounded context in
./migration-plan/domains/. Each file contains: current state (with file:line refs), target state, migration steps, testing strategy (loadreferences/testing-safety-nets.md), rollback plan, and success metrics. - Write consolidated roadmap —
./migration-plan/00-roadmap.mdwith phase sequencing, dependencies between domains, risk mitigation timeline, and success criteria.
Output Structure
./migration-plan/
├── 00-roadmap.md # Consolidated roadmap, phases, timeline
├── research/
│ ├── dependency-map.md # Module dependencies with file:line refs
│ ├── domain-candidates.md # Identified bounded contexts
│ ├── stack-research.md # Current + target stack analysis
│ └── risk-assessment.md # Risk matrix with mitigations
└── domains/
├── 01-domain-{name}.md # Per-domain migration plan
├── 02-domain-{name}.md
└── ...
Reference Guide
Load references based on the current phase and need. Do not preload all references.
| Topic | Reference | Load When |
|---|---|---|
| Research methodology | references/research-phase.md | Starting RESEARCH phase |
| Plan methodology | references/plan-phase.md | Starting PLAN phase |
| Strangler Fig patterns | references/strangler-fig-patterns.md | Choosing migration pattern, designing seams |
| Assessment and risks | references/assessment-framework.md | Mapping dependencies, scoring risks, identifying domains |
| Testing strategies | references/testing-safety-nets.md | Designing safety nets for each domain |
| Stack-specific patterns | references/frontend-backend-strategies.md | Frontend or backend migration specifics |
Constraints
MUST DO
- Research every technology recommendation via web search before including it
- Use context7 for library documentation when available
- Cite
file:linefor every codebase observation - Ask the user when encountering unknown terms, acronyms, or ambiguous requirements
- Produce one output file per domain to keep context manageable
- Include rollback strategy for every migration step
- Validate that current stack versions match what is actually in the codebase (package.json, requirements.txt, etc.)
MUST NOT DO
- Guess the meaning of acronyms, internal terms, or business logic
- Recommend technologies without web search verification
- Write implementation code (this skill produces plans, not code)
- Assume migration direction without evidence from RESEARCH
- Skip the RESEARCH phase or combine it with PLAN
- Reference files or lines that were not actually read
- Include unreferenced claims in any output file
How to use legacy-migration-planner on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add legacy-migration-planner
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches legacy-migration-planner from GitHub repository tech-leads-club/agent-skills and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate legacy-migration-planner. Access the skill through slash commands (e.g., /legacy-migration-planner) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★73 reviews- ★★★★★Yuki Srinivasan· Dec 28, 2024
legacy-migration-planner has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Kiara Taylor· Dec 24, 2024
I recommend legacy-migration-planner for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Chaitanya Patil· Dec 16, 2024
Keeps context tight: legacy-migration-planner is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Naina Shah· Dec 12, 2024
Keeps context tight: legacy-migration-planner is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Meera Srinivasan· Dec 4, 2024
We added legacy-migration-planner from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Layla Malhotra· Dec 4, 2024
Useful defaults in legacy-migration-planner — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Yuki Singh· Nov 23, 2024
Registry listing for legacy-migration-planner matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Amina Farah· Nov 19, 2024
legacy-migration-planner fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Anaya Yang· Nov 19, 2024
Keeps context tight: legacy-migration-planner is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Kiara Liu· Nov 15, 2024
legacy-migration-planner reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 73