跳到正文
FunCoding

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

  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

相似的 Skill

精选

agentic-os

构建持久多智能体系统,无需外部数据库,用文件保存状态,定时执行任务。

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

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