Agent Skills
› JuliusBrussee/caveman
› migration
migration
GitHub指导执行可逆、兼容的数据迁移,涵盖模式、API及配置变更。强调定义前后路径、保留数据、确保混合版本安全及幂等重试,防止破坏性操作。
Trigger Scenarios
需要迁移数据库表结构或数据
调整 API 接口版本并需保持向后兼容
更新系统配置或依赖项且要求支持回滚
Install
npx skills add JuliusBrussee/caveman --skill migration -g -y
SKILL.md
Frontmatter
{
"name": "migration",
"description": "Implement reversible compatibility-safe transitions. Use for schema, data, API, protocol, configuration, or dependency migrations requiring rollback and preservation proof."
}
Migration
Map current readers, writers, data shape, compatibility window, and ownership before editing.
- Define forward path and rollback path.
- Preserve existing data; make destructive steps explicit and separately authorized.
- Keep mixed-version operation safe where rollout can overlap.
- Sequence expand, migrate, verify, then contract when applicable.
- Make retries idempotent and partial failure observable.
- Verify old and new paths at required transition stages.
Stop after requested stage passes; do not perform later destructive contraction implicitly.
Version History
- 12aa8cc Current 2026-08-16 08:55


