Handoff
Adapted from mattpocock/skills (MIT).
Write a handoff document summarizing the current conversation so a fresh agent can continue the work. Save it to the OS temporary directory — not the current workspace — and print the path.
Contents
- State: what was attempted, what is done, what is verified vs merely edited.
- Next steps: the concrete remaining work, in order, with file paths.
- Suggested skills: which skills the next agent should invoke, and for what.
- Pointers, not copies: do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
- Gotchas: anything non-obvious the next agent would otherwise rediscover the hard way (flaky tests, env quirks, decisions already ruled out).
Rules
- Redact sensitive information: API keys, passwords, tokens, PII.
- If the user passed an argument, treat it as the next session's focus and tailor the document accordingly.
- Be honest about verification state — use the ladder from
verification-before-completion: implemented → scoped verified → repository green → PR green → deployed verified. Never upgrade a claim in a handoff. - Permanent decisions (stack, layering, rejected alternatives) belong in
docs-adr, not in the handoff. Point atdocs/adr/INDEX.mdif it exists; do not re-copy those records here.