update-docs
Skill2 starsChanged 6 months agoMITView on GitHub
Sync project documentation after implementations or design changes — README.md, the GDD under `docs/design/`, plans under `docs/plans/` (whole-game and feature plans), feature surveys and specs under `docs/features/`, PROGRESS.md, CLAUDE.md. Cross-checks divergences between design and code. Only operates on documents that exist; doesn't force-create.
87 other projects use a version of this.
Adopted by
Most recently taken up by
- rmichak/claude-skillstheir own version, first seen Nov 8, 2026
- Eclipter/agentstheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- jmusick/skillstheir own version, first seen Nov 8, 2026
- protokol11/skillstheir own version, first seen Nov 8, 2026
- OldemarJesus/connectlife-mcp-servertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use get-pr-reviews, push-everything and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
saffron-healthSkillget-pr-reviews
Get nicely formatted output of the last review comments on a PR. Used internally by other skills.
Also in 3 projects that use this
saffron-healthSkillpush-everything
Stage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.
Also in 3 projects that use this
TheKREATORSSkillinstinct-export
Export instincts from project/global scope to a file
Also in 3 projects that use this
TheKREATORSSkillinstinct-import
Import instincts from file or URL into project/global scope
Also in 3 projects that use this
NVIDIASkillgenerate-spec
Produce a feature specification covering API changes, backward compatibility, cross-language impact, performance, and a file-level change plan. Use when designing a new feature, planning a significant change, or the user asks to spec something out.
Also in 3 projects that use this
belokonmSkillfullstack-developer
End-to-end feature expert specializing in frontend-backend integration, system architecture, and complete application development
Also in 4 projects that use this
- +1 more from saffron-health
- +1 more from TheKREATORS
Other versions87 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 87
- vercel/next.js★ 143ksame name
- pipecat-ai/pipecat★ 17ksame name
- anyproto/anytype-ts★ 9.1ksame name
- vladmandic/sdnext★ 7.4ksame name
- ArcReel/ArcReel★ 6.3ksame name
- dotnet/sdk★ 3.2ksame name
- meta-pytorch/OpenEnv★ 2.8ksame name
- huggingface/OpenEnv★ 2.8ksame name
- man-group/ArcticDB★ 2.6ksame name
- fabro-sh/fabro★ 1.8ksame name
77 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bootstrap-godot-projectSkill
- codebase-surveySkill
- create-autoloadSkill
- create-componentSkill
- create-resourceSkill
- create-sceneSkill
- create-state-machineSkill
- export-configSkill
- feature-planSkill
- feature-specSkill
- game-brainstormingSkill
- gdd-writerSkill
- genre-pack-3d-actionSkill
- genre-pack-platformerSkill
- genre-pack-topdownSkill
- genre-pack-turnbasedSkill
- godot-patternsSkill
- gut-test-writerSkill
- networking-foundationSkill
- performance-auditSkill
- save-schema-migrationSkill
- setup-collision-layersSkill
- setup-git-godotSkill
- setup-input-mapSkill
- setup-localizationSkill
- setup-save-systemSkill
- sfx-generatorSkill
- shader-writerSkill
- subagent-dev-modeSkill
- ui-patterns-godotSkill
- using-godot-superpowersSkill
- writing-game-planSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 81 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 76
Always read all docs that exist before modifying any of them:
- Very specific: line 105
Don't mark [x] if the feature works but diverges from GDD — use [?] and document.
- Distinctive: line 106
If a GDD feature has no entry in PROGRESS.md, add it.
- Distinctive: line 107
Update "Last updated: YYYY-MM-DD" at top of file.
- Distinctive: line 118
Never edit the GDD to "match the code" — code follows GDD, not vice versa.
- Distinctive: line 119
If code intentionally diverges, document in PROGRESS.md "Divergences" section.
- Very specific: line 120
Use gdd-writer skill for substantial design additions.
- Distinctive: line 161
If divergence found, report to user before fixing — they decide whether to align doc to code or code to doc.
“Common” is measured: kept by at least 6 in 10 of the 81 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Update Project Docs
Keeps every project doc in sync — both the core docs (README, GDD, whole-game plan, PROGRESS, CLAUDE) and any feature artifacts (surveys, specs, feature plans) that exist. Only touches the ones that are present; does not force a project to adopt every doc type.
Doc set (core + feature artifacts)
| Doc | Purpose | Update when |
README.md | What the project is, how to run it, top-level overview | Tech stack changes, install steps change |
docs/design/<YYYY-MM-DD>-<slug>-gdd.md | Game Design Document — design intent | Design decisions made (use gdd-writer) |
docs/plans/<YYYY-MM-DD>-<slug>-plan.md | Whole-game implementation plan — milestones, skills, deliverables | Plan revised (use writing-game-plan) |
docs/features/<YYYY-MM-DD>-<slug>-survey.md | Feature codebase survey — files / APIs / hotspots | Whenever a new feature lands on existing code (use codebase-survey) |
docs/features/<YYYY-MM-DD>-<slug>-feature.md | Feature spec — design delta on top of GDD | New feature designed (use feature-spec) |
docs/plans/<YYYY-MM-DD>-<slug>-feature-plan.md | Feature implementation plan | Feature plan revised (use feature-plan) |
PROGRESS.md | Status: GDD/spec → code mapping, divergences | After every implementation |
CLAUDE.md | Architecture and conventions for Claude Code | New subsystem, new convention, new module |
PROGRESS.md and CLAUDE.md are optional but recommended on any project larger than ~10 scenes. The docs/features/* trio only exists on projects that adopt feature-mode (trail B).
Decision flow
digraph update_flow {
rankdir=TB;
node [shape=diamond];
start [label="What changed?" shape=doublecircle];
impl [label="Code\nimplemented?"];
design [label="Design\nchanged?"];
arch [label="Architecture\nchanged?"];
setup [label="Setup/install\nchanged?"];
check [label="Cross-check"];
node [shape=box];
progress [label="Update PROGRESS.md\n(checkbox feature)"];
gdd [label="Update GDD\n(docs/design/...-gdd.md)"];
claudemd [label="Update CLAUDE.md\n(arch / convention)"];
readme [label="Update README.md\n(install / overview)"];
cross [label="Verify docs agree"];
start -> impl;
impl -> progress [label="yes"];
impl -> design [label="no"];
design -> gdd [label="yes"];
progress -> design;
gdd -> arch;
design -> arch [label="no"];
arch -> claudemd [label="yes"];
arch -> setup [label="no"];
claudemd -> setup;
setup -> readme [label="yes"];
setup -> check [label="no"];
readme -> check;
check -> cross;
}Modes
| Invocation | Action |
/update-docs or /update-docs all | Read all docs + relevant code, cross-check, update everything that needs updating |
/update-docs progress | PROGRESS.md only (after implementation) |
/update-docs gdd | GDD only (after design decision) |
/update-docs claude-md | CLAUDE.md only (after architecture change) |
/update-docs readme | README.md only (after setup/tech stack change) |
/update-docs check | Cross-check only — flag divergences without writing |
Step 1 — Read current state
Always read all docs that exist before modifying any of them:
1. Read README.md -> overview baseline
2. Read docs/design/*-gdd.md (latest) -> design baseline (if exists)
3. Read docs/plans/*-plan.md (latest, EXCLUDING *-feature-plan.md) -> whole-game plan baseline (if exists)
4. Read docs/features/*-survey.md (each) -> feature surveys (if any)
5. Read docs/features/*-feature.md (each) -> feature specs (if any)
6. Read docs/plans/*-feature-plan.md (each) -> feature plans (if any)
7. Read PROGRESS.md -> implementation status (if exists)
8. Read CLAUDE.md -> architecture baseline (if exists)Glob discipline: the
*-plan.mdglob in step 3 also matches*-feature-plan.mdfiles because the latter ends in-plan.md. Step 6 owns feature plans; step 3 must filter them out to avoid reading the same file twice. Use a globber that supports negation (docs/plans/*-plan.mdminusdocs/plans/*-feature-plan.md) or, in shell,ls docs/plans/*-plan.md | grep -v -- '-feature-plan\.md$'. In tooling-free contexts, list whole-game plans manually after enumerating withls docs/plans/.
Then read code in scripts/, autoload/, scenes/ to verify what's actually implemented.
Step 2 — Update PROGRESS.md
For each feature touched, update its status:
- [ ] -> not implemented (no code)
- [~] -> partial (code exists but incomplete vs GDD)
- [x] -> complete and matches GDD
- [?] -> intentional divergence from GDD (document below)Rules:
- Don't mark
[x]if the feature works but diverges from GDD — use[?]and document. - If a GDD feature has no entry in PROGRESS.md, add it.
- Update "Last updated: YYYY-MM-DD" at top of file.
Step 3 — Update GDD (only when design changed)
Modify only if:
- A mechanic was redefined
- A balance value was intentionally changed
- A new feature was designed (not just implemented)
- A
[HYPOTHESIS]section was confirmed or discarded
Rules:
- Never edit the GDD to "match the code" — code follows GDD, not vice versa.
- If code intentionally diverges, document in PROGRESS.md "Divergences" section.
- Use
gdd-writerskill for substantial design additions.
Step 4 — Update CLAUDE.md (only when architecture changed)
Modify only if:
- New autoload added
- New component / system module added
- New convention introduced (naming, file structure, signal pattern)
- New directory in project structure
- Tooling changed (new lint rule, new test framework)
Step 5 — Update README.md (only when overview changed)
Modify only if:
- Tech stack changed (Godot version bump, new addons required)
- Install / build / run command changed
- Project name, description, license, badges
- Quickstart broken
Step 6 — Cross-check
Verify pairwise consistency:
| Check | Expected |
| GDD says X | PROGRESS tracks X, code implements X |
| PROGRESS [x] for Y | Code in scripts/ actually has Y |
| CLAUDE.md describes class Z | Class Z still exists |
| README install steps | Match project.godot, addons, dependencies |
| Feature spec acceptance criteria | All present in PROGRESS or marked [?] divergence |
| Feature plan "Files: edit" | Each path exists; plan-stated diff intent matches code reality |
Feature spec [HYPOTHESIS] mechanic, status Done | Promote into the GDD's Mechanics section, drop the [HYPOTHESIS] tag |
| Feature survey hotspots | Regression tests listed in the feature plan exist under test/ |
Common divergences to flag:
- Feature
[x]in PROGRESS but no code reference - Class described in CLAUDE.md but renamed/deleted in code
- GDD value (e.g., "10 levels") differs from code constant (
MAX_LEVELS = 12) - README mentions addon not in
addons/
If divergence found, report to user before fixing — they decide whether to align doc to code or code to doc.
Divergences section in PROGRESS.md
Template:
## Divergences (GDD ↔ code)
1. **{Name}** — GDD says {X}. Code does {Y}.
- Reason: {why we diverged}
- Decision: {keep / align to GDD / update GDD}
- Date: {YYYY-MM-DD}Common mistakes
| Mistake | Consequence | Prevention |
| Update ROADMAP/PROGRESS without code check | Doc says "done", code says no | Read code before writing checkbox |
| Edit GDD to match code | Design loses authority | Use divergences section |
Mark [x] for partial features | False completeness | Use [~] with note on what's missing |
| Forget CLAUDE.md after new autoload | Future Claude doesn't know it exists | Always recheck CLAUDE.md after architecture change |
Does 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.

