claude-code-workspace-upkeep/.claude/skills/upkeep-handoff/SKILL.md
SHA-256 98063b807276a68692d61f576d39e43d8ef9622982283ac5b01abeb3cd445869 · 2,287 bytes
Skill: its instructions load when the assistant decides the skill applies.
---
name: upkeep-handoff
description: Write or update the project's handoff note with what's done, decided-but-not-done, still open and the next action, including branch, commit, uncommitted changes and pending approvals, so the next session (or person) can resume without reconstructing anything. Use after each milestone and before ending a session.
---
# Milestone handoff
Sessions end, contexts get compacted, and people switch tasks. The cost of a missing handoff is rebuilding decisions,
uncommitted work and failing tests from scratch. A handoff takes two minutes when it's written at the milestone.
## Where it goes
The project's handoff file. Use the one the project already has (for example `docs/PROJECT_STATE.md` or `HANDOFF.md`).
If there isn't one, create `HANDOFF.md` at the project root. Keep the newest entry at the top.
## Entry format
```markdown
## Handoff YYYY-MM-DD HH:MM: <one-line state>
**Done (verified):** what was completed, with the evidence (test output, a live check, a commit).
**Decided, not done:** decisions made (by whom, when) that still need work.
**Still open:** questions, blockers, failing tests (name them), anything unverified.
**Next action:** the single next step, specific enough to start without asking.
**State:** branch <name> at <commit> · uncommitted: <files, or "none"> · other worktrees or branches in play: <…>
**Approvals:** pending approvals, and approvals given *for a specific step only* (they don't carry over to later steps).
```
## Steps
1. Gather the facts from the project, not from memory: `git status`, `git log -1`, open branches and worktrees, the
latest test run, and decisions recorded in this session.
2. Write the entry. Separate **done (verified)** from **done but not verified**, and say which is which.
3. Record approvals precisely. "Approved deploy of release X" is not approval for release Y. A handoff never grants
permission. If the original approval can't be found, the next session should treat the action as not approved.
4. Keep earlier entries. Mark spent "next actions" as done rather than deleting them.
5. Tell the user where the handoff was written.
## What counts as a milestone
A commit, a decision from the owner, a test result, a direction change, or the end of a session.
Shown as plain text. Invisible or direction-changing characters are displayed as <U+XXXX>.