agentleFS
sebastienrousseausebastienrousseau/agtmls/skills/handoff/SKILL.md

handoff

Skill1 starsChanged 3 months agoApache-2.0View on GitHub

Write the note that lets someone else — or a later session — resume work in progress without re-deriving it. Load when context is running out, when pausing unfinished work, when switching who or what continues it, and when asked where things stand. Records tree state, evidence, the next concrete action, and the dead ends. Not a summary of what you did.

191 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • FabienDehopreSkill

    decision-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

  • liufeng1976Skill

    setup-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

  • AWSSkill

    to-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

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 87 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 51 projects that use this

  • LesaniSkill

    writing-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

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Not by how much it covers.

    line 33
  2. Distinctive:

    If the tree is in a state that will not build, say so first.

    line 61

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Handoff

Trigger. Work is unfinished and continuity is about to break: context is running out, the session is ending, someone else is taking over, you are parking a branch, or a human asked where are we with this?

Reference material (the template, worked good/bad handoffs, and what to capture for long-running or multi-agent work): see reference.md in this directory.

The rule

A handoff is judged by one thing: can the reader take the next action without asking you a question?

Not by how much it covers. A handoff that narrates three hours of work and leaves the reader unsure which command to run has failed; four lines that name the next command have succeeded.

The default failure is writing a diary instead of a state report. "First I looked at the parser, then I tried adding a guard, then I realised…" is your experience. The reader needs where things are, not how they got there — except where the journey contains traps (see below).

What a handoff must contain

Six parts. Omit any and the reader has to reconstruct it.

1. Goal

One sentence, in terms of the observable outcome. Not the ticket title — what "done" looks like.

2. State of the tree

The part people forget, and the one that costs the most when missing:

  • Branch name, and what it is based on.
  • Uncommitted changes — and whether they are coherent or mid-edit.
  • Anything half-applied: a partial migration, a rename stopped halfway, a dependency bumped but not rebuilt.
  • Anything stashed, and what is in it.

If the tree is in a state that will not build, say so first. A reader who discovers that by running the tests has already lost the thread.

3. What is done — with evidence

Not "the parser is done" but "the parser change is done: pytest tests/test_parser.py reports 14 passed; it reported 2 failed before." A claim without evidence has to be re-verified by the reader, which means it was not really handed over. See verification-before-completion.

4. The next action

A command or an edit, not a direction. The single highest-value line in the document.

WeakStrong
"Continue with the API layer""Add the /health route in app/routes.py, mirroring /status at line 40"
"Fix the failing test""pytest tests/test_auth.py::test_expiry fails on line 88 — the mock clock is not advancing"
"Finish the migration""Run alembic upgrade head against the dev DB; steps 1–3 of 5 are applied"

5. Dead ends and traps

The most valuable section, and the one always cut for length. Anything that cost you more than a few minutes and would cost the reader the same:

Do not try --parallel on the test runner: it passes locally and hangs in CI. Spent 40 minutes on it; the fixtures share a temp dir.

Without this, your successor repeats your mistakes at full price. It is the only part of the document that cannot be reconstructed from the code.

6. Open questions

Decisions that are not yours to make, with who owns them and what is blocked until they are answered. Distinguish blocking from nice to know.

Anti-patterns

  • The diary. Chronological narration of your process.
  • "Should be straightforward." Either it is, and you should have finished it, or it is not, and you have mislabelled the hard part.
  • Unstated assumptions. You chose an approach for a reason; if it is not written down, the reader will re-litigate or silently reverse it.
  • Omitting the failures. A handoff listing only what worked implies the obvious approaches are untried.
  • Stale evidence. "Tests pass" from before the last three edits. Re-run, or say when it was last observed.
  • Linking without stating. "See the thread" makes the reader do the synthesis you were supposed to do.

When not to use

  • The work is finished — that is a completion report, not a handoff.
  • Nothing is in flight and there is no tree state to describe.
  • The project has its own status or session-continuity format; use that.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.