ワンクリックで
handoff
Generate comprehensive handoff document capturing session context, work completed, pending tasks, and key decisions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate comprehensive handoff document capturing session context, work completed, pending tasks, and key decisions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | handoff |
| description | Generate comprehensive handoff document capturing session context, work completed, pending tasks, and key decisions |
| argument-hint | <optional focus areas or specific instructions> |
| allowed-tools | Read, Write, Bash(git log:*), Bash(git status:*), Bash(git diff:*) |
| disable-model-invocation | false |
Generate a comprehensive, self-contained handoff document that preserves critical session context.
If no specific instructions provided, create comprehensive handoff covering all aspects.
Review the conversation to identify:
Create a HANDOFF.md with this structure:
# Session Handoff: [Brief Title]
## Quick Context
- **Session ID:** [current]
- **Date:** [today]
- **Working Directory:** [path]
- **Primary Focus:** [one line summary]
## Executive Summary
[2-3 paragraphs of what happened and current state]
## Completed Work
### [Category 1]
- Specific accomplishment with context
- Key decisions made
- Files affected: `path/to/file.py`
### [Category 2]
...
## Technical Discoveries
### [Pattern/Insight Name]
**What we learned:**
**Why it matters:**
**How to apply:**
## Pending Tasks
### Priority 1: [Task Name]
**Status:** [Current state]
**Context:** [Why this matters]
**Next steps:**
1. [Specific action]
2. [Specific action]
**Questions to resolve:**
- [Open question]
**Related files/code:**
- `file:line` - [what to look at]
### Priority 2: [Task Name]
...
## Stream of Consciousness Captures
### [Topic]
User's thoughts (organized):
- [Key point from rambling]
- [Important tangent]
- [Idea to investigate]
## User Working Preferences Observed
[Any new patterns noticed about how user works]
## Code Context
### Key Changes Made
\`\`\`python
# file_path.py:LINE_NUMBER
[Relevant code snippet]
\`\`\`
### Patterns Established
[Code patterns with examples]
## Environment State
### Git Status
[Current branch, uncommitted changes]
### System State
[Relevant system information]
## Continuation Instructions
**For next session:**
1. Start with [specific task]
2. Review [specific file/section]
3. Consider [design decision]
**Critical context to remember:**
- [Key point that must not be lost]
- [Important decision made]
**User's last explicit request:**
> [Quote of what user actually wanted]
Based on $ARGUMENTS:
Write the handoff to:
scratch/HANDOFF-[date].mdHANDOFF.md in project rootInclude at the bottom:
---
*Generated with /handoff command*
*Instructions: $ARGUMENTS*
Report to user:
Before saving, verify:
Add a deferred entry to the repo's docket — a versioned NN-{slug}.md under docket/{type}/ (tech-debt, feature, follow-up, idea, or upstream), reviewed in the normal PR flow and picked up later. Resolve by deleting the file.
Build a glanceable quest-map of a long session — pure user-intent roots, ground-truth check-marks, [from → to] ranges, PR/docket overlays, a metadata header. A shared recap-on-steroids built by a fresh unbiased agent; light at the top, full detail one cat away. On-demand orientation for when the arc of a long, compacted, multi-thread session is lost and you (and the user) need to decide what to tackle next.
Migrate the binary patcher to a new Claude Code version. Re-derive bytes for changed patches, investigate missing anchors, mark obsoleted patches, verify empirically in fresh sessions, and open a PR. Use when Claude Code releases a new version (announced or stealth-on-CDN) and the patcher needs to follow.
Absorb a new Claude Code version and/or model into this repo — the reusable recipe for what to investigate and how to judge it. Use when CC updates, the model changes, or a loud failure smells like version/model drift.
Draft a PR description into scratch/, pause for your review, then create or update the PR via gh. Gathers git context, indexes the session for semantic search, and follows the repo's CLAUDE.md PR guidelines.
Recover in-flight context from a compacted, crashed, or context-limited session. Indexes transcript for semantic search, reconstructs the session arc.