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
API Documentation Generator
Generate comprehensive API documentation including endpoints, parameters, responses, and code examples.
Red Team Security Tester
Act as a red team attacker to identify vulnerabilities in systems, code, or proposals
Edge Case Explorer
Generate comprehensive edge cases and boundary condition tests for any system
Regex Pattern Generator and Explainer
Generates precise regular expressions for any text matching task and explains each component in plain English, with test cases and language-specific implementation code.