agentleFS
The-UrcydoThe-Urcydo/Agents-Skills-Roles-Oriented/skills/write-handoff/SKILL.md

write-handoff

Skill2 starsChanged 22 days agoMITView on GitHub

Update a handoff record so a fresh session or another agent can continue without the old context. Use before stopping work, switching roles, or changing a work item's state.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 7

    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:

    Use this when work will continue in another session, another role, or after a pause.

    line 12
  2. Distinctive:

    Write for a reader who has the repository but not your conversation:

    line 17
  3. Distinctive:

    Add a do not list for anything the next agent must avoid: files, assumptions, or approaches.

    line 24
  4. Distinctive:

    Keep it short. Aim for under 60 lines.

    line 25
  5. Distinctive:

    If the tracker has a state transition, use its tool instead of editing the state by hand.

    line 26
  6. Distinctive:

    Verify the handoff answers: where are we, what is decided, what failed, what next, and what must not happen.

    line 27
  7. Distinctive:

    Every claim has evidence or a file path.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 7 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

Write a handoff

Use this when work will continue in another session, another role, or after a pause. The next session has no memory; the handoff is the memory.

Steps

  1. Open the handoff record the tracker uses. If there is none, create one next to the work item or in the branch's pull request description.
  2. Write for a reader who has the repository but not your conversation:
    • Current state: one paragraph on where things stand now.
    • Decisions made: choices that must not be re-litigated, with a link to the decision record when there is one.
    • Dead ends already tried: what failed and why, so nobody repeats it.
    • Next action: one sentence naming the next owner and the first thing they do.
    • Evidence: the commands run and their result, or a link to the run.
    • Docs for the scribe: none, behavior unchanged. when no behavior changed and no doc describes what was touched; otherwise the docs and changelog the change needs. The agent that produced the work writes this line; later roles read it and never rewrite it.
  3. Add a do not list for anything the next agent must avoid: files, assumptions, or approaches.
  4. Keep it short. Aim for under 60 lines; it is current state, not a diary. History lives in git.
  5. If the tracker has a state transition, use its tool instead of editing the state by hand.
  6. Verify the handoff answers: where are we, what is decided, what failed, what next, and what must not happen.

Verify

  • A reader can name the next action without opening the old conversation.
  • Every claim has evidence or a file path.
  • The state in the tracker matches the state in the handoff.
  • The do not list is current.
  • The docs-for-the-scribe line is present, or the host's equivalent is recorded.

In Repo-Template

The handoff is work/items/<id>/handoff.md, or work/items/<id>.md for a light item. Move the item with:

python3 tools/transition.py <id> <status> --by <role> --next "<one sentence>" [--owner <role>] [--evidence "<command or link>"]

in-review, verified, and done require evidence. Do not edit status by hand.

Stop and ask

  • The state change is not allowed by the tracker's rules.
  • You cannot show evidence for a claim the next agent needs.
  • The next action depends on a decision the human has not made.
  • The handoff would contain a secret or a personal path.

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.