Code Migration Planner
Creates a detailed migration plan for moving codebases between frameworks, languages, or architectures — with risk assessment, phased steps, and rollback strategy.
Content
Create a comprehensive code migration plan for the following transition: Migration Context: - From: {{source_stack}} (e.g., React 17 + Redux, PHP Laravel 8, Python 3.8 Django) - To: {{target_stack}} (e.g., Next.js 15 App Router, Node.js Express, Python FastAPI) - Codebase size: {{codebase_size}} (e.g., ~50 files, 20k LOC, monolith with 5 modules) - Team size: {{team_size}} - Deadline/timeline: {{timeline}} - Critical requirements: {{critical_requirements}} (e.g., zero downtime, maintain SEO, preserve user sessions) Deliver: 1. **Executive Summary** — whats changing and why 2. **Risk Assessment** — top 5 risks with severity (High/Medium/Low) and mitigation 3. **Pre-migration checklist** — audit steps before writing a single line 4. **Phased migration plan** — minimum 3 phases with clear milestones and success criteria 5. **Testing strategy** — how to validate each phase without breaking production 6. **Rollback plan** — specific steps to revert if a phase fails 7. **Post-migration cleanup** — deprecating old code, updating docs, team training 8. **Estimated timeline** — breakdown by phase Format as a structured technical document.
Related Prompts
Few-Shot Learning Prompt
Teach AI patterns through examples for better outputs
AI-Powered Unit Test Generator
Generate comprehensive unit tests for any codebase with edge cases and mocking
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.
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.