handoff
Writes a short session note so the next session resumes in one step. Use when the user says wrap up, done for today, continue later, or start a new session. Not for commits or docs.
SKILL.mdplugins/foma-skills/skills/handoff/SKILL.md
GitHubSaves the state of the work in a note of at most 20 lines, so a fresh session continues without re-reading the history.
Steps
- Gather only from what this session already holds plus
git status --shortand the active plan (Status:lines). Read no other files. - Write
.scratch/handoff.md(create the folder; overwrite the old note). The first line isNext: <the exact first action>: a command,file:line, or the plan task. Then, one line each where it applies: Goal; Done; In progress (and what is broken); Decisions not visible in code (path to the DEC entry if recorded); Don't redo (dead ends); Open questions. - Signals, one line each, only when the session had them: a user correction or the same failure twice (
learning); stray files,.bak, scratch or debug leftovers (tidying). Name the files; touch nothing. - Ensure
.scratch/is gitignored. If not, say so and ask before editing.gitignore. - Tell the user to run
/clearand that the next session prints theNext:line by itself while the note is under 24 hours old.
Rules
- No narration of the session; facts a next session cannot get from the code or git.
- Paths and one-line facts instead of pasted code, logs or diffs.
- Never commit the note, never call
/clearyourself (a skill cannot). - Nothing worth saving (clean tree, no plan, nothing open): say so and write no note.
Report
- Note path, its
Next:line, signals flagged. - Not checked: <...>
Next: /clear; /foma-skills:learning or /foma-skills:tidying if flagged.