Communitygithub.com

移行

ロールバックと保存の証明を必要とするスキーマ、データ、API、プロトコル、設定、依存関係の移行において、後方互換性のある安全なトランジションを実装します。

移行 とは?

このスキルは、開発者やAIエージェントが、複数のシステム間でのデータ、スキーマ、API、プロトコル、設定、依存関係などの移行を安全かつ可逆的に行うためのガイドラインを提供します。主な目的は、ダウンタイムやデータ損失のリスクを最小限に抑え、移行中も新旧両方のシステムが共存できるようにすることです。 スキルは、移行を順次実行するアプローチ(Expand-Migrate-Contractパターンなど)を推奨し、フォワードパス(新しい状態への移行)とロールバックパス(古い状態への復帰)の両方を定義することを必須としています。また、データの破壊的な変更は明示的に分離し、承認を必要とすること、移行の進行中は新旧両方のバージョンが安全に動作できるようにすること、再試行が冪等であること、部分的な障害が観測可能であることを要求します。 現在の読者(リーダー)と書き手(ライター)、データ構造、互換性ウィンドウ、所有権を明確にした上で編集作業を開始するよう促し、移行の各段階で新旧両方のパスを検証することを推奨します。最後に、要求された段階が完了したら処理を停止し、後続の破壊的な収縮段階を暗黙的に実行しないことを強調しています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JuliusBrussee/caveman/tree/main/skills/migration

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

移行 は何をしますか?

編集を開始する前に、現在のリーダー、ライター、データ構造、互換性ウィンドウ、所有権をマッピングします。

  • フォワードパスとロールバックパスを定義します。
  • 既存のデータを保持し、破壊的な手順は明示的に分離し、個別に承認を得ます。
  • ロールアウトが重複する可能性がある場合、混在バージョンでの運用を安全に保ちます。
  • 可能な場合、拡張(expand)、移行(migrate)、検証(verify)、収縮(contract)の順に実行します。
  • 再試行は冪等にし、部分的な障害を観測可能にします。
  • 必要な移行段階で、新旧両方のパスを検証します。

要求された段階が完了したら停止し、後続の破壊的な収縮を暗黙的に実行しないでください。

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

JuliusBrussee/caveman-discover

Find and label every LLM workflow in the repository so Caveman Cloud groups spend by workflow instead of one bucket. Use for "discover workflows" or breaking LLM spend down by workflow.

JuliusBrussee/caveman-evidence-review

Read-only review of Caveman Cloud evidence: cost, Cave Score, workflows, traces, latency, errors, routing, savings. Use when asked what Caveman found or where LLM spend goes.

JuliusBrussee/caveman-explore

Read-only repository explorer for cold-start orientation, broad cross-file localization, or when a direct search failed. Skip it when the exact file or symbol is already named. Returns path:line citations only; its reads stay out of main context.

JuliusBrussee/caveman-learn

Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned. Use when asked to lower an agent's token cost, what caveman has saved, to trim a heavy CLAUDE.md, or to offload re-pasted context into cavemem.

JuliusBrussee/caveman-manage

Inspect Caveman Cloud's experiment lifecycle and block unsafe execution. Use when asked to start, approve, cancel, promote or roll back a Caveman experiment.

JuliusBrussee/caveman-optimize

Turn a Caveman optimization observation into an operator-chosen candidate with a paired baseline evaluation. Use when asked to inspect or evaluate a Caveman optimization report. Needs explicit approval.

JuliusBrussee/caveman-setup

Wire a repository through the Caveman Cloud gateway so every LLM request is measured, with no behavior change. Use for "set up caveman" or adding LLM spend observability.

JuliusBrussee/investigate-first

Diagnose ambiguous failures before editing. Use for unknown causes, intermittent behavior, performance regressions, or investigations needing evidence-ranked hypotheses.

JuliusBrussee/lean-build

Build feature work with high overbuilding risk. Use for new behavior, product slices, or integrations where repository reuse, strict scope, and an explicit stop condition matter.

JuliusBrussee/safe-refactor

Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.

JuliusBrussee/surgical-patch

Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.

JuliusBrussee/verify-and-stop

Prove existing work meets acceptance conditions without expanding scope. Use for validation-only tasks, completion checks, focused gate runs, and last-mile proof.

関連スキル