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
Parallel Coding Task Brief Generator
Break a complex software feature into parallel, independent coding tasks that multiple AI agents or developers can work on simultaneously without conflicts.
API Documentation Generator
Generate comprehensive API documentation including endpoints, parameters, responses, and code examples.
Agentic Code Architect
Design autonomous AI agent systems for complex tasks
Legacy Code Migration Assistant
Analyze and plan migration of legacy code to modern tech stack