update-documentation
Skill3 starsChanged 13 days agoMITView on GitHub
Analyze a codebase and update its documentation, including README files, changelogs, API documentation, inline comments, docstrings, configuration references, and usage examples.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- nexus-a1/claude-skillstheir own version, first seen Oct 17, 2026
- castacks/AirStacktheir own version, first seen Oct 9, 2026
- pwndoc/pwndoctheir own version, first seen Oct 8, 2026
- wallstop/unity-helperstheir own version, first seen Oct 8, 2026
- dawiddiwad/checkmatetheir own version, first seen Sep 20, 2026
- R3tter/claude-skillstheir own version, first seen Jun 21, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- pwndoc/pwndoc★ 2.9ksame name
- wallstop/unity-helpers★ 176same name
- castacks/AirStack★ 93same name
- dawiddiwad/checkmate★ 4same name
- brunolm/hibiki-codex★ 2same name
- andrewclark88/skills★ 1same name
- nexus-a1/claude-skills★ 1same name
- R3tter/claude-skills★ 1same name
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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- astro-expertSkill
- bulma-expertSkill
- code-reviewSkill
- frontend-accessibilitySkill
- nuxt-expertSkill
- performance-optimizerSkill
- security-auditSkill
- seo-auditSkill
- systematic-debuggingSkill
- vue-expertSkill
- web-designSkill
- website-analyzerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
59 rules. 0 are common, 59 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
59
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Keep codebase docs accurate, consistent, discoverable, aligned with current implementation.
- Distinctive: line 12
Use when user asks to:
- Distinctive: line 14
Update or improve docs.
- Distinctive: line 18
Add or improve code comments and docstrings.
- Distinctive: line 19
Document new features, APIs, config options, commands, or workflows.
- Distinctive: line 45
Only modify files affected by requested change or with demonstrably stale info.
- Distinctive: line 53
Verify documented behavior vs actual code, tests, config, scripts, command definitions.
- Distinctive: line 56
No unrelated rewrites, formatting churn, broad restructuring unless requested.
- Distinctive: line 59
Follow language, tone, heading hierarchy, terminology, formatting already used.
- Distinctive: line 62
Prefer behavior, inputs, outputs, side effects, errors, config, examples over impl details.
- Distinctive: line 74
Keep comments explaining non-obvious constraints, compat decisions, security considerations, known trade-offs.
- Distinctive: line 131
If request ambiguous, inspect code + recent changes before asking.
- Distinctive: line 152
Use tests as evidence of intended behavior.
- Distinctive: line 170
Search globally for relevant identifiers, commands, option names, env vars, URLs, version strings.
- Distinctive: line 182
Keep plan proportional to request.
- Distinctive: line 190
When updating README or guide:
- Distinctive: line 192
Keep intro concise + accurate.
- Distinctive: line 194
Verify prerequisites + supported versions.
- Distinctive: line 195
Verify setup steps + config names.
- Distinctive: line 198
Document common errors if relevant.
- Distinctive: line 199
Keep sections in logical order.
- Distinctive: line 200
Use consistent heading levels.
- Distinctive: line 201
Prefer relative links for repo-local files.
- Distinctive: line 202
Avoid secrets or machine-specific paths.
- Distinctive: line 206
Follow repo's existing changelog format.
- Distinctive: line 208
When no format exists, use clear categories:
- Distinctive: line 220
Use project's existing tense + style.
- Distinctive: line 221
Avoid impl details unless relevant to users.
- Distinctive: line 224
Avoid claiming release version unless known.
- Distinctive: line 226
Don't rewrite historical entries to improve style unless requested.
- Distinctive: line 230
Add/update comments only when they improve understanding.
- Distinctive: line 243
Avoid comments that restate code.
- Distinctive: line 256
Keep comments close to code they describe.
- Distinctive: line 275
Don't document internal impl details as public API guarantees unless project explicitly treats them as stable.
- Distinctive: line 279
Run doc-specific validation when available:
- Distinctive: line 291
Read every changed section from user perspective.
- Distinctive: line 294
Check code fences + syntax highlighting.
- Distinctive: line 295
Check command names + flags.
- Distinctive: line 296
Check env vars + defaults.
- Distinctive: line 299
Check examples match current interfaces.
- Distinctive: line 300
Check no secrets or private info added.
- Distinctive: line 302
If validation can't run, explain why.
- Distinctive: line 310
Remove accidental formatting churn.
- Distinctive: line 311
Ensure no source code modified unless requested.
- Distinctive: line 312
Ensure docs don't contradict tests or implementation.
- Distinctive: line 315
Check for duplicated or conflicting instructions.
- Distinctive: line 327
Add unsupported features to docs.
- Distinctive: line 329
Add deps solely for docs.
- Distinctive: line 330
Remove comments without understanding purpose.
- Distinctive: line 332
Update generated files manually when produced by documented generator.
- Distinctive: line 334
If generated docs involved:
- Distinctive: line 340
Verify generated changes limited + expected.
- Distinctive: line 344
Add changelog entry when change affects users, operators, devs consuming public API, or maintainers upgrading.
- Distinctive: line 366
If user asks for doc updates but no release version, add unreleased entry only when consistent with project's changelog convention.
- Distinctive: line 370
Ask clarifying question when:
- Distinctive: line 384
Use commands appropriate for repo + environment.
- Distinctive: line 396
Don't run destructive commands.
- Distinctive: line 400
After completing work, report:
- Distinctive: line 407
Follow-up docs still useful.
“Common” is measured: kept by at least 6 in 10 of the 8 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 Documentation
Purpose
Keep codebase docs accurate, consistent, discoverable, aligned with current implementation.
Use when user asks to:
- Update or improve docs.
- Sync docs with recent code changes.
- Review README.
- Update changelog.
- Add or improve code comments and docstrings.
- Document new features, APIs, config options, commands, or workflows.
- Identify and fix outdated, incomplete, or misleading docs.
- Prepare doc changes for release.
Prioritize factual accuracy over verbosity. Never document behavior not verifiable from repo.
Documentation Scope
Inspect and update docs in these areas when relevant:
README.mdand localized README files.CHANGELOG.md, release notes, migration guides.- Markdown in
docs/,documentation/, or similar dirs. - API documentation.
- Code comments and docstrings.
- CLI help text and command docs.
- Config reference documentation.
- Env var documentation.
- Install and setup instructions.
- Usage examples and tutorials.
- Architecture and design docs.
- Contributing guidelines.
- Examples and sample config files.
- Docs generated from source annotations.
- Links, references, badges, version info.
Only modify files affected by requested change or with demonstrably stale info.
Core Principles
- Inspect before editing. Understand repo structure, dev conventions, existing doc style before changes.
- Use implementation as source of truth. Verify documented behavior vs actual code, tests, config, scripts, command definitions.
- Make focused changes. No unrelated rewrites, formatting churn, broad restructuring unless requested.
- Preserve existing voice and structure. Follow language, tone, heading hierarchy, terminology, formatting already used.
- Document user-visible behavior. Prefer behavior, inputs, outputs, side effects, errors, config, examples over impl details.
- Keep examples executable or realistic. Valid commands, current APIs, correct paths, realistic values.
- Avoid duplication. Link to canonical source instead of copying.
- Do not hide uncertainty. State uncertainty, ask user instead of inventing details.
- Preserve intentional comments. Keep comments explaining non-obvious constraints, compat decisions, security considerations, known trade-offs.
- Keep docs maintainable. Concise, structured, easy to update as code evolves.
Required Workflow
1. Establish Repository Context
Before editing, inspect:
- Repo root.
- Project type + primary languages.
- Package/build manifests.
- Existing doc files.
- Contribution + style guidelines.
- Git status + recent history, when available.
- Test + validation commands.
- CI configuration.
- Release + versioning conventions.
Useful files may include:
README.mdCHANGELOG.mdCONTRIBUTING.mdpackage.jsonpyproject.tomlCargo.tomlgo.modpom.xmlbuild.gradleMakefileDockerfile.github/docs/src/lib/app/tests/
Discover repo structure first. Don't assume files exist.
2. Understand the Requested Change
Map user request to concrete doc tasks.
Determine:
- Which behavior, feature, API, command, or workflow changed.
- Which users affected.
- Which doc files likely affected.
- Whether change needs changelog entry.
- Whether migration/upgrade instructions needed.
- Whether inline comments or docstrings need updating.
- Whether examples, screenshots, diagrams, config references now stale.
If request ambiguous, inspect code + recent changes before asking.
3. Inspect the Relevant Implementation
Trace documented behavior to its implementation.
Inspect:
- Public functions, classes, modules, endpoints.
- CLI commands + argument parsing.
- Config loading + defaults.
- Env vars.
- Error handling + exit codes.
- Auth + authorization behavior.
- Serialization + response formats.
- Feature flags.
- Database migrations.
- Build/deployment scripts.
- Tests + fixtures.
- Recent commits/diffs related to requested change.
Use tests as evidence of intended behavior. Don't assume tests cover every use case.
4. Search for Documentation Drift
Search for:
- References to renamed symbols.
- Removed commands or options.
- Outdated version numbers.
- Incorrect default values.
- Stale file paths.
- Broken or obsolete links.
- Examples no longer matching API.
- Config options no longer supported.
- Missing docs for new public behavior.
- Comments contradicting implementation.
- Duplicate or conflicting instructions.
Search globally for relevant identifiers, commands, option names, env vars, URLs, version strings.
5. Create a Documentation Plan
Before editing, identify:
- Files to modify.
- Files to add, if needed.
- Files that should stay unchanged.
- Reason for each modification.
- Validation commands to run.
Keep plan proportional to request. Small code change may only need short changelog entry + one README update.
6. Edit Documentation
Apply smallest complete set of changes.
README and Guides
When updating README or guide:
- Keep intro concise + accurate.
- Verify install commands.
- Verify prerequisites + supported versions.
- Verify setup steps + config names.
- Verify command examples.
- Explain expected output where useful.
- Document common errors if relevant.
- Keep sections in logical order.
- Use consistent heading levels.
- Prefer relative links for repo-local files.
- Avoid secrets or machine-specific paths.
Changelogs
Follow repo's existing changelog format.
When no format exists, use clear categories:
- Added
- Changed
- Fixed
- Deprecated
- Removed
- Security
Changelog entries should:
- Describe user-visible impact.
- Use project's existing tense + style.
- Avoid impl details unless relevant to users.
- Mention breaking changes explicitly.
- Include migration guidance when needed.
- Avoid claiming release version unless known.
Don't rewrite historical entries to improve style unless requested.
Comments and Docstrings
Add/update comments only when they improve understanding.
Good comments explain:
- Why non-obvious decision exists.
- Important invariants.
- Compatibility behavior.
- Security constraints.
- Performance trade-offs.
- Workarounds for external limitations.
- Preconditions + side effects.
- Public API behavior not obvious from signature.
Avoid comments that restate code.
For public APIs, document when relevant:
- Parameters.
- Return values.
- Exceptions or errors.
- Side effects.
- Threading or async behavior.
- Config requirements.
- Compatibility constraints.
- Examples.
Keep comments close to code they describe.
API Documentation
For public APIs, verify and document:
- Endpoint or function purpose.
- Method + path, when applicable.
- Auth requirements.
- Parameters + types.
- Required + optional fields.
- Default values.
- Return format.
- Error responses.
- Pagination, filtering, sorting behavior.
- Rate limits or retries.
- Compatibility + deprecation status.
- Minimal valid examples.
Don't document internal impl details as public API guarantees unless project explicitly treats them as stable.
7. Validate the Changes
Run doc-specific validation when available:
- Markdown linting.
- Link checking.
- Doc builds.
- API doc generation.
- Example tests.
- CLI help verification.
- Repo-provided validation scripts.
Manual checks:
- Read every changed section from user perspective.
- Check heading hierarchy.
- Check links + anchors.
- Check code fences + syntax highlighting.
- Check command names + flags.
- Check env vars + defaults.
- Check version references.
- Check terminology consistency.
- Check examples match current interfaces.
- Check no secrets or private info added.
If validation can't run, explain why.
8. Review the Diff
Before finishing:
- Inspect final diff.
- Confirm only relevant files changed.
- Remove accidental formatting churn.
- Ensure no source code modified unless requested.
- Ensure docs don't contradict tests or implementation.
- Confirm changelog wording appropriate.
- Confirm comments explain intent, not restate code.
- Check for duplicated or conflicting instructions.
Safety and Change Boundaries
Unless explicitly requested, do not:
- Change app behavior.
- Change public APIs.
- Rename code symbols.
- Modify tests to make docs pass.
- Rewrite entire README.
- Rewrite historical changelog entries.
- Add unsupported features to docs.
- Invent config options, defaults, or compat guarantees.
- Add deps solely for docs.
- Remove comments without understanding purpose.
- Include credentials, tokens, private URLs, or sensitive internal info.
- Update generated files manually when produced by documented generator.
If generated docs involved:
- Identify source files.
- Determine project's generation command.
- Update source.
- Regenerate output only if repo conventions require committed generated files.
- Verify generated changes limited + expected.
Changelog Policy
Add changelog entry when change affects users, operators, devs consuming public API, or maintainers upgrading.
Usually add entry for:
- New features.
- Breaking changes.
- New or changed config.
- Changed CLI commands.
- Changed API behavior.
- Bug fixes with user-visible impact.
- Security fixes, following repo policy.
- Deprecations or removals.
- New supported platforms or runtimes.
Usually skip entry for:
- Purely internal refactoring.
- Comment-only changes.
- Formatting-only changes.
- Test-only changes.
- Doc typo fixes, unless project tracks them explicitly.
If user asks for doc updates but no release version, add unreleased entry only when consistent with project's changelog convention.
Handling Ambiguity
Ask clarifying question when:
- Multiple incompatible interpretations plausible.
- Required behavior not verifiable from codebase.
- Release version required but unknown.
- Requested docs would expose sensitive info.
- Repo has conflicting doc conventions.
- Change would alter app behavior.
- User requests guarantee implementation doesn't support.
Otherwise, make smallest reasonable assumption, document only verifiable facts, mention assumption in final report.
Suggested Inspection Commands
Use commands appropriate for repo + environment. Examples:
pwd
find . -maxdepth 2 -type f | sort
git status --short
git diff -- README.md CHANGELOG.md
git log -n 10 --oneline
rg -n "TODO|FIXME|deprecated|DEPRECATED" .
rg -n "COMMAND|OPTION|ENVIRONMENT_VARIABLE|PUBLIC_SYMBOL" .Don't run destructive commands. Don't discard user changes.
Final Response
After completing work, report:
- Concise summary of doc updates.
- Files changed.
- Assumptions or unresolved questions.
- Validation commands run.
- Validation not run + reason.
- Follow-up docs still useful.
Use concise format:
## Documentation updated
- Updated `README.md` with the new configuration workflow.
- Added an unreleased entry to `CHANGELOG.md`.
- Updated the public API docstring in `src/example.py`.
## Validation
- Ran: `make docs`
- Ran: `markdownlint README.md`
- Manually verified command examples and internal links.
## Notes
- No application behavior was changed.
- The release version was not specified, so the changelog entry was added under `Unreleased`.Final response must not claim docs validated if command not actually run.
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.

