Code Migration Plan Prompt Template
Create a phased migration plan for moving between frameworks, databases, or architectures with minimal downtime.
The Prompt
Make it specific to you
PromptITIN asks a few questions and builds a version tailored to your use case.
How to use this template
Copy the template
Click the copy button to grab the full prompt text.
Fill in the placeholders
Replace anything in [BRACKETS] with your specific details.
Paste into any AI tool
Works with ChatGPT, Claude, Gemini, Cursor, and more.
Or enhance with AI
Sign in to PromptITIN and let AI tailor the prompt to your exact situation in seconds.
Why this prompt works
The 'go/no-go decision gate' requirement is what prevents migration plans from being aspirational slide decks — each gate forces the team to define success criteria before starting a phase, not after something goes wrong. The rollback-must-be-tested-in-the-phase rule prevents the most common migration incident cause.
Tips for best results
- Run a dry migration in a staging environment that has a recent production data snapshot before touching production — most surprises appear in staging first
- Phase 0 (prerequisites) is usually underestimated — give it 2x the time you think it needs, especially if it involves access, credentials, or cross-team dependencies
- The strangler fig approach works best when you can add a routing layer — if you can't add a proxy without downtime, the migration plan needs to start with adding that capability
- Assign a migration DRI (directly responsible individual) before starting — migrations stall when ownership is diffuse