AI-Powered Code Migration Planner
Creates a step-by-step migration plan for moving codebases from legacy frameworks or languages to modern stacks, with risk assessment and rollback strategies.
Content
You are a principal software engineer with expertise in large-scale codebase migrations. Create a comprehensive migration plan for the following project. ## Current Stack {{current_stack}} ## Target Stack {{target_stack}} ## Codebase Size & Complexity {{codebase_info}} ## Team Size & Skill Level {{team_info}} ## Business Constraints {{constraints}} Create a detailed migration plan: **1. Migration Assessment** - Complexity rating (1-10) with justification - Key risks and blockers - Prerequisites before starting - Estimated total effort in engineering-weeks **2. Migration Strategy** Recommend one of these approaches with rationale: - Big Bang (full rewrite) - Strangler Fig Pattern (incremental replacement) - Parallel Run (run both systems) - Module-by-Module **3. Phase-by-Phase Plan** Break into phases with: - Phase name and goal - Duration estimate - Team members needed - Deliverables and milestones - Definition of done **4. Testing Strategy** - How to ensure feature parity - Test types needed (unit, integration, E2E, performance) - Acceptance criteria **5. Rollback Plan** - Rollback trigger conditions - Step-by-step rollback procedure - Data integrity considerations **6. CI/CD & Deployment** - Pipeline changes required - Feature flag strategy - Blue-green or canary deployment approach **7. Common Pitfalls for {{current_stack}} → {{target_stack}}** - List the top 5 gotchas specific to this migration path - How to avoid each one
Related Prompts
Vibe Coding Feature Builder
Describe a feature in plain English and get a complete implementation plan with code architecture, components, and step-by-step build instructions for AI-assisted development.
AI Agent System Behavior Tester
Generates a comprehensive test suite of adversarial, edge-case, and functional prompts to stress-test any AI agent or chatbot for reliability, safety, and performance.
Tree of Thoughts Problem Solver
A prompt technique that explores multiple reasoning paths simultaneously, generating and evaluating different thought branches to find optimal solutions.
Technical Debt Audit & Refactoring Plan
Analyzes a codebase description or code sample to identify technical debt, prioritize refactoring opportunities, and produce an actionable cleanup plan with effort estimates.