handoff
Skill8 starsChanged 32 days agoMITView on GitHub
Update docs/HANDOFF.md and docs/HISTORY.md after a work session — verify which open items actually shipped, move them to the history doc, record any trap hit, and re-check the facts that go stale. Use at the end of a session that changed behaviour, before handing off, or whenever the handoff doc has drifted out of date.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- lhotwll217/owner-operatortheir own version, first seen Nov 16, 2026
- tanishq286/tq-forgetheir own version, first seen Nov 15, 2026
- niki914/zafirotheir own version, first seen Nov 15, 2026
- davidondrej/skillstheir own version, first seen Nov 15, 2026
- quickchatai/quickreviewtheir own version, first seen Nov 15, 2026
- HiteSit/real-scientist-skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use decision-mapping, setup-ts-deep-modules and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
FabienDehopreSkilldecision-mapping
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
Also in 8 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 42 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 93 projects that use this
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 87 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 51 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 54 projects that use this
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- mattpocock/skills★ 325ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- GreyDGL/PentestGPT★ 16ksame name
- ykdojo/claude-code-tips★ 10ksame name
- ArcReel/ArcReel★ 6.6ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.8ksame name
- withcoral/coral★ 5ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 4 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read docs/README.md first if you are unsure which document a given piece of writing belongs in — this skill only covers moving things …
- Very specific: line 28
Verify at a file:line, but write the citation as a symbol — the function, type, or constant.
- Very specific: line 51
Check ListAgents for live peer sessions, say you are about to write the handoff, and sequence behind whoever already claimed it.
- Distinctive: line 91
If an item is large, delegating the verification sweep to a subagent works well — give it a line range and demand named evidence for every …
- Very specific: line 98
Delete the item from HANDOFF.
- Very specific: line 114
If something cost you more than about half an hour, it belongs in docs/HISTORY.md under ## Traps already hit, in the matching cluster …
- Distinctive: line 118
Write it as what broke, then the general lesson.
- Very specific: line 157
When the claim is about an installed artifact, ask the artifact what it can do — mecha sessions health --json for a new field, mecha tools …
- Distinctive: line 171
Read the file for things that are not current state or open work.
- Very specific: line 202
After this pass, a reader who has never seen the project should be able to open docs/HANDOFF.md and answer three questions without opening …
- Distinctive: line 210
If any answer requires reading the code to confirm the doc, the pass is not finished.
“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Closing out a session
docs/HANDOFF.md is the file someone reads before deciding what to build next.
That makes staleness worse than absence: a to-do list that mixes shipped work
with open work sends the reader to re-implement something that already exists,
or to skip something that does not.
This skill keeps that from happening. It takes ten minutes and it is the whole reason the doc split is worth maintaining.
Read docs/README.md first if you are unsure which
document a given piece of writing belongs in — this skill only covers moving
things between HANDOFF and HISTORY.
The one rule
Verify against source, never against a commit message.
A commit that says "add the rules cap" may have added a constant and no gate. A commit that says "wire up X" may have wired half of it. The only evidence that an item shipped is the code that implements it.
Verify at a file:line, but write the citation as a symbol — the
function, type, or constant. A line number in a doc is wrong the moment
another lane lands, and it rots silently: on 2026-08-26 two refs drifted
within the hour, and one of them was itself a repair of an earlier stale
ref. Where a line is genuinely needed, name the commit it was verified
against.
This is not pedantry — it is the specific failure that produced a 1,965-line handoff. Items were struck through when their commit landed, and the ones that were never struck through silently became indistinguishable from the ones that were never built.
Procedure
0. Claim the file before writing it
docs/HANDOFF.md and docs/HISTORY.md are single-writer documents that
every lane accumulates into — announced, never raced. Before editing either:
ls .git/worktrees/*/MERGE_HEAD 2>/dev/null # another lane mid-merge?Check ListAgents for live peer sessions, say you are about to write the
handoff, and sequence behind whoever already claimed it. Two sessions editing
the same handoff is a conflict in the one file whose job is telling the next
session what happened.
1. Find out what actually changed
git log --oneline --since="<date the handoff was last updated>"
git diff --stat <last-handoff-commit>..HEADThe handoff's own git history tells you when it was last touched:
git log -1 --format=%ad --date=short -- docs/HANDOFF.md2. Test every open item, not just the ones you worked on
Walk ## What to do next top to bottom. For each item, decide:
| Verdict | What to do |
| Shipped | Confirm in source, cite the symbol, then move it to HISTORY (step 3) |
| Partial | Rewrite the item to describe only the part that is still missing — a half-done item described as whole is the worst kind of stale |
| Still open | Leave it. If the reason it is open has changed, say so |
| Obsolete | Move to HISTORY with one line on why it stopped making sense. Do not simply delete — the next person will re-propose it |
Fast ways to check:
# Does a command exist?
grep -n 'Subcommand' -A40 mecha-cli/src/main.rs
# Does a config key exist?
grep -n '<key>' mecha-core/src/config.rs
# Does a subsystem exist?
grep -nE '^pub mod' mecha-core/src/lib.rsIf an item is large, delegating the verification sweep to a subagent works well — give it a line range and demand named evidence for every "shipped" verdict: the function, type, or constant that implements it, and the file that holds it.
3. Move shipped work to HISTORY, do not strike it through
Delete the item from HANDOFF. Add it to docs/HISTORY.md under
## What shipped, and when, in the prose paragraph for its date — not as a
bullet, and not as ~~struck through~~.
Strikethrough is how the old handoff got long: it kept every completed item in the reader's way forever. HISTORY is where completed work lives.
While an item is in your hand, check whether a docs/*-DESIGN.md or
*-RESEARCH.md still describes the same thing as unbuilt. The convention
(docs/README.md) is an addendum line at the top pointing at HISTORY, never
a rewrite of the body. A design doc that describes shipped behaviour as
unbuilt is the handoff failure one file over — it is also something someone
reads before deciding what to build next.
4. Record any trap you hit
If something cost you more than about half an hour, it belongs in
docs/HISTORY.md under ## Traps already hit, in the matching cluster
(Measuring / Learning / Providers / Environment).
Write it as what broke, then the general lesson. The lesson is the part that transfers:
The hook timeout covered the wait but not the stdin write, so a hook that never read its input hung forever. Audit what sits outside every timeout, not just what is inside it.
A trap with no general lesson is a changelog entry — put it in the changelog.
5. Re-verify the facts that rot
These go stale silently. Check them every time:
# Test counts (the handoff states a per-suite breakdown)
cargo test --workspace 2>&1 | grep -E '^test result'
# Eval case and tag counts
python3 -c "
import json, collections
t=collections.Counter(); n=0
for line in open('eval/cases.jsonl'):
s=line.strip()
if not s or s.startswith('//'): continue
n+=1
for tag in json.loads(s).get('tags',[]): t[tag]+=1
print(f'{n} cases, {len(t)} tags')"
# Machine state, if the handoff's Environment section claims it
# What the server is actually serving. `n_ctx` is the PER-SLOT figure, which
# is what `context_window` must equal — never `-c`, which is divided across
# slots. `mecha setup` compares all of this against the config for you.
# :8080 is a router since 2026-09-27: a bare /props is a placeholder
# (total_slots null, n_ctx 0, vision null), so ask for the resident model.
( source scripts/served-props.sh; served_props http://127.0.0.1:8080 ) \
| jq '{total_slots, n_ctx: .default_generation_settings.n_ctx, vision: .modalities.vision}'
systemctl --user list-unit-files | grep mechaWhen the claim is about an installed artifact, ask the artifact what it
can do — mecha sessions health --json for a new field, mecha tools
--json for a tool, strings for a literal. A fresh mtime is not a fresh
build (mtime records when a file was written, not what it was built from),
and version strings do not distinguish builds either; both premises can be
true while the inference is false, which is exactly how it went wrong on
2026-08-26.
Anything in ## Environment as left that you verified should carry the date
you verified it. Anything you could not verify should say so rather than
carrying an old claim forward.
6. Check for material that belongs elsewhere
Read the file for things that are not current state or open work. There is no line budget — a project with a lot genuinely open has a long handoff, and truncating it to hit a number is how a real item gets deleted instead of finished. What matters is that everything in it is the right kind of thing:
- Explaining why a subsystem is shaped a certain way → that subsystem's
section of
docs/ARCHITECTURE.md; only an invariant any session could trip over on any run goes inCLAUDE.md, which rides in every agent's context and is priced accordingly - A completed thing, or a lesson →
docs/HISTORY.md - A question you researched → its own
docs/*-RESEARCH.md - A thing designed but not yet built → its own
docs/*-DESIGN.md - How a user operates the feature →
website/docs/
Length is a symptom worth reading, not a rule to enforce. If the file has grown, ask what grew: more open work is honest, and a section that has quietly become an essay is the thing to move.
7. Follow the cross-references
Moving a section breaks any pointer into it. Before committing:
grep -rn "HANDOFF" --include=*.md --include=*.rs --include=*.sh . \
--exclude-dir=target --exclude-dir=node_modulesRepoint anything that referred to content you moved.
What good looks like
After this pass, a reader who has never seen the project should be able to
open docs/HANDOFF.md and answer three questions without opening any other
file, and without opening the source to check whether the doc is lying:
- Does it build and pass, and what should I run first?
- What is actually true about the system right now?
- What is genuinely unbuilt, and which piece is cheapest to start on?
If any answer requires reading the code to confirm the doc, the pass is not finished.
Anti-patterns
- Striking items through instead of moving them. The list only grows.
- Trusting your own commit message. You wrote it before you finished.
- Citing
file:linein the doc. Lines rot silently across merges — cite the symbol, and name the verified commit where a line is unavoidable. - Racing another lane into a single-writer doc. Announce first (step 0); a merge conflict in the handoff defeats the file's whole purpose.
- Recording a measurement without its conditions. A number with no arm,
no
n, and no date is not a result and will mislead someone later. - Carrying an unverified environment claim forward. Say "unverified" — a stale fact stated confidently costs more than a gap.
- Adding a "future ideas" section. That is what the research docs are for; ideas with no verified gap behind them turn the handoff back into a wishlist.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

