Migration

作者 juliusbrussee2e08b9177c07無授權條款110K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Implement reversible compatibility-safe transitions. Use for schema, data, API, protocol, configuration, or dependency migrations requiring rollback and preservation proof.

AI 產生的概覽

指導可回復、相容性安全的遷移,涵蓋結構、資料、API、協定、設定或相依性。

功能
此技能提供規劃與執行可回復遷移的說明,涵蓋結構、資料、API、協定、設定與相依性變更。它要求代理在編輯前梳理目前的讀取端、寫入端、資料形態、相容視窗與歸屬,並定義正向路徑與回復路徑。它強調保留現有資料、確保混合版本運作安全、依擴展-遷移-驗證-收縮排序、重試具冪等性、部分失敗可觀測,以及驗證新舊路徑。
適用情境
當變更需要遷移並具備回復與保留證明時使用,例如結構、資料、API、協定、設定或相依性的轉換。它適用於版本可能重疊的發布,以及破壞性步驟需要單獨授權的情境。
執行需求
不附帶指令碼,僅為說明性內容。它依賴代理自身的環境與工具來執行具體遷移。

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.

來源與署名

來源:juliusbrussee/caveman位於skills/migration提交2e08b91

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架