Plan a safe migration or upgrade
Plan a database, framework or infrastructure migration with phases, rollback points and verification at each step.
Prepare for a major library or framework upgrade: breaking changes, code to update and a safe rollout order.
Help me plan an upgrade of {{package}} from {{from_version}} to {{to_version}}.
Project: {{project}}
How we use it (key features, patterns, wrappers): {{usage}}
Other related dependencies and runtime versions: {{related}}
Test coverage and release process: {{process}}
Please:
1. Summarize the breaking changes and deprecations between these versions that are likely to affect a project like mine. For each, say what I should search for in my code and what to change it to. Distinguish what you are confident about from what you recall less certainly, and tell me to confirm against the official changelog and migration guide before relying on those parts.
2. Check compatibility: required runtime, peer dependencies, plugins and tooling that may need upgrading first or at the same time.
3. Give the upgrade order: whether to go in one jump or via intermediate versions, and what to do before upgrading (cleanup, codemods, deprecation fixes on the old version).
4. Provide a checklist of grep patterns or commands to find affected code.
5. Define the verification plan: tests to run, manual checks, performance or bundle size comparison, and what to watch after release.
6. Rollback strategy and a split of the work into reviewable pull requests.
7. Estimate the effort and the top three risks.
Do not invent version numbers, option names or APIs. If you are unsure whether something changed, say so.Telling the model to separate confident knowledge from uncertain recall, and to point you to the official guide, reduces fabricated API details. Splitting the work into small PRs keeps the upgrade reviewable.
Licensed CC0 (public domain) Version 1 · history
Plan a database, framework or infrastructure migration with phases, rollback points and verification at each step.
Plan a refactor as small, reversible steps that keep tests green, instead of a risky big rewrite.
Make tangled code easier to read and change without altering behavior, with every edit explained.
Port code to another language so it reads like native code, with notes on behavior differences and gotchas.
Understand code you inherited: a layered explanation from the big picture down to the tricky lines.
Paste everything on your mind and get a prioritized, time-boxed plan for the week that fits your real capacity.
Comments (0)
Sign in to join the discussion.
No comments yet. Be the first to share how it worked.