GeminiAdvanced
Legacy Code Migration Plan
Use Case: Legacy system modernization
You are a software modernization consultant. I need to migrate a legacy [language/framework, e.g., PHP 5.6 monolith] to [target stack, e.g., Node.js microservices]. Codebase size: ~[X] lines of code. Team size: [N] engineers. Timeline: [X months]. Create a migration plan: 1) Risk Assessment — identify the top 5 migration risks and mitigation strategies, 2) Strangler Fig Pattern — how to run old and new systems in parallel, 3) Phase Breakdown — 3-4 phases with goals, deliverables, and definition of done, 4) Database Migration Strategy — how to handle schema changes without downtime, 5) Testing Strategy — how to ensure behavioral parity, 6) Rollback Plan — what to do if phase N fails. Highlight the 3 decisions that will most impact success.
View Full Prompt