agentleFS
lacerbilacerbi/dotclaude/skills/handoff/SKILL.md

handoff

Skill2 starsChanged 2 months agoMITView on GitHub

Make the current work resumable from a clean checkout — commit/push, record in-flight async work, flag what isn't durable. INVOKE ONLY when the user explicitly runs /handoff or asks for a handoff.

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

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

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If substantive work remains, state the pickup point in an active durable doc (e.g.

    line 43
  2. Distinctive:

    If the task is complete and only PR review, CI, or merge remains, do not create or edit repository documentation just to restate that …

    line 46
  3. Distinctive:

    Do this last, so the docs you wrote in 1–4 land too.

    line 52
  4. Distinctive:

    Follow repository Git instructions.

    line 55
  5. Distinctive:

    Leave unrelated work untouched and unstaged.

    line 58
  6. Very specific:

    Ensure every task-owned tracked change is committed.

    line 60
  7. Distinctive:

    If substantive work remains, end with a fenced text block the user can paste verbatim as the next session's first message: the pickup …

    line 74

“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 — make the work resumable from a clean checkout

Goal: a fresh git clone plus a read of the project's durable docs is enough for the next session to resume — except artifacts a project keeps local by design (gitignored checkpoints, pools, weights, venvs; .gitignore is the source of truth). Nothing meant to be tracked may live only in this conversation, the working tree, or a session-bound process. Close every gap you find — don't just report it.

1. Capture the session's substance (if any emerged)

Decisions and their rationale, findings/results, approaches tried and rejected, open questions — anything from the discussion worth keeping that isn't already in the code — into the project's durable docs (DEVLOG / TODO / notes, whatever the project uses). The conversation is not durable: a decision or finding that lives only in chat is lost. Skip if nothing substantive emerged or if it has already been recorded.

2. Record in-flight / async work

For running or pending work whose continuation depends on session-specific context — cluster jobs, background processes, scheduled tasks, or remote work not otherwise discoverable — record in an active durable doc its ID, the exact command/config, where outputs land, how to retrieve them, and its status, so a reader can resume it without this conversation.

An open PR is already durable and discoverable remote state. Do not copy its number, URL, transient status, or CI state into a plan, devlog, TODO, or completed/archive record merely because it is open; report those details in the final reply. Add repository documentation only when the project already maintains a PR tracker or when resumption requires non-obvious information that the PR and repository do not contain. Keep such information in an active work record, not a completed or archived one.

3. Surface what is NOT durable

  • remote/scratch artifacts not yet collected; local-only artifacts the next session must regenerate or fetch (say how);
  • session-bound watchers / background tasks that die with this session (the underlying job keeps running — say how to re-attach by ID);
  • auth / secrets / local state that won't carry over.

4. State the pickup point

If substantive work remains, state the pickup point in an active durable doc (e.g. the top DEVLOG entry or a TODO file), not only your reply: where to resume, the next decision, and what unblocks it.

If the task is complete and only PR review, CI, or merge remains, do not create or edit repository documentation just to restate that transient state. Report it in the final reply. Never add handoff metadata solely for this purpose to a completed or archived plan, task, issue, or devlog.

5. Commit and push — the final gate

Do this last, so the docs you wrote in 1–4 land too. Commit and push everything from the handoff scope that is meant to be tracked:

  • Follow repository Git instructions. Inspect the diff, distinguish task-owned changes from unrelated user or agent work, stage intended files explicitly, and verify the staged diff before committing.
  • Leave unrelated work untouched and unstaged. It may keep the repository dirty; report it rather than treating repository-wide cleanliness as a handoff requirement.
  • Ensure every task-owned tracked change is committed. Fetch and compare HEAD with the branch's configured upstream, not a remote name such as origin. Push the task commits so the upstream contains them. If the branch has no configured upstream, set it to origin/<branch> when that matches the repository's existing convention (sibling branches pushed the same way, a single remote); ask only when the target is ambiguous — multiple remotes or a fork setup, no comparable branches, or a name that looks private/scratch.
  • Respect .gitignore — don't commit the local-by-design artifacts above. If a file is a mid-edit, or you're unsure it should be tracked, surface it and confirm before committing.

Report

What's durable (committed/pushed), what's in flight (with the retrieve command), where you recorded the session's findings/decisions (if any), what isn't durable yet, and the one-line pickup point.

If substantive work remains, end with a fenced text block the user can paste verbatim as the next session's first message: the pickup point, the orientation files to read first (the active devlog or TODO, README, design notes — whatever a newcomer needs to orient), and any in-flight work to re-attach to. Skip files loaded automatically such as CLAUDE.md and the files it pulls in (e.g., AGENTS.md).

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.