Save a game project's full context so another bot, session or person can continue without losing anything. Generates docs/HANDOFF.md with what's found automatically (git state, recent commits, how to run it, ports, project map, tuning files, docs, TODOs) plus hand-written sections for the current state, what works, what's broken, next steps, decisions, gotchas and the user's preferences, and a ...
Download skill (.zip) Files on GitHubGame session handoff
A good handoff lets the next session be useful in five minutes: it knows what exists, how to run it, what’s true right now, and exactly what to do next, without re-asking the user anything they already decided.
Writing a handoff
During the session, keep docs/CONTEXT.md current (game-context-preservation). The handoff then mostly copies from it.
For tools that read AGENTS.md automatically (Codex and others), point it at these files (game-documentation).
- Generate the draft:
python3 <skill>/scripts/handoff.py <project> --title "My Game" # → <project>/docs/HANDOFF.md python3 <skill>/scripts/handoff.py <project> --print # preview without writingIt fills git branch / status / commits / remotes (credentials stripped), how to run it, listening dev ports, GitHub workflows, a project map, tuning files, docs and TODOs. Text under
## Notes (kept)survives regeneration. - Fill every ✍️ section by hand. This is the part that matters:
- State in one line: honest, for example “Playable; jump feels floaty; no sound yet”.
- What works: only what you verified this session (in the preview, by test). Say how.
- What’s broken / unfinished: bugs with file:line, half-done features, untested parts (for example “not tried on itch.io”).
- Next steps: ordered and concrete. #1 should be startable immediately (“Add coyote time in
src/entities/player.js; values in config.player”). - Decisions and why: things the user chose or rejected (“no timer: user wants it relaxed”). This stops the next session from undoing them.
- Gotchas: traps (“
www/changes deploy to the public itch page”, “preview needs the share link with#…”). - The user: preferences and rules (“blur usernames in screenshots”, “ask before pushing to public games”, “keep replies short”).
- Never include secrets: no keys, tokens, webhook URLs, share codes for private games, or personal info the user wouldn’t publish. Refer to them by name (“the itch.io key in Bash settings”).
- Link, don’t copy. Point to
docs/GDD.md, the README and guides instead of pasting them. - Save it where the next session will look. Commit
docs/HANDOFF.mdwith the work (it’s docs-only, so it won’t triggerwww/deploys). If the project has uncommitted work, say so in the handoff, or commit it first with the user’s OK. - Tell the user in one line where it is and the top next step.
Picking up a handoff
- Read
docs/HANDOFF.md, thendocs/GDD.md, then the README. - Check that reality matches:
git status,git log -5, run the game, open the preview, and check “What works” still works. - If something differs (new commits, a broken feature), trust what you see, and note it.
- Start on Next steps #1, unless the user asks for something else. Don’t redo decided things or re-ask answered questions.
- At the end of the session, regenerate and update the handoff.
Quality bar
- Someone new could run the game from “How to run” alone
- Every claim in “What works” was verified this session
- Next step #1 is specific enough to start without questions
- Decisions include the why
- No secrets, tokens or private links
- No `` placeholders left