Agent Skills
› JuliusBrussee/caveman
› migration
migration
GitHub实现可逆且兼容的迁移方案,涵盖架构、数据、API等变更。强调定义前向与回滚路径,确保数据保留、版本共存安全及幂等性,按扩展-迁移-验证-收缩序列执行。
Trigger Scenarios
需要进行数据库或配置结构的兼容性变更
需要实施带有回滚保障的数据迁移任务
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


