agentleFS
opelplepleopelpleple/meta-skills/handoff/SKILL.md

handoff

Skill0 starsChanged 5 months agoMITView on GitHub

Writes a self-contained brief that lets a fresh agent, a colleague, or a more capable model pick up the work cold — capturing goal, current state, decisions, gotchas, and next steps so nothing is lost across a context boundary. Use this skill when the user says "hand this off", "brief the next person", "write a handoff", or "escalate this with full context"; when ending a session or before a context reset; when switching models or delegating to a sub-agent; or whenever work must cross from one context into another without loss.

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

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 1

    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:

    For escalation, lead with the failure: If handing to a bigger model because you're stuck, state plainly what you tried, what failed, the …

    line 29

“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

Produce a standalone brief that a cold reader can execute from — assume they have zero memory of this session.

When to use

  • Ending a session or approaching a context reset, and the work isn't done.
  • Switching agents/models, or escalating a stuck task to a more capable model.
  • Delegating a sub-task to a sub-agent that won't share your context.
  • Passing work to a teammate who wasn't present for any of it.

When NOT to use

  • You're continuing the same task in the same context — just compact instead; a handoff is heavier.
  • The task is trivial or already fully captured in a clear final message.
  • Mid-flight notes for your own use — that's scratchpad, not a handoff.

The method (numbered, concrete — the heart)

  1. Write for a stranger. Assume the reader knows nothing about this session. No "as discussed", no unexplained pronouns, no implicit context.
  2. State the goal and the done-definition. What is being achieved, and how will the reader know it's complete? Acceptance criteria, not vibes.
  3. Give current state precisely. What exists now — files/branches changed, what's verified vs. assumed, what's passing vs. failing, where exactly things stand.
  4. List decisions with rationale. What was chosen, what was rejected, and why — so the successor doesn't undo good choices or retry dead ends.
  5. Flag the gotchas. Non-obvious traps, environment quirks, brittle spots, "looks wrong but is intentional" notes. This is the highest-value section.
  6. Give ordered next steps. A concrete, prioritized to-do the reader can start on immediately — first action first.
  7. Point to resources, don't inline them. Link/path the relevant files, logs, scratchpad, and docs rather than pasting bulk.
  8. For escalation, lead with the failure. If handing to a bigger model because you're stuck, state plainly what you tried, what failed, the exact error/symptom, and your best hypothesis — give it the full failure context, not just the task.
  9. Make it standalone and durable. Save it where the next reader will find it (a file, an issue, the top of a thread), so it survives the boundary.

What good looks like

  • A fresh agent or person resumes productively from the brief alone, asking no clarifying questions.
  • Decisions, rejected paths, and gotchas are all present — the successor neither relitigates nor steps on a known mine.
  • Next steps are concrete and ordered; the reader knows the very first thing to do.
  • For escalations, the receiving model gets what-failed-and-why, not a bare restatement of the goal.

Anti-patterns

  • Context-dependent writing — "continue from where we left off" means nothing to a cold reader.
  • State without gotchas — handing over what's done but hiding the traps, so the successor falls into them.
  • Decisions without reasons — inviting the next agent to undo settled choices.
  • Inlining everything — a wall of pasted code/logs instead of pointers, defeating the purpose.
  • Escalating with just the task — giving a bigger model the goal but not the failure trail, so it repeats your dead ends.

Example (short, vivid)

# HANDOFF — Checkout flow fix
Goal: stop the duplicate-charge bug on retry. Done = no double charge under
flaky-network retries; integration test `checkout.retry.spec` green.

State: root cause found — retry sends a new idempotency key each attempt.
Fix started in `payments/charge.ts` (key now derived from order id). Unit
tests pass; integration test still RED on timeout path.

Decisions: derive key from order id, NOT a fresh uuid (rejected — that's the
bug). Did NOT touch the Stripe webhook handler (out of scope).

Gotchas: local Stripe mock doesn't simulate timeouts — must test against the
`stripe-mock` container, not the unit fake. The retry wrapper swallows errors;
log at line 88 before trusting "success".

Next: 1) reproduce timeout via stripe-mock  2) assert single charge
3) backfill key for in-flight orders (see scratchpad.md "migration").

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.