project-handoff

Snapshot where a project actually stands and hand it to the next session. Reads a git repo's log, branches, worktrees, uncommitted changes, TODOs, tests and plan docs (or, for a folder with no git, file dates, builds and test binaries); writes or refreshes STATUS.md (what's built, what's verified vs only claimed, open decisions, the exact next step) and a paste-ready prompt for a fresh Claude session. Also sweeps many projects into one table of what's built but unverified. Use this whenever the user asks "where did I leave this", "what's the status of X", "catch me up on this repo", "which of my projects still need testing", wants a handoff, a STATUS.md, a resume prompt, or a wrap-up before stopping for the day, and whenever a project is described as "built but needs testing" or the user is switching between projects, even if they don't say "handoff".

Was ist project-handoff?

project-handoff is a Claude Code agent skill that snapshot where a project actually stands and hand it to the next session. Reads a git repo's log, branches, worktrees, uncommitted changes, TODOs, tests and plan docs (or, for a folder with no git, file dates, builds and test binaries); writes or refreshes STATUS.md (what's built, what's verified vs only claimed, open decisions, the exact next step) and a paste-ready prompt for a fresh Claude session. Also sweeps many projects into one table of what's built but unverified. Use this whenever the user asks "where did I leave this", "what's the status of X", "catch me up on this repo", "which of my projects still need testing", wants a handoff, a STATUS.md, a resume prompt, or a wrap-up before stopping for the day, and whenever a project is described as "built but needs testing" or the user is switching between projects, even if they don't say "handoff".

Funktioniert mit✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/x-salmon/project-handoff-skill/tree/HEAD

Installed? Explore more Produktivität & Zusammenarbeit skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Project handoff

Projects stall at "built, needs testing", and the next session can't tell what was actually proven and what was only hoped. This skill produces one honest page (STATUS.md) and one prompt that lets a cold session continue without re-deriving anything.

The core rule: a claim of testing needs evidence you can point to. A future session that reads "tested" will skip the testing. So a false "verified" costs more than a plain "unverified": it hides work that still needs doing. If you're unsure, mark it unverified and say what would prove it.

Workflow

If the user asks about several projects at once ("which of my projects still need testing?"), use Sweep mode at the end of this file instead of steps 1–6.

1. Discover (read-only)

Run the bundled scanner from the repo root (or pass the path):

python ~/.claude/skills/project-handoff/scripts/discover.py <repo-path>

It also works on a folder that isn't a git repo, or a repo with no commits yet. See No git below for how that changes the write-up.

It reports HEAD and upstream, ahead/behind vs the default branch, every local branch (merged, unmerged, or "content already on default" for squash merges), worktrees, stashes, uncommitted paths, recent commits, TODO markers, test files, test commands, CI configs, test-result artifacts on disk with timestamps, and status/plan docs. It never writes to the repo or fetches. --json is available if you want to parse it.

Then read what it points at:

  • An existing STATUS.md. This is a refresh, so see step 4.
  • Plan/phase/README/CLAUDE.md docs. They hold intent and open decisions. If the scanner shows a "NOT in this checkout" section, the files on disk are behind. Read the current versions without checking anything out: git show origin/main:PLAN.md. Otherwise you'll report old work as the current state.
  • Bodies of the last few commits (git log -n 8 --format='%h %ad%n%B' --date=short). Messages often say "needs in-game test" or "untested on X".
  • The diff of uncommitted work, if any (git diff-index --stat HEAD, then git diff-index -p HEAD -- <path> for the parts that matter). Uncommitted work is the most likely thing to get lost.
  • Any notes about this project from past sessions, such as Claude memory files (often under ~/.claude/projects/*/memory/; grep for the project name). They carry useful context, like why something was never run or which decisions are pending. Treat them as claims, not evidence, and say that's where a fact came from.

Use git --no-optional-locks for your own git commands too. Plain git status rewrites the index file. Porcelain git diff rewrites it even with that flag, so use git diff-index (above) instead. Don't contact the remote (git fetch, pull, ls-remote) unless the user asks: fetch changes the repo's state, and all of them need network. Instead, report the "last fetch" time the scanner gives, so ahead/behind numbers are understood as of that time.

2. Decide what's verified

Give every built thing exactly one evidence level:

LevelMeansExample evidence
Verified (this session)You ran it now, at the current HEAD, and saw the resultnpm test at 7b537a9, 2026-11-25: 142 passed, 0 failed
Verified (recorded)A result artifact or CI run tied to a commitTestResults/run.trx written after the HEAD commit; CI green on abc123
ClaimedSomeone says it works, with no artifactCommit message "fix: reliable reminders"; README "tested on Win10"; a memory note
UnverifiedBuilt, no evidence either wayFeature landed in a commit; no test touches it

How to apply this honestly:

  • Tests existing is not tests passing. A tests/ folder or a test script shows that a check is possible, not that it passed.
  • Evidence goes stale. A result from before the latest commits only covers code that hasn't changed since. Write "verified at abc123, 6 commits ago", and downgrade it if the later commits touched that area.
  • Commit verbs are claims. "fix", "works", "done" and "reliable" in a message describe what the author intended.
  • Some things only a person can check: in-game behaviour, how a UI looks and feels, hardware, a GPU job, a deploy. Mark these Unverified, needs a manual check by you, with the exact steps to check. For a game mod, if a playtest-checklist skill is available, point to it for the full script. Don't write the script into STATUS.md.
  • Indirect signals stay Claimed. A build newer than HEAD from a script that runs tests first, or screenshots in a qa/ folder, suggest something happened. They don't prove it passed, or that anyone looked. Name the signal and the inference ("build.ps1 stops on test failure and dist/ is newer than HEAD, so tests probably passed; no saved output"), and keep the label at Claimed.
  • Don't write a new history while correcting an old one. When you downgrade "all tests pass", don't replace it with "they passed at abc123" or "the last session ran them" unless something records that. The same goes for "reviewed", "looked at", "ran" and "confirmed": each is a claim and needs a source. Before you finish, reread every sentence in STATUS.md that says something passed, ran, worked or was checked, and make sure each one cites its evidence or carries a Claimed/Unverified label.

Running tests to upgrade evidence. Running the test command is usually the cheapest way to turn "claimed" into "verified", so offer to, or just do it when it's clearly safe and quick (a unit suite with no external services). Don't run it when the user asked for read-only, or when it needs hardware, credentials, a GPU, a running game, or a long build. In that case, put the exact command in the next steps. If you do run it, record the command, the short SHA, the date and the pass/fail counts. Then check git status to confirm the run didn't modify tracked files, and mention it if it did.

3. Pick the exact next step

One action, concrete enough to start without thinking. It names the command or file, and says what "done" looks like. Make it one action, not a menu of options or a six-item list: a list makes the next session pick, and picking is the decision the handoff was meant to settle. Follow-ups go below it, numbered, under "Then". Prefer the step that turns the highest-value unverified claim into evidence, or that unblocks everything else (for example, "main is 25 behind origin; pull before anything"). If the next step is the user's (a decision, or a manual test only they can run), say so plainly and give them the steps.

Bad: "Continue testing the AI features." Good: "Run npm test on main after git pull; expect all 13 files to pass. Then start the app with npm run dev, draw a three-box flowchart, ask the AI to fix it, and check the dead-end warning appears."

4. Write or refresh STATUS.md

Write STATUS.md at the repo root, unless the user names another location (for example "don't touch the repo, write it to X"). Use the template below.

When refreshing an existing STATUS.md:

  • Keep the user's own text under ## Notes exactly as it is, and add nothing to that section. It's theirs. Your observations go in the other sections.
  • Carry over open decisions unless the evidence shows they're resolved. If so, move them to "Resolved since last refresh" with what resolved them.
  • Re-judge every "verified" line in the old file. Old evidence counts only if it still applies at the current HEAD. An earlier session's "all tests pass", with no command, SHA or artifact behind it, becomes Claimed, however confident it sounded.
  • Add a short "Changed since last refresh" list, based on the commits since the old file's SHA.

Don't commit STATUS.md unless the user asks. Say it's uncommitted.

5. Write the handoff prompt

The prompt goes at the end of STATUS.md, and also in your reply, in a fenced block so it's easy to copy. Its reader has none of your context, so make it self-contained:

  • the absolute repo path, and the branch @ short SHA
  • a one-paragraph state of play
  • what is verified, and what is not (don't let the next session inherit a false "done")
  • the exact next step and how to verify it
  • traps: stale branches, a main that's behind, uncommitted work, prunable worktrees, things not to touch
  • "Read STATUS.md first; when you finish, refresh it with project-handoff". If STATUS.md isn't at the repo root, give its absolute path. If it's somewhere temporary the user will probably move it from, say "ask the user where STATUS.md lives" instead of pointing at a path that won't exist.

Keep it under about 250 words. The next session can read STATUS.md for detail.

6. Reply

Keep the reply short: the headline state, the next step, any traps, where STATUS.md was written (and that it's uncommitted), then the handoff prompt.

STATUS.md template

# <Project> status

_Refreshed <YYYY-MM-DD> at `<branch>` @ `<sha>` by project-handoff. Remote info as of last fetch <date>._

## Where it stands
<2–4 sentences: what this is, what phase it's in, and the single biggest gap.>

## Built
- <feature or component> (<commit sha / branch>)

## Verification
| What | Level | Evidence |
|---|---|---|
| <thing> | Verified (this session) / Verified (recorded) / Claimed / Unverified | <command + sha + result, artifact path + date, or source of the claim, or "none"> |

## Repo hygiene
- Branch / upstream / ahead-behind facts that matter
- Unmerged branches with unique work; merged branches safe to delete
- Uncommitted changes, stashes, prunable worktrees
- TODO/FIXME count and any that block release

## Open decisions
- <decision the user must make>, with options and what it blocks

## Next step
<one exact action + how to tell it's done>

Then: <2–3 follow-ups, in order>

## Changed since last refresh
<only on refresh>

## Notes
<user-owned; preserved verbatim on refresh>

## Handoff prompt
<the paste-ready prompt, in a fenced block>

Leave out a section only if there's truly nothing for it. "None found" tells the reader you checked, and a missing section doesn't.

Use absolute dates (2026-11-25), not "yesterday". The file will be read days later.

No git

When the scanner says NOT a git repository (or a repo with NO commits yet), there is no history to pin anything to. Adjust like this:

  • The timeline is file modification dates. The scanner's "newest source change" is the reference point: a build, test binary or result older than it is stale. Copying, unzipping or syncing resets dates, so say the dates are file times.
  • In the STATUS.md header, write folder snapshot <YYYY-MM-DD>, no git where the branch and SHA would go, and give the newest source file and its date instead of a SHA. Do the same in the handoff prompt.
  • "Verified" needs evidence tied to the files as they are now: a result file newer than the newest source change, or a run you did this session (record the command, date and counts). A compiled test binary or package newer than the source shows a build happened. It stays Claimed for "tests pass".
  • If notes or docs say the project is installed somewhere (a game's Mods folder, a server, a device), compare the installed file's date and size with the build output, read-only. A mismatch means the installed copy isn't the latest build.
  • A playtest or QA doc (PLAYTEST.md, a checklist) is a plan. Only results recorded in it count, and only with a date. Unticked boxes are Unverified.
  • "Changed since last refresh" lists files modified after the old STATUS.md's date, since there are no commits.
  • Without git, nothing records what "verified" applied to. You may list "put this folder under git and commit" under Then, as one follow-up and not the next step, unless the user asked about it.

Sweep mode

For "which of my projects are built but untested", "what's the state of all my mods", or a list of several repos, run the scanner once over the parent folder(s):

python ~/.claude/skills/project-handoff/scripts/discover.py --sweep <folder> [<folder> ...]

It gives one row per project (git or not): where it is, the last change, how far behind the default branch, uncommitted files, test files, recorded test results (fresh, stale or none), build outputs, and any STATUS.md/PLAYTEST.md. Then add what the rows can't show, from each project's STATUS.md or PLAYTEST.md and any Claude memory notes about it (as claims, as in step 1).

Reply with one table, most actionable first:

ProjectStateBest evidence (level)Next step
  • State in a few words: "built, untested", "built, needs a manual check by you", "half-built", "dormant since 2026-03", "verified at abc123".
  • The same evidence levels and honesty rules apply. A row with test files and no fresh result is not "tested".
  • Leave out projects with no activity in months unless asked, and say how many you left out.
  • Don't write STATUS.md files in a sweep unless asked. Offer a full handoff for the one or two projects that most need it.

Verwandte Skills