agentleFS
hdprajwalhdprajwal/agent-skills/skills/session-handoff/SKILL.md

session-handoff

Skill1 starsChanged 6 months agoMITView on GitHub

Write or restore a handoff note when pausing or switching between projects, so the next session (you, another agent, or the user) resumes without re-deriving context. Use when wrapping up for now, context is getting long, switching to another repo, or starting back up on a project left mid-task. Captures state + next step, not a transcript.

72 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use domain-modeling, testing and 6 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.
  • AWSSkill

    domain-modeling

    Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

    Also in 4 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

  • OpenAISkill

    systematic-debugging

    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    Also in 4 projects that use this

  • genomewalkerSkill

    learn

    Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.

    Also in 3 projects that use this

  • AWSSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 4 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 3 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 61 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:

    Before writing it, capture real state, don't guess:

    line 43
  2. Distinctive:

    Verify it against reality — git status, git log, run the build/tests.

    line 58

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

Session Handoff

Across many parallel projects, the expensive part of resuming is rebuilding context. A handoff note fixes that: a short, current snapshot of where things stand and what's next — written when you stop, read when you start.

Writing a handoff (when pausing / switching)

Save to docs/HANDOFF.md in the repo (or update it if it exists). Keep it short and current — overwrite stale parts, don't append forever.

# Handoff — <project> — <YYYY-MM-DD>

## Goal
<the task in one or two sentences>

## State
- Done: <what's working and verified>
- In progress: <what's half-built, and where exactly>
- Branch: <current branch> · last commit: <sha + subject>

## Next step
<the single concrete next action — specific enough to start cold>

## Open questions / decisions pending
- <thing you or the user still needs to decide>

## Key files / commands
- `path/to/file.rs` — <why it matters>
- run: `pnpm dev` / `cargo run` / test: `…`

## Watch out for
- <gotcha, flaky test, half-done migration, anything that'll bite>

Before writing it, capture real state, don't guess:

git branch --show-current
git log --oneline -5
git status --short

Rules: state the next step concretely (the whole point); record decisions pending so they're not silently re-made; note what's broken or half-done; keep it to a screen. It's a snapshot, not a changelog.

Restoring from a handoff (when starting back up)

  1. Read docs/HANDOFF.md.
  2. Verify it against reality — git status, git log, run the build/tests. The repo is the source of truth; the note can be stale.
  3. Confirm the branch and that the baseline still passes before continuing.
  4. Pick up at "Next step." If reality and the note disagree, trust the repo and say so.

Notes

  • A handoff is for resuming work; a plan (writing-plans) is for specifying it, and a PRD for defining it. Don't duplicate those here — link to them.
  • For a quick same-day pause a few lines is enough; scale the detail to how cold the restart will be.

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.