本文へ移動
cccskills
無料GitHub で公開日本語紹介

handoff

作業の進捗、判断理由、未解決の問題、次の一手を短い引き継ぎ文にまとめます。GitやCIなどの実際の状態を確認し、次のセッションで作業を再開するための記録を残します。

原文原文の説明を見る

Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / 'pass the baton' / 'hand off', or a long-running operation needs a durable state checkpoint.

インストール方法を見る

こんなときに便利

  • セッション終了前の作業引き継ぎ
  • 新しい会話で作業を再開したいとき
  • 長時間作業の途中経過の保存
  • 利用者向けの短い進捗引き継ぎ

日本語での紹介

できること

進行中の作業を次のセッションや利用者へ渡すため、短い引き継ぎ文を作成します。Gitのブランチ、コミット、未保存の変更や、必要に応じたPR・CIの状態をツールで確認し、完了済み・進行中・停止中を区別します。判断の理由、作業を妨げる問題、次に取る一つの行動も記録します。

こんなときに便利

セッションを終える前や、会話が長くなって新しいセッションに移りたいときに向いています。長時間の作業の途中で、変更中のファイルや実行中の処理を含む状態を残したい場合にも使えます。

使い方の例

「現在のGitとCIの状態を確認して、次のセッション向けの引き継ぎを作ってください」 「完了したこと、止まっている理由、次の一手を短いテキストでまとめてください」

注意点

通常の保存先は .codewhale/handoff.md で、資料に記載された実行環境では次のセッションへ読み込まれます。短いテキストのみの依頼では、別途求められない限り全文のMarkdownファイルは作りません。記録はツールの確認結果に基づき、再開時には最新状態を確認します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md4.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Handoff

Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / "pass the baton" / "hand off", or a long-running operation needs a durable state checkpoint. The goal: the durable artifact survives, the context does not need to.

Invocation: model+user

When to use

  • The user says "handoff", "hand off", "pass the baton", "takeover prompt", "write me a handoff", or the session is about to end / compact.
  • A long operation (multi-turn, multi-workstream) has state that must survive context loss: commits, branches, PRs, CI, blockers, decisions.
  • You are switching to a fresh session and want the new session to start from evidence instead of reconstructing the old one.

What to do

  1. Gather the truth from tools, not memory. Run/collect:

    • git branch --show-current, git status --short, git log --oneline origin/<default>..HEAD (what is local-only), git log --oneline -5 (recent context).
    • Live remote state where relevant (gh pr list --state open, gh pr checks <n>, gh run list) — only what the user's operation actually depends on; do not pad the handoff with a full GitHub dump.
    • Any in-flight work: dirty files, uncommitted slices, partial worktrees, running background jobs/workers, queued CI.
  2. Write a compact markdown handoff (aim under ~60 lines; the user may also ask for a "short text-only" variant — then aim under ~15 lines):

    # Handoff — <operation/session name> — <date>
    - **State:** <one-line: what is done vs in-flight vs blocked>
    - **Landed/committed:** <exact SHAs + one-line what>
    - **Branches/PRs:** <names + states; which are ours vs community>
    - **CI:** <what is green, what is waiting, what is broken>
    - **Blockers:** <exact blocker + what would unblock>
    - **Decisions made:** <the WHY that a fresh session must not re-litigate>
    - **Next step:** <the single next action, one line>
    - **Continuation records:** <pointers to partial work that must be
      preserved (worktrees, uncommitted files, receipts)>
    
  3. Persist it. Always write .codewhale/handoff.md in the workspace — that is the only path the runtime reads back. On the next session's first turn it is injected as the "## Previous Session Relay" block (HANDOFF_RELATIVE_PATH, crates/tui/src/prompts.rs:85; loader at prompts.rs:301-315). A handoff written anywhere else is never picked up, so the next session starts cold no matter how good the note is.

    Optionally also write a human-discoverable copy:

    • If the workspace has an ops/notes convention (e.g. codewhale-ops/notes/ with a living handoff file), update the living handoff's dated facts and snapshot, or create <topic>-handoff-<date>.md next to it.
    • Otherwise the repo root as HANDOFF.md or docs/handoff/<topic>-<date>.md. These are for people; nothing in the runtime reads them. Never overwrite someone else's uncommitted handoff without reading it first.
  4. Clear the way for the new session ("clears context"). A skill cannot delete the current context, but it can make the context disposable:

    • Ensure nothing is left only in memory: dirty work is either committed (WIP is fine with a real body), stashed with a note, or recorded in the handoff with its exact location.
    • Kill or record background work that would outlive the session (background jobs, sub-agents) — record what is still running and its task id.
    • Close with the one-line "next step" so the fresh session has an unambiguous first action.
  5. Deliver. Give the user the compact handoff text in your reply (the persisted file is the durable copy; the reply is the readable one).

Constraints

  • Facts only from tool output; never invent SHAs, check states, or blockers.
  • Keep claims narrower than evidence: distinguish landed/committed, verified locally, CI-verified, and pending.
  • Preserve other people's uncommitted work: read before touching, archive before overwriting.
  • The handoff is orientation, not law: tell the next session to refresh live state before acting on it.
  • If the user asks for a "short text-only" handoff, give exactly that in the reply and skip the full markdown file unless asked.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

batch

無料日本語概要

並行して進められる大きな目標を、範囲の明確な作業に分割するスキル。既存のエージェントや作業ツリーの仕組みで実行し、結果の統合と検証まで進めます。

  • 大きな目標を並行作業に分けたいとき
  • 複数エージェントの作業調整
  • 作業ツリーを分けて進めたいとき
codewhale-hq/Codewhale4.1万2026年10月19日 更新

best-of-n

無料日本語概要

設計や実装、説明、デバッグの複数案を独立に作り、共通の評価基準で比較します。コード案は作業場所を分けて検証し、採用候補と判断の根拠を提示するスキルです。

  • 複数の設計方針を比較したいとき
  • 同じ課題の実装案を評価したいとき
  • 説明やデバッグの方針を比較したいとき
codewhale-hq/Codewhale4.1万2026年10月19日 更新

codew-release-qa-sweep

無料日本語概要

Codewhaleのリリース前に、テスト・ビルド・バージョン整合性を順に点検し、端末画面の手動確認項目と実施結果を整理して、完了判断の根拠を残します。

  • 実際のリリースブランチで自動検査
  • リリース先へのPR取り込み可否の確認
  • 端末の応答性と入力操作の手動確認
codewhale-hq/Codewhale4.1万2026年10月19日 更新

computer-use

無料日本語概要

登録済みのコンピューターで、デスクトップアプリや独立したブラウザーを操作します。画面の状態を読み取り、入力やクリックの結果を確認しながら作業を進めるスキルです。

  • デスクトップアプリの画面で入力
  • 独立したブラウザーで作業したいとき
  • 作業に必要な画面撮影や録画
codewhale-hq/Codewhale4.1万2026年10月19日 更新

contributor-onboarding

無料日本語概要

Codewhaleの開発参加時に、手元のブランチと同期状況、ビルド、CIと同じ検証を確認するスキル。ローカルの履歴と変更履歴から更新内容も提示します。

  • 初めて開発に参加するとき
  • 作業中の変更と同期状況の確認
  • ビルドとCIの検証を実行したいとき
codewhale-hq/Codewhale4.1万2026年10月19日 更新

cw-dogfood

無料日本語概要

Codewhaleの変更を実製品で確かめるため、ビルド元の識別情報を付けた実行ファイルの作成・インストールから、実際の端末での動作確認と記録まで進めるスキル。

  • 端末UIの変更を実製品で確認したいとき
  • ローカルビルドを導入・確認したいとき
  • モデルの接続先や承認動作の確認
codewhale-hq/Codewhale4.1万2026年10月19日 更新

codewhale-hq のスキルをすべて見る

このスキルの問題を報告する