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


