craft-handofflisted
Install: claude install-skill sungjunlee/craftkit
# craft-handoff
## Purpose
End the session by producing a paired handoff:
- **Rich doc**: `~/.craftkit/handoff/docs/<worktree-slug>.md` — durable project narrative; overwritten on the next same-project handoff after archiving the previous doc.
- **Resume prompt**: `~/.craftkit/handoff/pending/<timestamp>-<worktree-slug>.md` — per-session entry artifact; mirrored to clipboard without frontmatter; tells the next agent to read the rich doc first.
The prompt is what the user pastes or auto-loads. The doc is the deeper record. They are a unit; do not produce one without the other.
## Use this when
- the user says "wrap up", "마무리", "세션 정리", "핸드오프", "다음 세션으로 넘겨", or "next session으로 넘겨"
- the user is about to clear or reset context and wants continuity
- a long session is ending and the next session should pick up cleanly
- a task is paused mid-flight and needs a concrete resume point
Skip quick Q&A sessions with no state worth carrying.
## Inputs
`<skill-dir>` is the directory containing this SKILL.md — resolve it from where the skill was loaded (e.g. an installed skill directory such as `~/.claude/skills/craft-handoff`, or `skills/craft-handoff` in a source checkout).
Gather machine state with the bundled script:
```bash
node <skill-dir>/scripts/gather-state.mjs
```
Read its full output, especially `--- Handoff target ---`: `PENDING_PATH`, `DOC_PATH`, `ARCHIVE_DIR`, `WORKTREE_SLUG`, and ready-to-prepend frontmatter.
If the script is unavailable, gather the same git fac