game-docs
Skill70 starsChanged 8 months agoMITView on GitHub
Game release documentation update. Generates player-facing patch notes, internal changelog, and updates all project documentation after a release.
In this repository37 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- contribute-reviewSkill
- issue-actionSkill
- issue-createSkill
- issue-pipelineSkill
- issue-planSkill
- pr-review-loopSkill
- skill-reviewSkill
- gstack-gameSkill
- asset-reviewSkill
- balance-reviewSkill
- build-playability-reviewSkill
- carefulSkill
- feel-passSkill
- game-codexSkill
- game-debugSkill
- game-directionSkill
- game-eng-reviewSkill
- game-ideationSkill
- game-importSkill
- gameplay-implementation-reviewSkill
- game-qaSkill
- game-retroSkill
- game-reviewSkill
- game-shipSkill
- game-ux-reviewSkill
- game-visual-qaSkill
- guardSkill
- implementation-handoffSkill
- pitch-reviewSkill
- plan-design-reviewSkill
- player-experienceSkill
- playtestSkill
- prototype-slice-planSkill
- spark-lensSkill
- triageSkill
- unfreezeSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
All skills read from this directory on startup to find prior work.
- Very specific: line 62
If PROACTIVE is "false", do not proactively suggest gstack-game skills.
- Very specific: line 73
Before writing or sharing public/semi-public output, scan the exact text when $_GG_BIN/gstack-game-redact exists:
- Distinctive: line 80
Use this for PR bodies, patch notes, Steam/App Store/Google Play submission text, publisher updates, imported GDD excerpts, release docs, …
- Distinctive: line 109
Update all documentation after a game release or patch.
- Distinctive: line 146
No code references, file paths, or technical jargon
- Distinctive: line 147
Every change answers "so what?" for the player
- Distinctive: line 206
Instead: "12 changes documented.
- Very specific: line 228
Write to $_PROJECTS_DIR/{user}-{branch}-release-docs-{datetime}.md.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --><!-- Regenerate: bun scripts/gen-skill-docs.ts -->Preamble (run first)
setopt +o nomatch 2>/dev/null || true # zsh compat
_GD_VERSION="0.5.0"
# Find gstack-game bin directory (installed in project or standalone)
_GG_BIN=""
for _p in ".claude/skills/gstack-game/bin" ".claude/skills/game-review/../../gstack-game/bin" "$(dirname "$(readlink -f .claude/skills/game-review/SKILL.md 2>/dev/null)" 2>/dev/null)/../../bin"; do
[ -f "$_p/gstack-config" ] && _GG_BIN="$_p" && break
done
[ -z "$_GG_BIN" ] && echo "WARN: gstack-game bin/ not found, some features disabled"
# Project identification
_SLUG=$(basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)")
_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
_USER=$(whoami 2>/dev/null || echo "unknown")
# Session tracking
mkdir -p ~/.gstack/sessions
touch ~/.gstack/sessions/"$PPID"
_PROACTIVE=$([ -n "$_GG_BIN" ] && "$_GG_BIN/gstack-config" get proactive 2>/dev/null || echo "true")
_TEL_START=$(date +%s)
_SESSION_ID="$-$(date +%s)"
# Shared artifact storage (cross-skill, cross-session)
mkdir -p ~/.gstack/projects/$_SLUG
_PROJECTS_DIR=~/.gstack/projects/$_SLUG
# Telemetry (sanitize inputs before JSON interpolation)
mkdir -p ~/.gstack/analytics
_SLUG_SAFE=$(printf '%s' "$_SLUG" | tr -d '"\\\n\r\t')
_BRANCH_SAFE=$(printf '%s' "$_BRANCH" | tr -d '"\\\n\r\t')
echo '{"skill":"game-docs","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'"$_SLUG_SAFE"'","branch":"'"$_BRANCH_SAFE"'"}' >> ~/.gstack/analytics/skill-usage.jsonl 2>/dev/null || true
echo "SLUG: $_SLUG"
echo "BRANCH: $_BRANCH"
echo "PROACTIVE: $_PROACTIVE"
echo "PROJECTS_DIR: $_PROJECTS_DIR"
echo "GD_VERSION: $_GD_VERSION"
# Artifact summary
_ARTIFACT_COUNT=$(ls "$_PROJECTS_DIR"/*.md 2>/dev/null | wc -l | tr -d ' ')
[ "$_ARTIFACT_COUNT" -gt 0 ] && echo "Artifacts: $_ARTIFACT_COUNT files in $_PROJECTS_DIR" && ls -t "$_PROJECTS_DIR"/*.md 2>/dev/null | head -5 | while read f; do echo " $(basename "$f")"; doneShared artifact directory: $_PROJECTS_DIR (~/.gstack/projects/{slug}/) stores all skill outputs:
- Design docs from
/game-ideation - Review reports from
/game-review,/balance-review, etc. - Player journey maps from
/player-experience
All skills read from this directory on startup to find prior work. All skills write their output here for downstream consumption.
If PROACTIVE is "false", do not proactively suggest gstack-game skills.
User Sovereignty
AI models recommend. You decide. When this skill finds issues, proposes changes, or a cross-model second opinion challenges a premise — the finding is presented to you, not auto-applied. Cross-model agreement is a strong signal, not a mandate. Your direction is the default unless you explicitly change it.
Public Output Redaction Lite
Before writing or sharing public/semi-public output, scan the exact text when
$_GG_BIN/gstack-game-redact exists:
printf '%s' "$OUTPUT_TEXT" | "$_GG_BIN/gstack-game-redact" --jsonUse this for PR bodies, patch notes, Steam/App Store/Google Play submission text, publisher updates, imported GDD excerpts, release docs, playtest summaries, and game-autoplan artifacts that leave the repo.
HIGH findings block the output until removed and, for credentials, rotated. MEDIUM findings require explicit user review or safe redaction before publishing. Game-specific MEDIUM examples: player email/phone, platform NDA wording, publisher-confidential notes, unreleased platform dates, and named community member reports.
Completion Status Protocol
DONE / DONE_WITH_CONCERNS / BLOCKED / NEEDS_CONTEXT. Escalation after 3 failed attempts.
Telemetry (run last)
_TEL_END=$(date +%s)
_TEL_DUR=$(( _TEL_END - _TEL_START ))
[ -n "$_GG_BIN" ] && "$_GG_BIN/gstack-telemetry-log" \
--skill "game-docs" --duration "$_TEL_DUR" --outcome "OUTCOME" \
--used-browse "false" --session-id "$_SESSION_ID" 2>/dev/null &/game-docs: Release Documentation
Update all documentation after a game release or patch.
Step 0: Release Context
# Find recent release info
git tag --sort=-creatordate | head -5
_LATEST_TAG=$(git tag --sort=-creatordate | head -1)
[ -n "$_LATEST_TAG" ] && git log "$_LATEST_TAG"..HEAD --oneline --no-merges | head -20AskUserQuestion: What version is this release? What are the highlights?
Section 1: Player-Facing Patch Notes
Format — players read this, not developers:
# Version X.Y.Z — [Catchy Title]
## ✨ New
- [Feature in player language] — [what it means for gameplay]
## ⚡ Improved
- [Improvement] — [why it matters]
## 🐛 Fixed
- [Bug description in player terms] — [what was happening, now fixed]
## ⚖️ Balance Changes
- [What changed] — [designer intent / reasoning]
## 🔧 Known Issues
- [Issue] — [workaround if any]Rules:
- No code references, file paths, or technical jargon
- Every change answers "so what?" for the player
- Balance changes include the WHY (players want to understand intent)
- Group by impact, not by code area
Game-Specific Patch Note Patterns:
| Change Type | Bad (developer voice) | Good (player voice) |
| Nerf | "Reduced Warrior base damage from 50 to 40" | "Warriors deal less damage in early game. We noticed Warriors were clearing content 30% faster than other classes at low levels — this brings them in line while preserving their late-game power fantasy." |
| Buff | "Increased Mage mana regen by 20%" | "Mages recover mana faster. We heard you — running out of mana mid-fight felt punishing. You'll still need to manage resources, but you won't be stuck auto-attacking as often." |
| Economy | "Adjusted gold drop rates" | "You'll earn gold slightly faster from quests, but shop prices for top-tier items are higher. The net effect: mid-game feels smoother, but the best gear still requires commitment." |
| Feel | "Fixed input latency" | "Attacks now respond faster when you tap. If combat felt 'mushy' before, try it now — we shaved 2 frames off the startup animation." |
| Remove | "Removed feature X" | "We've removed [feature]. We know some of you used it, and here's why: [honest reason]. What replaces it: [alternative]." |
Balance Change Communication Protocol:
- State WHAT changed (the numbers)
- State WHY (the design intent — never leave balance changes unexplained)
- State the EXPECTED EFFECT ("fights should last 5s longer on average")
- Acknowledge player impact ("if you main Warrior, this will feel different")
- Invite feedback ("tell us how this lands after a few sessions")
Section 2: Internal Changelog
Format — for the team:
# [version] — [date]
## Changes
- [commit-style description] ([files affected]) @[author]
## Metrics
- LOC changed: ___
- Files changed: ___
- Tests added: ___
- Known debt introduced: ___Section 3: Documentation Sweep
Check and update:
- README — Version number, install instructions, screenshots current?
- GDD — Does it reflect current game state? Mark outdated sections.
- API docs — If modding/plugin support exists
- Platform store descriptions — App Store/Steam/Play Store
- Website/landing page — Screenshots, feature list, trailer
AUTO/ASK/ESCALATE
- AUTO: Generate changelog from git log, update version numbers
- ASK: Patch notes tone/framing, which changes to highlight, balance change explanations
- ESCALATE: Major undocumented breaking change, store description contradicts current build
Anti-Sycophancy
Forbidden:
- ❌ "Great release!"
- ❌ "Players will appreciate these changes"
Instead: "12 changes documented. 3 balance changes need designer intent explanations before publishing."
Completion Summary
Documentation:
Patch notes: [written / updated]
Internal changelog: [written / updated]
Docs swept: ___/___ up to date
STATUS: DONE / DONE_WITH_CONCERNS
Next Step:
PRIMARY: /game-retro — docs done, run retrospectiveSave Artifact
_DATETIME=$(date +%Y%m%d-%H%M%S)
echo "Saving to: $_PROJECTS_DIR/${_USER}-${_BRANCH}-release-docs-${_DATETIME}.md"Write to $_PROJECTS_DIR/{user}-{branch}-release-docs-{datetime}.md. Supersedes prior if exists.
Discoverable by: /game-ship
Review Log
[ -n "$_GG_BIN" ] && "$_GG_BIN/gstack-review-log" '{"skill":"game-docs","timestamp":"TIMESTAMP","status":"STATUS","version":"VERSION","commit":"COMMIT"}' 2>/dev/null || trueDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

