update-docs
Skill1 starsChanged 4 days agoMITView on GitHub
Bring all documentation in the repository in line with the code (the code is the source of truth) and make it read as one coherent body of work.
- Reads credentials
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
- 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
- maideps/ai-harness-frameworktheir 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 repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- broSkill
- create-my-skillSkill
- glassmorphismSkill
- swiftui-designSkill
- humanizerSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-gainSkill
- ponytail-helpSkill
- ponytail-reviewSkill
- ponytailSkill
- clean-up-git-historySkill
- commit-msgSkill
- diagnoseSkill
- fixSkill
- grill-meSkill
- implementSkill
- loopSkill
- subagentsSkill
- verify-appSkill
- sudo-ssh-authSkill
- web-app-secSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 13 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 81 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Accuracy: Every statement matches the code.
- Distinctive: line 19
Verifiable claims only: Do not add unverifiable statements.
- Distinctive: line 22
Do not translate: Keep each document's language.
- Very specific: line 24
No secrets: Never copy real values from .env, vaults, keys, or tokens into docs.
- Very specific: line 42
If the scope has more than 15 files, split the work across parallel explore subagents by module or documentation directory.
- Distinctive: line 46
Before editing, derive a style guide from the repository itself:
- Very specific: line 48
If the project already defines one (CONTRIBUTING*, a docs style guide, .markdownlint*, .vale.ini, .editorconfig, AGENTS.md), follow it.
- Distinctive: line 56
Keep the resulting rules in mind for the whole run.
- Distinctive: line 93
Do not break the table of contents, numbering, or anchors.
- Distinctive: line 96
Update tables, lists, and diagrams as a whole rather than piecemeal, so old and new content are not mixed.
- Distinctive: line 97
Create a new section only if there is no suitable place for the topic.
- Distinctive: line 98
Do not add dates, "updated on..." notes, mentions of this command, or comments about the edits to the docs themselves.
- Distinctive: line 102
Check that internal links and anchors point to existing files and headings.
- Very specific: line 103
Run safe read-only commands from the docs (--help, --version, config validate, lint, docker compose config, and similar) and compare their …
- Distinctive: line 104
If the project has a documentation linter configured (markdownlint, vale, yamllint, etc.), run it on the changed files.
- Distinctive: line 110
Keep the answer short and do not restate the obvious:
- Distinctive: line 116
If no discrepancies or inconsistencies were found, say so in one sentence.
“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 docs
Two goals, in this priority order:
- Accuracy. Every statement matches the code.
- Consistency. Structure, formatting, terminology, and tone are uniform across all docs.
An optional argument after the command narrows the scope (a path, module, or topic, e.g. /update-docs services/api). Without an argument, the whole repository is processed.
Principles
- Do not touch the code. In code files only comments and docstrings may be changed, never executable code. If the code looks like a bug rather than intended behavior, do not "fix" the code or bend the docs toward the desired behavior: describe the actual behavior and raise the question in the report.
- Verifiable claims only. Do not add unverifiable statements. Leave existing unverifiable ones unchanged and list them in the report.
- Content changes need evidence, style changes need a convention. Do not alter the meaning of correct text. Restyle freely, but only toward a convention established in step 2, never by personal taste.
- One voice. New and edited text must be indistinguishable from the rest of the docs. Do not leave a file half-old, half-new in style.
- Do not translate. Keep each document's language. If languages are mixed across docs, report it instead of translating.
- History is read-only. ADRs, RFCs, CHANGELOGs, release notes, migration notes, and archives describe the past; do not rewrite them. If something in them misleads readers today, mention it in the report.
- No secrets. Never copy real values from
.env, vaults, keys, or tokens into docs. Use placeholders and variable names only. - Do not edit generated files. Files marked as auto-generated are updated through their generator. If a generator exists, run it; otherwise note it in the report.
Workflow
1. Inventory
Build the list of documentation with git ls-files so that .gitignore is respected. Exclude node_modules, vendor, dist, build, lock files, and generated artifacts.
Look for:
- Markdown, reStructuredText, AsciiDoc, and plain-text docs:
README*,docs/**,CONTRIBUTING*,ARCHITECTURE*,SECURITY*,AGENTS.md,CLAUDE.md, wiki directories,*.md,*.rst,*.adoc - Agent rules and instructions:
.cursor/rules/**,.cursor/commands/**,.github/copilot-instructions.md - API specs: OpenAPI/Swagger, GraphQL schemas, protobuf comments, Postman collections
- Config examples and their descriptions:
.env.example,*.example.*,*.sample.*, comments indocker-compose*, Helmvalues.yaml,Makefile(help) - Auxiliary docs: READMEs in subdirectories, doc comments in CI pipelines, Issue/PR templates
- Docstrings and JSDoc of the public API, when they diverge from signatures you are already reading
If the scope has more than 15 files, split the work across parallel explore subagents by module or documentation directory. Each subagent verifies its slice and returns a list of discrepancies with evidence.
2. Establish the style convention
Before editing, derive a style guide from the repository itself:
- If the project already defines one (
CONTRIBUTING*, a docs style guide,.markdownlint*,.vale.ini,.editorconfig,AGENTS.md), follow it. - Otherwise, take the dominant convention among the existing docs, with the root
READMEas the tie-breaker. Look at:- heading levels, capitalization (sentence vs. title case), and section order for similar documents (README, module README, runbook)
- list markers, numbering style, indentation, and table format
- code fence languages, shell prompt style (
$or none), inline-code usage for paths, commands, variables, and flags - terminology and spelling of product, service, and component names, and one term per concept
- tone and person (imperative vs. descriptive, "you" vs. impersonal), admonition and note style, link style (relative paths, reference links)
- line wrapping, blank lines, trailing newline, and diagram language (Mermaid vs. ASCII)
- Keep the resulting rules in mind for the whole run; mention in the report only those that caused notable changes.
3. Extract claims
For each document, list the verifiable facts:
- install, run, build, test, lint, and deploy commands
- paths, directory layout, file and module names
- environment variables, CLI flags, config keys, default values
- ports, hosts, URLs, endpoints, methods, request and response formats
- versions of languages, runtimes, dependencies, and images
- architecture: components, relationships, data flows, diagrams (Mermaid, ASCII, images with captions)
- roles, permissions, processes, dependencies between steps
- code and output examples
- internal links, anchors, and file references with line numbers
4. Verify against the code
For every claim, find the source of truth: code, manifests, configs, schemas, CI, Dockerfiles, migrations. Prefer the executable over the descriptive: a real argument parser outranks the --help text in a README, and a real settings module outranks a variable table.
Also collect what is in the code but missing from the docs: new variables, commands, services, endpoints, required setup steps. These are gaps, and they are filled where the document already covers an adjacent topic.
Classify each finding:
| Type | Action |
| Wrong | Fix according to the code |
| Outdated (removed or renamed) | Remove or rename the mention along with dependent paragraphs |
| Gap | Add a short description in the appropriate place |
| Dead link or anchor | Fix it; remove it if the target no longer exists |
| Duplicate or cross-doc contradiction | Align with the code and, where possible, link instead of copying |
| Style inconsistency (formatting, terminology, tone, structure) | Normalize to the convention from step 2 |
| Unclear (intended or a bug, no unambiguous source) | Do not change; include in the report |
5. Edit
- Edit file by file, fixing facts and normalizing style in the same pass, so each file is touched once.
- Do not break the table of contents, numbering, or anchors. If you rename a heading, update every link that points to it, including from other files.
- Apply terminology changes repo-wide, not in a single file.
- Command examples must work as written: correct paths, flags, and order.
- Update tables, lists, and diagrams as a whole rather than piecemeal, so old and new content are not mixed.
- Create a new section only if there is no suitable place for the topic. Create a new documentation file only if unavoidable, and link it from an existing one.
- Do not add dates, "updated on..." notes, mentions of this command, or comments about the edits to the docs themselves.
6. Validate
- Check that internal links and anchors point to existing files and headings.
- Run safe read-only commands from the docs (
--help,--version,config validate,lint,docker compose config, and similar) and compare their output with what is written. Do not run deploys, migrations, deletions, outbound network calls, or anything that changes state. - If the project has a documentation linter configured (markdownlint, vale, yamllint, etc.), run it on the changed files.
- Review the final
git diffand make sure only docs changed. In code files, only comments and docstrings may differ, never executable code. Style edits must not alter meaning, code blocks, or command output. - Spot-check consistency: similar documents should now share structure, formatting, and terminology.
7. Report
Keep the answer short and do not restate the obvious:
- Changed — per file, one line on the substance of each factual edit. Style normalization is summarized once, as the conventions applied, not per file.
- Unconfirmed or needs a decision — what exactly, where in the docs, where in the code, and how they differ. Include possible code bugs, outdated historical docs, and mixed document languages here.
- Not checked — what was skipped and why (e.g. requires access to an external system).
If no discrepancies or inconsistencies were found, say so in one sentence.
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.

