Skip to main content

Claude/ChatGPT Prompt to Produce a Legacy-to-Modern Migration Plan

Low-risk migration plan from a legacy stack to a modern one: strangler-fig phases, data strategy, rollback, and a week-by-week schedule.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt

                                

What this prompt does

This prompt frames the model as a senior engineer who has migrated production systems without an outage, producing a pragmatic phased plan from your [current_stack] to your [target_stack]. You provide both stacks plus [team_size] and [timeline], and it returns a strangler-fig versus big-bang recommendation, a phased rollout with measurable exit criteria, a data strategy, an observability and rollback plan, ranked risks, and a week-by-week schedule.

The structure works because it refuses generic advice and ties everything to your specifics. The [team_size] and [timeline] variables shape the recommendation — a small team on a tight timeline gets different guidance than a large one with runway — and the data section forces a real answer on dual-writes, backfill, and cutover rather than hand-waving. Crucially, it demands a rollback story for every phase, since cutover and rollback, not new code, are where migrations fail.

The strangler-fig bias runs through the whole plan: shipping in slices keeps the business running while you move, instead of betting everything on a single switch. Each phase carries measurable exit criteria so progress is verifiable rather than vibes-based, and the data section is forced to commit to dual-writes, backfill, and cutover specifics where most plans wave their hands. The request for organizational blockers alongside technical risks reflects a real pattern, that approvals and team capacity stall migrations as often as code does.

When to use it

  • You are moving off a legacy [current_stack] and want a low-risk path.
  • You need a phased plan with concrete exit criteria, not best-practice platitudes.
  • The data migration is non-trivial and needs a dual-write and backfill strategy.
  • You want a rollback plan defined before each phase, not improvised mid-cutover.
  • You need to weigh strangler-fig against big-bang for a [team_size] team.
  • You want a week-by-week schedule mapped to a real [timeline].

Example output

Expect a labelled document: a strangler-fig vs big-bang tradeoff with a recommendation for your [team_size] and [timeline], a phased rollout where each phase has measurable exit criteria, a data-migration section covering dual-writes, backfill, and cutover, an observability and rollback plan per phase, a ranked risk list with mitigations including organizational blockers, and a week-by-week schedule rendered as a table tied to the phases.

Pro tips

  • Describe [current_stack] and [target_stack] precisely; the plan is only as specific as the stacks you name.
  • Set [team_size] and [timeline] honestly, since they drive the strangler-fig vs big-bang call and the schedule's feasibility.
  • Define the rollback for each phase before starting it; a phase you cannot reverse is one you should not ship.
  • Push the model on the data section if it hand-waves dual-writes or backfill, since that is where outages originate.
  • Ask it to surface organizational blockers, not just technical ones; those stall migrations as often as code does.
  • Use the week-by-week table as a living plan and revise exit criteria as phases complete.

Frequently Asked Questions

Does it recommend strangler-fig or big-bang?
It weighs both and gives a clear recommendation tuned to your `[team_size]` and `[timeline]`, rather than defaulting to one. Strangler-fig usually wins because shipping in slices keeps the business running, but the prompt justifies the call for your specific situation.
How detailed is the data migration guidance?
The data section explicitly covers dual-writes, backfill, and cutover rather than generic advice. If the model hand-waves any of these, push back, because data handling and cutover are where most production migrations actually go wrong.
Will the plan account for rollback if a phase fails?
Yes. It requires an observability and rollback plan for every phase, on the principle that a phase you cannot reverse is one you should not ship. This is what keeps the business running while the migration proceeds.
Does it consider non-technical risks?
It does. The risk section asks for likely organizational blockers alongside technical ones, since approvals, team capacity, and competing priorities stall migrations as often as code problems do. Each risk comes with a concrete mitigation.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in ChatGPT Prompts for Developers

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support