handofflisted
Install: claude install-skill SeanoChang/seanock
# handoff
A session ends, and the next one starts with nothing. This skill writes one
note that the next session can start from, and it reads that note again when
work resumes.
The note is `.claude/handoff/note.md` in the work tree. Each work tree has its
own note. Git does not see it: the script makes the folder `.claude/handoff/`
and puts a `.gitignore` into it that ignores the whole folder, so the note is
never in a commit or a pull request. The script writes no rule anywhere else.
The note says how things are now. A new note replaces the old one, and the
old one is kept one time as `.claude/handoff/prev.md`.
The note goes with its work tree. `git worktree remove` deletes it with no
warning, because git does not count an ignored file as work.
Run each command from inside the work tree, as its own command, with no pipe.
From another folder, add `--repo <work tree>`.
## 1. Pause: write the note
1. **Stop at a point that you can name.** Commit what is whole. Leave what is
half done as it is: the note lists the files that are not committed. Do
not push, stash or delete to make the tree look clean.
2. **Write the frame:**
```bash
python3 -I ~/.claude/skills/handoff/scripts/handoff.py frame
```
It writes the fact block (branch, commit, and the lines of `git status`:
each file that is changed or new) and the empty parts. Do not edit the
fact block: its last line is a check value over the lines above it, and a
block that was changed is an error (