doc-maintenance
Skill0 starsChanged 2 months agoMITView on GitHub
Workflow skill for proactively updating stale docs and fixing docs path/layout drift. Use when: docs in README.md or docs/** are outdated, command usage has changed, or documentation file/folder placement changed.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- wefio/NodeMemoryGraphtheir own version, first seen Nov 5, 2026
- Hans010101/bitworldtheir own version, first seen Oct 20, 2026
- ever-works/skillstheir own version, first seen Oct 9, 2026
- paperclipai/papercliptheir own version, first seen Oct 8, 2026
- jugol/workcelltheir own version, first seen Jul 4, 2026
- microsoft/amplifier-app-papercliptheir own version, first seen Jun 5, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- paperclipai/paperclip★ 112ksame name
- ancilis/bedlam★ 15same name
- ever-works/skills★ 1same name
- Hans010101/bitworld★ 1same name
- jpoindexter/theft-kit★ 1same name
- jugol/workcell★ 1same name
- microsoft/amplifier-app-paperclip★ 1same name
- wefio/NodeMemoryGraph★ 0same 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 repository3 other files it gives its agents.
- adversarial-reviewSkill
- feature-implementationSkill
- git-commit-push-prSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
38 rules. 0 are common, 34 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
34
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 16
Update references when docs files/folders move
- Very specific: line 17
Keep README.md, docs/, .github guidance, and guidance assets aligned
- Distinctive: line 18
Prefer minimal, surgical edits.
- Distinctive: line 35
When documentation conflicts with repository behavior, treat executable or authoritative repository sources as the source of truth.
- Distinctive: line 44
Never change working code solely to make it match stale documentation unless the user explicitly requests a behavior change.
- Distinctive: line 50
Run this workflow when any of the following happens:
- Distinctive: line 73
Verify docs links and relative paths from each markdown file location
- Distinctive: line 79
If there are many changes, or if it appears there will be many, please summarize the detected drifts:
- Distinctive: line 101
If uncertainty remains, ask focused clarification before editing.
- Distinctive: line 107
Keep changes limited to documentation accuracy and coherence.
- Distinctive: line 110
Keep short, contextual examples inline when they improve readability
- Distinctive: line 114
When adding locale-specific docs with untranslated bodies, add a clear placeholder note near the top to avoid misleading readers
- Very specific: line 115
Use native language labels in locale document headings where practical (for example, हिन्दी, 한국어, 简体中文, 繁體中文)
- Very specific: line 118
Update cross-references in .github docs if docs paths changed.
- Distinctive: line 122
Update contributor guidance that cites the old path.
- Distinctive: line 126
Update stale command text and explanations
- Distinctive: line 127
If examples are intentionally shared across multiple documents, use an existing shared examples/assets directory rather than introducing a …
- Distinctive: line 134
Run the repository's relevant build, test, or documentation validation commands when documentation changes could affect them.
- Distinctive: line 135
Verify no broken internal links in edited docs
- Very specific: line 138
Search for stale references to the old command, path, filename, or terminology using repository-wide search tools (e.g., grep, rg, IDE …
- Distinctive: line 146
Do not change runtime behavior to accommodate stale documentation.
- Distinctive: line 147
Avoid unrelated refactors and metadata changes.
- Distinctive: line 156
Keep examples short and contextual when inline examples improve readability.
- Distinctive: line 157
Use shared example files when the same large example is repeated and an existing assets directory is available.
- Distinctive: line 161
Keep paired documentation in bilingual parity when applicable.
- Distinctive: line 163
Use native language labels in locale headings where practical.
- Distinctive: line 168
Update inbound references and contributor guidance after a move.
- Distinctive: line 174
When a documented command differs from actual workflow:
- Distinctive: line 176
Update command in docs
- Distinctive: line 177
Update explanation text that depends on the old command
- Distinctive: line 178
Update troubleshooting guidance if symptoms changed
- Distinctive: line 182
When documentation files have been intentionally moved or renamed:
- Distinctive: line 190
When setup snippets repeat in multiple guides:
- Distinctive: line 192
Prefer an existing shared examples/assets directory when one exists.
- Distinctive: line 195
Keep local guide text concise and task-oriented.
- Distinctive: line 199
When adding language-specific guide files before full translation is ready:
- Distinctive: line 201
Keep heading language label consistent with native naming conventions
- Distinctive: line 202
Add a short note near the top that the body is currently an English placeholder
“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
Documentation Maintenance Skill
Overview
This skill standardizes how to keep repository documentation accurate when command usage, setup steps, or file placement changes over time.
Primary goals:
- Detect stale command examples and outdated explanations
- Update references when docs files/folders move
- Keep
README.md,docs/**,.githubguidance, and guidance assets aligned - Prefer minimal, surgical edits; only reorganize structure when necessary to resolve path/layout drift or duplicated/conflicting instructions
- Preserve existing terminology, tone, and formatting conventions unless they are incorrect or inconsistent.
Scope
Default inclusion:
README.mdand other repository-level documentationdocs/**- contributor/developer guidance files
- agent instruction files
- documentation-related examples and assets when relevant
Source of Truth
When documentation conflicts with repository behavior, treat executable or authoritative repository sources as the source of truth.
Prefer, in order:
- Explicit user requirements
- Current intended behavior confirmed by implementation/configuration and tests
- Automated CI workflows
- Existing documentation
- Historical documentation or assumptions
Never change working code solely to make it match stale documentation unless the user explicitly requests a behavior change.
Workflow
1. Inspect repository
Run this workflow when any of the following happens:
- Documentation may be stale after a code or configuration change
- A command, option, API, setup step, or workflow has changed
- Documentation files or directories have been moved or renamed
- Broken links or invalid paths are reported
- A pull request changes behavior that is documented in README.md or docs/
Inspect the relevant repository sources before editing.
Compare documentation against only the authoritative repository sources relevant to the documented behavior, such as:
- package.json / pyproject.toml / Cargo.toml / go.mod / Makefile
- CLI argument definitions
- configuration files
- CI workflows
- source code and exported APIs
- existing documentation indexes
2. Detect drift
Find where docs are stale or paths are invalid:
- Verify docs links and relative paths from each markdown file location
- Detect folder placement drift (moved/renamed docs files)
- Identify duplicated instructions that should point to a shared source file
Output format:
If there are many changes, or if it appears there will be many, please summarize the detected drifts:
Drift Report
- Command drift: [file + section + expected command]
- Path drift: [file + broken link + corrected link]
- Structure drift: [old path -> new path]3. Determine scope
Objective: Confirm update boundaries before editing.
Default inclusion:
README.md,docs/**,.githubguidance docs, guidance assets
Default exclusion:
- Runtime source code behavior changes
- Dependency upgrades unrelated to doc accuracy
If uncertainty remains, ask focused clarification before editing.
4. Update docs
Objective: Decide how to update docs safely and consistently.
- Keep changes limited to documentation accuracy and coherence.
- Preserve existing terminology, tone, and formatting conventions unless they are incorrect or inconsistent.
- Keep short, contextual examples inline when they improve readability
- Consolidate large or frequently duplicated examples only when a shared source materially reduces maintenance cost
- Preserve bilingual parity for paired docs when applicable
- When adding locale-specific docs with untranslated bodies, add a clear placeholder note near the top to avoid misleading readers
- Use native language labels in locale document headings where practical (for example,
हिन्दी,한국어,简体中文,繁體中文) - Rewrite outdated file links using valid relative paths.
- Update cross-references in
.githubdocs if docs paths changed. - Confirm the new location from the repository state/history or user request.
- Update inbound references.
- Update contributor guidance that cites the old path.
Execution checklist:
- Update stale command text and explanations
- If examples are intentionally shared across multiple documents, use an existing shared examples/assets directory rather than introducing a new structure unnecessarily.
- Replace duplicated large or frequently changing examples with links to shared example files when this improves maintainability.
5. Validate
Confirm documentation is internally consistent:
- Run the repository's relevant build, test, or documentation validation commands when documentation changes could affect them.
- Verify no broken internal links in edited docs
- Confirm referenced files actually exist
- Confirm and review no unintended files were modified (
git statusandgit diff) to ensure changes are limited to the intended documentation updates. - Search for stale references to the old command, path, filename, or terminology using repository-wide search tools (e.g.,
grep,rg, IDE search).
Rules
Minimal changes
- Do not change runtime behavior to accommodate stale documentation.
- Avoid unrelated refactors and metadata changes.
Links and paths
- Resolve relative links from the location of each Markdown file.
- Confirm every referenced file and directory exists after an update.
Examples
- Keep examples short and contextual when inline examples improve readability.
- Use shared example files when the same large example is repeated and an existing assets directory is available.
Localization
- Keep paired documentation in bilingual parity when applicable.
- Clearly mark untranslated locale documents as English placeholders.
- Use native language labels in locale headings where practical.
File moves
- Confirm the destination path from repository state, history, or the user's request.
- Update inbound references and contributor guidance after a move.
Common Patterns
Pattern A: Command usage drift
When a documented command differs from actual workflow:
- Update command in docs
- Update explanation text that depends on the old command
- Update troubleshooting guidance if symptoms changed
Pattern B: File placement drift
When documentation files have been intentionally moved or renamed:
- Confirm the new location from the repository state/history or user request.
- Update inbound references.
- Update contributor guidance that cites the old path.
Pattern C: Shared setup examples
When setup snippets repeat in multiple guides:
- Prefer an existing shared examples/assets directory when one exists.
- Move canonical snippets there only when doing so materially reduces maintenance cost.
- Link from each guide section to the canonical file.
- Keep local guide text concise and task-oriented.
Pattern D: Locale docs with placeholder content
When adding language-specific guide files before full translation is ready:
- Keep heading language label consistent with native naming conventions
- Add a short note near the top that the body is currently an English placeholder
- Reflect this status in
README.mddocumentation index if relevant
Reporting
Report completed work with a concise summary of changed commands, paths, structure, and validation results.
Example Run
User request:
"README.md and docs setup commands are outdated, and docs folders changed."
Skill output summary:
- Updated stale setup commands in README/docs
- Repointed broken links to new docs paths
- Consolidated devcontainer examples under docs/guidance/assets
- Replaced duplicate snippets with references in prerequisites sectionsWhen This Skill Does NOT Apply
- Implementing runtime features unrelated to documentation
- Fixing application bugs without documentation impact
- Broad dependency migration not tied to docs accuracy
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.

