update-docs
Skill60 starsChanged 34 days agoMITView on GitHub
Update existing project documentation after code changes. Detects outdated sections, updates module and feature docs, and ensures cross-references remain valid. Use this skill after implementing features, refactoring, or when documentation is known to be stale.
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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- archive-legacy-docsSkill
- author-and-verify-implementation-planSkill
- browser-walkthroughSkill
- create-planSkill
- delegate-analysisSkill
- execute-work-packageSkill
- generate-docsSkill
- generate-handoverSkill
- report-environment-issueSkill
- resume-planSkill
- review-fixSkill
- review-implementation-planSkill
- review-implementationSkill
- review-planSkill
- update-planSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
35 rules. 0 are common, 29 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 81 edited versions we read keep these.
29
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
After implementing a feature or fixing a bug that changes behavior
- Distinctive: line 26
After refactoring that affects module structure or symbols
- Distinctive: line 27
When the user says documentation is "outdated" or asks to "update docs"
- Distinctive: line 28
After a plan phase is completed and code has changed
- Very specific: line 30
Do NOT use this skill to create documentation from scratch - use generate-docs instead.
- Distinctive: line 41
When changes span multiple modules, doc-explorer SHOULD delegate per-module updates to separate doc-explorer instances via the Task tool:
- Distinctive: line 57
Check git diff for uncommitted changes
- Distinctive: line 60
Use git log --oneline -N to see recent commits
- Very specific: line 61
Use git diff <commit>..HEAD --stat to see affected files
- Distinctive: line 79
Read the affected documentation files.
- Distinctive: line 89
Update each affected document:
- Distinctive: line 92
Update Key Symbols if exports changed
- Very specific: line 93
Update Structure if files were added/removed/moved
- Distinctive: line 94
Update Dependencies if new dependencies were introduced
- Distinctive: line 95
Update Data Flow if processing logic changed
- Distinctive: line 96
Keep inventories in sync (files/dirs + symbols)
- Distinctive: line 99
Update User Flow if user-facing behavior changed
- Distinctive: line 100
Update Technical Flow if implementation approach changed
- Distinctive: line 101
Update Implementation table with new/changed symbols
- Distinctive: line 102
Update Edge Cases if new limitations discovered
- Distinctive: line 105
Update Modules table if modules were added/removed
- Distinctive: line 106
Update Features table if features were added/removed
- Distinctive: line 107
Update Architecture if high-level structure changed
- Distinctive: line 108
Update Tech Stack if new technologies introduced
- Distinctive: line 112
Check that all module links in the overview point to existing files
- Distinctive: line 113
Check that feature docs reference the correct module docs
- Distinctive: line 114
If implementation plans exist, verify they still reference current module documentation
- Distinctive: line 115
Remove references to deleted modules/features
- Distinctive: line 126
Never overwrite without reading first: Always read existing documentation before modifying.
- Distinctive: line 127
Preserve manual additions: If a section was manually enriched beyond what auto-generation would produce, preserve those additions.
- Distinctive: line 128
Incremental updates: Only update what changed. Don't regenerate entire documents.
- Very specific: line 129
Track the update: Update the frontmatter version or add a note if the template supports it.
- Very specific: line 130
No built-in explore agent: Do NOT use the built-in explore subagent type.
- Distinctive: line 132
Flag gaps: If new code lacks documentation, notify the user rather than silently ignoring it.
- Very specific: line 133
File-based interface: All updates are written to files in the docs/ directory.
“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
Skill: Update Documentation
What This Skill Does
Updates existing project documentation to reflect code changes. Handles:
- Detecting which documentation is affected by recent changes
- Updating module documentation (symbols, structure, data flow)
- Updating feature documentation (new behavior, changed flows)
- Updating the project overview (new modules, changed architecture)
- Ensuring cross-references remain valid
When to Use
- After implementing a feature or fixing a bug that changes behavior
- After refactoring that affects module structure or symbols
- When the user says documentation is "outdated" or asks to "update docs"
- After a plan phase is completed and code has changed
Do NOT use this skill to create documentation from scratch - use generate-docs instead.
Execution Model
- The primary agent spawns
doc-explorer.doc-explorermaps code changes to docs and updates files underdocs/. - Rationale: doc updates are grounded in repo state; exploration + edits belong together to avoid losing "why this section changed".
- For large change sets affecting multiple modules,
doc-explorerself-delegates per module (see Self-Delegation below). - The primary agent should keep chat output minimal (what docs changed + any gaps).
Self-Delegation
When changes span multiple modules, doc-explorer SHOULD delegate per-module updates to separate doc-explorer instances via the Task tool:
- Orchestrator instance: Identifies affected modules from git diff, spawns per-module instances
- Per-module instance: Receives scoped task ("update docs for module X, changes: ..."), reads existing doc, updates it
- Orchestrator: Updates cross-cutting artifacts (overview, feature docs), validates cross-references
This prevents token bloat from accumulating analysis of all changed modules in a single context.
Workflow
Step 1: Identify What Changed
Determine the scope of changes using one or more methods:
If changes are recent (current session):
- Review the files modified in the current session
- Check git diff for uncommitted changes
If changes are from git history:
- Use
git log --oneline -Nto see recent commits - Use
git diff <commit>..HEAD --statto see affected files - For large diffs, self-delegate per-module analysis
If the user specifies what changed:
- Focus on the modules/features the user mentions
Step 2: Map Changes to Documentation
For each changed file, determine:
- Which module does it belong to? → Update
docs/modules/<module>.md - Which features does it affect? → Update
docs/features/<feature>.md - Does it change the project structure? → Update
docs/overview.md
For changes spanning multiple modules, self-delegate per-module updates.
Step 3: Read Existing Documentation
Read the affected documentation files. Compare against the current code state:
- Are symbols still accurately described?
- Has the module structure changed (new files, moved files)?
- Have dependencies changed?
- Are data flows still correct?
- Are feature behaviors still accurately described?
Step 4: Apply Updates
Update each affected document:
Module Documentation:
- Update Key Symbols if exports changed
- Update Structure if files were added/removed/moved
- Update Dependencies if new dependencies were introduced
- Update Data Flow if processing logic changed
- Keep inventories in sync (files/dirs + symbols)
Feature Documentation:
- Update User Flow if user-facing behavior changed
- Update Technical Flow if implementation approach changed
- Update Implementation table with new/changed symbols
- Update Edge Cases if new limitations discovered
Project Overview:
- Update Modules table if modules were added/removed
- Update Features table if features were added/removed
- Update Architecture if high-level structure changed
- Update Tech Stack if new technologies introduced
Step 5: Validate Cross-References
- Check that all module links in the overview point to existing files
- Check that feature docs reference the correct module docs
- If implementation plans exist, verify they still reference current module documentation
- Remove references to deleted modules/features
Step 6: Report Changes
Present a summary:
- Which documents were updated
- What sections changed
- Any gaps found (new code that has no documentation)
Rules
- Never overwrite without reading first: Always read existing documentation before modifying.
- Preserve manual additions: If a section was manually enriched beyond what auto-generation would produce, preserve those additions.
- Incremental updates: Only update what changed. Don't regenerate entire documents.
- Track the update: Update the frontmatter
versionor add a note if the template supports it. - No built-in explore agent: Do NOT use the built-in
exploresubagent type. Self-delegate todoc-explorerinstead. - Self-delegate for scale: For large change sets spanning multiple modules, spawn additional
doc-explorerinstances per module via the Task tool. - Flag gaps: If new code lacks documentation, notify the user rather than silently ignoring it.
- File-based interface: All updates are written to files in the
docs/directory. Do not return updated content as chat messages.
Templates
This skill includes normative templates as bundled files. Only read the templates when processing them. Output MUST preserve template headings/frontmatter keys when updating docs:
tpl-project-overview.md- Expected structure for project overviewtpl-module-documentation.md- Expected structure for module documentationtpl-feature-documentation.md- Expected structure for feature documentation
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.

