docs-audit
Skill3 starsChanged 3 months agoApache-2.0View on GitHub
Use when a repository with docs/index.json needs judgement about what its documents still claim — a periodic docs review, "are these docs stale", a plan that says it is done, an unverified state document, a review_by date that passed, a change that may have invalidated documents. Not for sorting (docs-sort), moving (docs-promote) or a red gate (docs-gate).
4 other projects use a version of this.
Adopted by
Most recently taken up by
- colonyops/hivetheir own version, first seen Oct 5, 2026
- willdady/platypustheir own version, first seen Oct 2, 2026
- strands-agents/harness-sdktheir own version, first seen Oct 1, 2026
- lifekit-hq/devclawtheir own version, first seen Sep 7, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- strands-agents/harness-sdk★ 8.7ksame name
- willdady/platypus★ 114same name
- colonyops/hive★ 37same name
- lifekit-hq/devclaw★ 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 repository4 other files it gives its agents.
- docs-adoptSkill
- docs-gateSkill
- docs-promoteSkill
- docs-sortSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Run these as npx docs-notary … (npm install) or node scripts/<script>.mjs (vendored — the script names differ from the command names: check …
- Distinctive: line 30
Before claiming a state document is current, run its evidence:
- Very specific: line 63
Never stamp shipped on the strength of a plan's own prose.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Audit the documents
The gate proves the tree is well-formed. It cannot prove a document is true. This skill is the part that needs a reader: run the three reporting commands, then decide, document by document.
1. Run the three reports
docs-notary advisory # updated-drift, code-pointer, verification-drift
docs-notary check # warnings: shipped-code, upstream, review, evidence-lock
docs-notary impact --base <ref> # documents whose claims cover the paths a change touchedRun these as npx docs-notary … (npm install) or node scripts/<script>.mjs (vendored — the script names differ from the command names: check is check-docs.mjs, new is new-doc.mjs, mv is mv-doc.mjs, gen is gen-docs-index.mjs); a bare
docs-notary is on PATH only inside an npm script.
advisory and impact never block; check blocks only on its errors — the four warnings named
above print and exit 0 either way. advisory's headline for each rule carries the id, with the
documents it found indented below; check's lines each carry their own id; impact's lines carry
no id at all. Group the output by document before deciding; one file often trips three rules for
one cause.
2. Verify before you believe
Before claiming a state document is current, run its evidence:
docs-notary verify --only docs/<tier>/<name>.md --stampIt runs the document's command evidence, hashes its path evidence into <docsDir>/evidence-lock.json,
and stamps verified_on only where everything passed — a date you can defend instead of one you
typed. It skips a document with no evidence: list entirely, so it can never clear
verification-drift on one that has code: but no evidence — add an evidence: entry, or move
verified_on only after checking the code by hand. It is the only
command that executes anything written in a document: the gate never runs it, the edit hook never
runs it, and docs-notary init wires no script to it — a consumer's CI runs it only if someone
adds that step by hand (this tool's own CI does, as a smoke test on the installed package). Invoke
it deliberately, and read the evidence lines of an untrusted document first. Never run verify
on a branch you have not read.
3. Decide, per document
| The report says | Do |
updated-drift: the document was committed after its updated: date | Read the diff since that date. Bump updated if the edit was substantive; otherwise leave it — a whitespace or generated-file commit does not need a new date. |
code-pointer: a code: path is gone | Find the new path and fix it, or remove the claim. A shipped document with no code: is an opinion. |
verification-drift: on a kind: state document, the code: path was committed after verified_on (the default tiers produce no state kind) | Re-run verify --only … --stamp. If it fails, the document is wrong, not the lock. |
evidence-lock: path evidence changed since verify hashed it | Same: re-run verify --only … --stamp, and read why it moved. |
review (review_by in the past) | Re-verify the claim. Move the date only after the check, never before. |
upstream (implements target moved on) | Read the target's change. Update this document or record why it does not apply. |
shipped-code | Add code: with a real path, or the status is active, not shipped. |
| A plan says "done" with untaken steps | It is a live backlog. Keep active. |
| A plan is done and its work shipped | status: shipped with code: and evidence:; else keep active and say what is missing. |
| A document's first line says SUPERSEDED | docs-promote: supersede and archive. |
| Two documents make the same claim | Keep the higher tier. Supersede the other (docs-promote). |
Never stamp shipped on the strength of a plan's own prose. Never delete a document to make a
report shorter — tier it or archive it, unless the user answered "yes" to deletion when the system
was adopted.
4. Report to the user
List what you changed, what you verified and how, and the claims nobody could check with their
cost to check. A claim you could not verify stays unverified in the frontmatter — a verified_on
you did not earn is worse than none.
5. Before you finish
docs-notary gen
docs-notary check # every restamp must still pass the gateDoes 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.

