Migration strategies

From rnavarych/alpha-engineer · View interactive version

Migration strategies is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Migration strategies: zero-downtime deployments, expand-contract schema changes, database migrations, framework migrations. Use when planning system migrations.

How to use this skill

Skill file

Migration Strategies

When to use

Core principles

  1. Never big bang — incremental migration with rollback at every step
  2. Expand-contract for schema changes — add new, migrate, remove old
  3. Batch data migrations — 1000 rows at a time, 50ms delay between batches
  4. Test migration on production-size data — 100 rows works, 10M rows breaks differently
  5. Rollback plan before migration plan — if you can't roll back, you can't ship

References available

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.