Skip to content
FunCoding

migration-planner

Plan and execute migrations: database schema changes, API versioning, breaking changes, and rollback procedures.

Star
709
Category
Data
License
MIT
Last commit
Dec 1, 2026

src/alphacode_base/bundled_skills/migration-planner/SKILL.md

View on GitHub

Migration Planner Skill

Safe, reversible migration planning.

Process

  1. Assess — scope of change, affected systems, data volume
  2. Plan — step-by-step migration with rollback at each step
  3. Test — dry-run against production-like data
  4. Execute — run migration with monitoring
  5. Verify — validate data integrity post-migration
  6. Clean up — remove old code/tables after bake period

Database Migration Rules

  • Never delete columns/tables in the same deploy as code changes
  • Use expand-contract pattern: add new → migrate data → remove old
  • Backward-compatible schema changes (additive only)
  • Test migrations against a copy of production data
  • Keep rollback scripts for every migration
  • Use transactions for atomic multi-step migrations

API Versioning

  • URL path versioning: /v1/, /v2/ (simplest)
  • Deprecation headers: Sunset, Deprecation
  • Support old version for minimum 6 months after new version
  • Document breaking changes in changelog

Similar Skills

Featured

agentic-os

Build persistent multi-agent systems without external databases, using file-based memory and scheduled tasks.

AFaffaan-m/ECC314k4,125 new stars in the last 7 days

health

GAgarrytan/gstack143k636 new stars in the last 7 days

deprecation-and-migration

ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days

ccs-align

THthedotmack/claude-mem121k1,594 new stars in the last 7 days

handoff

THthedotmack/claude-mem121k1,594 new stars in the last 7 days

knowledge-agent

THthedotmack/claude-mem121k1,594 new stars in the last 7 days