handoff
Write a handoff note a fresh session can resume from: goal, state, decisions, next step, open questions. Use when pausing work, before the context fills up, or when passing work to another session or person.
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- handoff
- metadata
- { "layer": "L3", "source": "mattpocock/skills@49dd158:skills/productivity/handoff/SKILL.md", "license": "MIT" }
- description
- Write a handoff note a fresh session can resume from: goal, state, decisions, next step, open questions. Use when pausing work, before the context fills up, or when passing work to another session or person.
03 SKILL.md 正文
Handoff
Write a note that lets a fresh agent continue this work without this conversation.
Where
$(ven-profile path)/handoffs/<branch>-<YYYY-MM-DD>.md, where <branch> is git branch --show-current with each / replaced by -. If today's note for this branch exists, update it instead of writing a second one. Never write the note into the working tree.
Gather
git status --short,git log --oneline $(ven-profile get repo.default_branch)..HEAD, and the worktree path.ven-decisions activefor the playbook and its step;ven-decisions list --limit 30for the decisions and the last verify result.- Decisions made in this conversation that aren't logged yet. Log each first:
ven-decisions add --step <step it belongs to> --decision "<decision>" --evidence "<why>". - Paths of the specs, tickets, ADRs, solutions and diagrams this work produced or relied on.
Write
# <goal in one line>
Branch: <branch> · Worktree: <path> · Playbook: <name>, step <step> · <date>
## Goal
What done looks like, in one or two sentences, with the spec or ticket path.
## State
Done, in progress, not started. Commits by short hash. Uncommitted files.
The last verify result and the tree it ran on.
## Decisions
One line each with its reason, from the decision log and this conversation.
## Next step
The single next action: the file, the test, the profile command key to run.
## Open questions
Each question, and who or what can answer it.
## Read first
Paths to the spec, tickets, ADRs, solutions and diagrams, and the skill to resume with.
Rules
- Point to artifacts by path. Never copy a spec, diff or decision log into the note.
- Redact secrets, tokens, passwords and personal data.
- If the user said what the next session is for, shape the note around that.
- Reply with the note's path and its next step.
04 同仓库更多 Skills
yeet
Take every local change green through the repo's own checks, slice it into conventional commits, push, and with --pr open a pull request on the code host. Use only when the user explicitly asks to yeet, or to commit and push everything; never on your own initiative.
write-docs
Write or update documentation from the code: gather facts, pick the shape for the reader, write it plain, and prove every command and path in it. Use when asked to document a repo, module or feature, or to bring stale docs up to date.
why
Find why code is shaped the way it is (design rationale, trade-offs, regressions, odd thresholds) from history, tickets, docs and chat, citing every claim and stating its confidence. Use for 'why does X work this way', 'why did we pick Y', or before changing code whose purpose is unclear.
verify
Prove a change works with the check that matches its type, do the read-back, and log the pass against the exact tree. Use when a change is ready to call done, before review, commit or stopping, and whenever ven-decisions end refuses an unverified tree.
unslop
Cut AI writing tells (filler, model vocabulary, metaphor nouns, hedging, formatting tics) from text while keeping every fact. Use when editing or checking any prose before it ships: docs, PR bodies, reports, skill text.
type-discipline
Apply when designing types or data shapes, reviewing a signature, or handling outside data, in any language. Make wrong states fail early: in the compiler for typed languages, in validated runtime contracts for untyped ones.