handoff
Installation
SKILL.md
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Create the target path with f=$(mktemp -t handoff) && mv "$f" "$f.md" && echo "$f.md" so it ends in .md on both macOS and Linux (read the file before you write to it).
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Document structure
The handoff is read by another agent, so its shape is fixed. Produce exactly these eight sections, in this order, with these headings verbatim. Lead with intent and next steps, not narrative history — a fresh agent should scan top to bottom and start working.
# Handoff: <short title>— one line naming the work.## Goal— what the next session is trying to accomplish, in 1–2 sentences. If args were passed, this reflects them.## Current state— what's done and working right now. Bullets, past tense.## Next steps— the concrete actions to take next, ordered, each an imperative ("Wire up X", "Run Y"). The most important section: make it actionable from a cold start.## Open questions / blockers— unresolved decisions, things waiting on someone, known risks.## Key context— the non-obvious things: decisions made and why, gotchas, dead ends already ruled out. Skip anything a fresh agent could read straight from the code or the linked artifacts.## Pointers— paths and URLs to the artifacts that hold the detail: PRDs, plans, ADRs, issues, branches, key files (path:line). Reference them; don't copy their contents in.## Suggested skills— which skills the next session should use, if any, and for what.