本文へ移動
cccskills
無料GitHub で公開

handoff-update

Update an existing handoff document with current session progress. Applies section-specific merge rules: append-only for Work Done (never deletes history), replace for Status and Next Steps, merge for Files and Discoveries. Falls back to creating a new handoff if no source file is found.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

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

Update an existing handoff document with this session's progress.

Step 1: Resolve the handoff file

Determine which file to update, in this priority order:

  1. If $ARGUMENTS[0] was provided, use it as the file path.
  2. If this session was started via /handoff:resume, look in conversation history for the argument that was passed to it.
  3. If neither is found, fall back to creating a new file: claudedocs/handoffs/handoff_YYYYMMDD_HHMMSS.md. Inform the user that no existing handoff was found.

Step 2: Read the existing file

Read the resolved file completely. Parse all sections as the baseline for the merge.

Step 3: Apply section merge rules

Rewrite the file with updated content using these merge rules:

SectionRuleNotes
TaskKeep originalUpdate only if scope fundamentally changed
ScopeKeep or refineNarrow it if new understanding emerged
FilesMergeAdd new files touched in this session. Keep originals. Use path:line format
DiscoveriesAppendAdd new findings below existing list. Never remove prior discoveries
Work DoneAppend onlyAdd new completed items below existing list. Never remove entries. Include commit hashes
StatusReplaceWrite the current state: what is done now, what remains, test status
Next StepsReplaceWrite the updated actionable checklist
CodeUpdateReplace with the most relevant snippets from the current state

The append-only rule for Work Done is strict. Even if a previous entry describes work that was later revised, keep it. The history is the record. Add a new entry describing the revision instead of removing the old one.

Step 4: Confirm

After saving, confirm:

  • File path updated
  • How many new Work Done items were added
  • The updated Status (one line)
  • How many Next Steps remain

This command implements the Handoff Triad pattern documented in this guide's Session Handoff Pattern section. Template inspired by Packmind's handoff commands (Apache 2.0).

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Audit Claude Code agents, skills, and commands for quality and production readiness. Use when evaluating skill quality, checking production readiness scores, or comparing agents against best-practice templates.

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1452026年10月11日 更新

Codebase health audit scoring 7 categories with progression plan

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1452026年10月11日 更新

Autonomous improvement loop: scan codebase metrics, scaffold experiment files, run agent-driven iterations until metric improves

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1452026年10月11日 更新

best-of-n

無料

Generate bounded independent candidates, score them against a frozen rubric, and verify the selected result with a proof log.

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1452026年10月11日 更新

canary

無料

Post-deploy monitoring: watch production after a deploy and alert on regressions

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1452026年10月11日 更新

catchup

無料

Restore context after /clear by summarizing recent work and project state

日本語の概要は準備中です。原文の説明を表示しています。

FlorianBruniaux/claude-code-ultimate-guide6,1452026年10月11日 更新

FlorianBruniaux のスキルをすべて見る

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