migration-planner
Plan and execute migrations: database schema changes, API versioning, breaking changes, and rollback procedures.
- Star
- 709
- 分类
- 数据
- 许可证
- MIT
- 最近提交
- 2026年12月1日
src/alphacode_base/bundled_skills/migration-planner/SKILL.md
在 GitHub 上查看Migration Planner Skill
Safe, reversible migration planning.
Process
- Assess — scope of change, affected systems, data volume
- Plan — step-by-step migration with rollback at each step
- Test — dry-run against production-like data
- Execute — run migration with monitoring
- Verify — validate data integrity post-migration
- 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
相似的 Skill
精选
health
GAgarrytan/gstack143k近 7 天新增 636 个 star
deprecation-and-migration
ADaddyosmani/agent-skills122k近 7 天新增 1,627 个 star
ccs-align
THthedotmack/claude-mem121k近 7 天新增 1,594 个 star
handoff
THthedotmack/claude-mem121k近 7 天新增 1,594 个 star
knowledge-agent
THthedotmack/claude-mem121k近 7 天新增 1,594 个 star