Migration Plan Writer
Plan an incremental schema migration with compatibility and recovery checks.
Get ordered phases, validation queries, cutover criteria and rollback limits.
Free · 2 KB · SKILL.md, instructions and example files. Provide before/after schemas, database engine, volume, deployment model and recovery constraints.
A worked example
A small example to try before using your own data.
Input
{
"before": "users.full_name TEXT NOT NULL",
"after": "users.display_name TEXT NOT NULL",
"rolling_deploy": true
}Expected result
1 Add nullable display_name. 2 Deploy dual-write/read-fallback behavior. 3 Backfill in resumable primary-key batches. 4 Verify no missing or divergent values. 5 Switch reads. 6 Remove full_name only after old readers are gone and a verified recovery path exists.
What to check: A rename alone would break old readers. Include a check and rollback condition before every irreversible phase.
Limits: The plan is not a guarantee of zero downtime. Engine-specific locks and recovery behavior require testing on a representative environment.
Worked example included. Model-specific performance and vendor compatibility have not been benchmarked.
🧠 Why it works
A rename alone would break old readers. Include a check and rollback condition before every irreversible phase.
⚙️ How it works
- Identify destructive changes, lock risks, old/new application compatibility and the required recovery point.
- Prefer expand, backfill, validate, switch and contract phases where both application versions need to coexist.
- Define small resumable batches, stable checkpoints and reconciliation queries for any data backfill.
- State rollback behavior for each phase, including when rollback requires restoring or replaying data.
- Keep the output as a plan until the user has authorized the actual migration and the target is verified.
Description
Get ordered phases, validation queries, cutover criteria and rollback limits.
Provide before/after schemas, database engine, volume, deployment model and recovery constraints.
Limits: The plan is not a guarantee of zero downtime. Engine-specific locks and recovery behavior require testing on a representative environment.
Recommended Use
Sign in to suggestTools and workflow packs this skill pairs well with. Forge picks are auto-generated from category + capability signals; Community picks are added by people who've used the pairing.
No matches yet. Be the first to suggest a pairing, or the Forge will populate suggestions as signals align.
Report compatibility
Tell the community which tool you used this skill with, and whether it worked.
Suggest a pairing
Recommend a tool or workflow pack that this skill works well with. Up to 5 recommendations per day.