360 Secure SkillHub
360 安全技能中心

migration

该 Skill 提供迁移实施规范:先梳理现有读写方、数据形态、兼容窗口和归属,再定义前进路径与回滚路径;要求保留数据、显式授权破坏性步骤、保证混合版本安全,并按扩展、迁移、验证、收缩排序,支持幂等重试与部分失败可观测,且在请求阶段通过后停止,不擅自执行后续破坏性收缩。

分类:开发
JuliusBrussee
热度 57.18
最近更新 2026-10-18 15:52:56

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add juliusbrussee/caveman/migration
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
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.