Audit and update repository documentation, agent guidance, specifications, decisions, and runbooks while keeping tactical plans and tracker work out of the documentation surface.
99
—
Does it follow best practices?
Impact
99%
1.11xAverage score across 6 eval scenarios
Passed
No findings from the security scan
Keep the repo legible to agents and humans.
When rewriting current-state docs, delete every absent, removed, or unprovisioned item, including specific names and category paraphrases, unless it changes a plausible current action. Prior curiosity, old tickets, and "agents ask about it" do not make an absence operational. If a limitation must stay, state one precise boundary and the supported path.
Not docs work: tactical work planning; epic or tracker-ticket creation; boot/readiness setup; baseline PR, issue, contributor, or security policy templates; independent code review; runtime verification.
Check the files agents and humans actually rely on:
AGENTS.mdCLAUDE.mdREADME.mdCONTRIBUTING.mdSECURITY.mddocs/Flag stale commands, dead paths, duplicate guidance, routing failures, narrative history, exhaustive negative inventories, and repo-internal details leaking into reader-facing docs.
Before editing:
Use references/source-boundaries.md before writing cross-repo, private workspace, or local-machine facts into checked-in docs.
Keep top-level docs terse and navigational.
AGENTS.md should be a table of contents, not a wikiAGENTS.md, make CLAUDE.md a symlink or @AGENTS.md import instead of maintaining a second authored fileREADME.md should lead with value, quick use, and links to deeper docsCONTRIBUTING.md and SECURITY.md when they already exist or when moving existing policy out of an overloaded README.md; do not invent baseline policy from scratchREADME.md point to itRefresh the detailed documents that carry the knowledge.
Write each updated section as the reader's current source of truth.
For agent-facing or internal docs, follow the selection, structure, and progressive-disclosure guidance in references/agent-first.md.
When the user asks to save a durable rule, prompt, specification, or decision, choose its durable home.
Tactical implementation plans, epics, tracker tickets, and session handoffs are a separate work-tracking operation. When requested alongside docs cleanup, keep the surfaces linked and report the planning work as a distinct next action instead of inventing a checked-in plan home.
For new features, use the directory layout and templates in references/structuring.md — specifications and decisions have distinct lifecycles.
Verify prose against the repo.
Concrete checks:
rg -n "old/path|stale-command" AGENTS.md CLAUDE.md README.md docs/ when paths or commands movedrg -n "<new command|new path|decision keyword>" AGENTS.md CLAUDE.md README.md docs/ to find duplicate or conflicting homestest -e <path-from-docs> before keeping a file referencetest ! -e AGENTS.md || { test -L CLAUDE.md && test "$(readlink CLAUDE.md)" = "AGENTS.md"; } when normalizing agent entrypointsAfter docs work, report a compact docs footer:
nonenoneKeep the footer to 5 labeled lines or fewer. List changed files once.