Keep a game project's documentation useful and current. Which documents a game needs (README, how to run, controls, architecture, GDD, credits, changelog, handoff and context notes, decisions, AGENTS.md for AI tools), what goes in each, templates, writing for the person and for the next bot, keeping docs next to the code and updating them in the same change, and checking that links, commands an...
Download skill (.zip) Files on GitHubGame documentation
Docs answer three readers: players (what is it, how do I play), the owner (how do I run, change and publish it), and the next bot or developer (how does it work, what’s true right now).
The set (create only what the project needs)
| File | For | Contains |
|---|---|---|
README.md |
Everyone | One-line pitch, screenshot, play link, controls, how to run, how to publish, folder map |
docs/ARCHITECTURE.md |
Developers / bots | Loop, scenes, entities, data flow, how to add an enemy or level, conventions |
docs/GDD.md |
Design | game-design-document |
CREDITS.md |
Legal | Every asset not made by you: author, source, license |
CHANGELOG.md |
Players + owner | game-changelog |
docs/HANDOFF.md, docs/CONTEXT.md |
Next session | game-session-handoff, game-context-preservation |
docs/decisions/ |
Why | game-decision-records |
docs/ROADMAP.md, docs/BACKLOG.md, docs/FEATURES.md |
Planning | game-roadmap, game-backlog-management, game-feature-tracking |
AGENTS.md |
AI coding tools | Short rules + pointers (below). Many tools read it automatically |
README template
# Star Hopper
Hop between planets and dodge meteors. 
**Play:** https://yourname.itch.io/star-hopper
## Controls
| Action | Keyboard | Touch | Gamepad |
|--------|----------|-------|---------|
| Move | Arrows / WASD | Left thumb | Left stick |
| Jump | Space | Right button | A |
## Run it
`python3 -m http.server 8000` → open http://localhost:8000 (no build step)
## Publish
Commit changes to `www/`; GitHub Actions uploads to itch.io (see docs).
## Project map
src/core (engine bits) · src/scenes (screens) · src/entities (game objects) · src/config.js (all tuning) · assets/
AGENTS.md (for any AI coding tool)
# Notes for AI coding agents
Read docs/HANDOFF.md and docs/CONTEXT.md first. Design intent: docs/GDD.md.
- Run: python3 -m http.server 8000. Test: python3 tests/... (see docs/ARCHITECTURE.md#testing)
- All tuning numbers live in src/config.js. Input goes through actions in src/core/input.js.
- Never commit secrets. Ask before publishing to the public itch.io page.
- Update docs/CONTEXT.md when you make a decision; update docs/HANDOFF.md before ending a session.
Rules
- Docs change with the code, in the same commit. A renamed folder or a new control means a README edit.
- Short beats complete: tables and bullets, one screen per file where possible. Link instead of repeating.
- Write commands that work by copy-paste, with real paths. Use placeholders like
yourname/my-gamefor personal details in public repos. - Plain language in player-facing parts. Technical detail in ARCHITECTURE.
- Check before finishing: every command runs, every link and path exists (
rg -o "\]\(([^)]+)\)"and test them), screenshots are current.