documentation-maintenance
Skill0 starsChanged 4 months agoMITView on GitHub
Keeps README, API docs, architecture notes, ADRs, and changelogs accurate when code changes by identifying which documents a change invalidates, documenting rationale, keeping setup instructions and examples runnable, updating the changelog with user-visible changes, and removing stale content. Use when code, configuration, commands, interfaces, or behavior change and documentation must be updated, or when writing an ADR or changelog entry.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- gootf/software-agent-soptheir own version, first seen Aug 30, 2026
- Andiedie/skillstheir own version, first seen Aug 19, 2026
- jpolec/odysseustheir own version, first seen Aug 17, 2026
- Nick2bad4u/codex-skillstheir own version, first seen Jun 19, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- jpolec/odysseus★ 9same name
- gootf/software-agent-sop★ 2same name
- Andiedie/skills★ 0same name
- Nick2bad4u/codex-skills★ 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 repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-tool-interface-designSkill
- codebase-explorationSkill
- code-reviewSkill
- copilot-cloud-agentSkill
- external-skill-reviewSkill
- git-and-pr-workflowSkill
- parallel-worktree-deliverySkill
- planning-and-task-breakdownSkill
- refactoring-and-dead-code-removalSkill
- repository-agent-bootstrapSkill
- requirements-and-spec-writingSkill
- security-reviewSkill
- shadow-architectureSkill
- shadow-dreamSkill
- shadow-driftSkill
- shadow-observeSkill
- skill-creatorSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- verification-disciplineSkill
- wayfinder-planningSkill
- web-research-and-verificationSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
10
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 13
Keep documentation true to the code.
- Distinctive: line 26
Search the documentation for the names, commands, flags, paths, and values the change touched.
- Distinctive: line 36
Keep setup instructions executable and verified: Run the documented setup and command sequence, or trace it exactly, and confirm it still …
- Distinctive: line 39
Keep examples runnable: Ensure code samples compile or run against the current interfaces.
- Distinctive: line 41
Remove stale content; do not append to it: Delete or rewrite the outdated passage rather than adding a correction beside it.
- Distinctive: line 48
Write an ADR when a change makes or reverses a significant, hard-to-undo decision, such as a technology choice, an interface contract, or a …
- Distinctive: line 56
Do not edit an accepted ADR's decision after the fact.
- Distinctive: line 61
Update the changelog whenever a change is visible to users of the software.
- Distinctive: line 63
Add an entry under the unreleased section using the changelog entry format.
- Distinctive: line 67
Call out breaking changes explicitly and describe the migration.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Keep documentation true to the code. Out-of-date docs mislead humans and agents and are often worse than none. Treat documentation as part of the change, not a follow-up.
Identify What a Change Invalidates
- Review the change and list every document it could contradict:
- README — setup, commands, prerequisites, and feature summaries.
- API docs — signatures, parameters, return values, errors, and examples.
- Architecture notes — component responsibilities, data flow, and diagrams.
- ADRs — decisions the change reverses, supersedes, or fulfills.
- Changelog — any user-visible addition, change, fix, or removal.
- Inline comments and docstrings near the edited code.
- Search the documentation for the names, commands, flags, paths, and values the change touched. Renamed or removed identifiers are a common source of staleness.
- Decide for each affected document whether to update, supersede, or delete content. Do not leave a contradiction unresolved.
Update Principles
- Document rationale, not just mechanics. Explain why something works the way it does and what constraint it satisfies, so a reader can adapt it rather than copy it blindly. The code already shows the mechanics.
- Keep setup instructions executable and verified. Run the documented setup and command sequence, or trace it exactly, and confirm it still works. Update any step the change altered.
- Keep examples runnable. Ensure code samples compile or run against the current interfaces. A broken example is a defect.
- Remove stale content; do not append to it. Delete or rewrite the outdated passage rather than adding a correction beside it. Layered corrections rot fast.
- Use consistent terminology with the code and the rest of the documentation.
- Use relative links within the repository so they survive relocation.
Architecture Decision Records
Write an ADR when a change makes or reverses a significant, hard-to-undo decision, such as a technology choice, an interface contract, or a structural boundary.
- Copy the ADR template.
- Record the context and forces, the decision, the alternatives considered and why they were rejected, and the consequences including trade-offs.
- Give the ADR a stable number and a status: proposed, accepted, superseded, or deprecated.
- Do not edit an accepted ADR's decision after the fact. Supersede it with a new ADR that links back to the one it replaces, preserving the history.
Changelog
Update the changelog whenever a change is visible to users of the software.
- Add an entry under the unreleased section using the changelog entry format.
- Classify it as Added, Changed, Deprecated, Removed, Fixed, or Security.
- Describe the effect on the user, not the internal implementation.
- Call out breaking changes explicitly and describe the migration.
- Skip purely internal changes with no user-visible effect, such as a refactor that alters no behavior.
Verify
- Re-read each updated document in full for internal consistency.
- Confirm every documented command and example was checked against the current code, and note which were run.
- Confirm no contradiction, dead link, or stale identifier remains.
Report
Return: the documents updated, superseded, or deleted; the commands and examples verified and their result; any ADR added or superseded; the changelog entry; and any documentation gap left for follow-up.
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.

