doc-accuracy-audit
Use when validating that a repo's READMEs and docs are still accurate against the current code — endpoints, ports, counts, env vars, commands, schemas, event…
Skill by hjr15
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hjr15-doc-accuracy-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/doc-accuracy-audit
What's inside
- Skill name
doc-accuracy-audit- Description
- Use when validating that a repo's READMEs and docs are still accurate against the current code — endpoints, ports, counts, env vars, commands, schemas, event contracts, not just diagrams. Triggers on "are the docs still correct", "audit the READMEs for accuracy".
- License
- MIT
- Instructions
- 58 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Documentation Accuracy Audit
## Overview
Verify every factual claim in a repo's long-lived docs against the **current code**, fix the doc drift, and split out the code/config bugs the audit surfaces. Distinct from `readme-diagram-audit` (which only checks diagram coverage/convention) — this checks whether prose claims (endpoints, ports, service counts, env vars, commands, DB schema, event routing keys, file paths) still match reality.
Scope to **long-lived docs that are meant to track current state**. Explicitly EXCLUDE point-in-time records — `docs/archive/`, `docs/superpowers/specs|plans/`, changelogs, and any git worktree subdirectories (`*-<ticket>/`) — those are frozen by design; "correcting" them is wrong.
## Steps
### Step 1 — Pre-flight
- Confirm CWD and branch; `git fetch && git log HEAD..@{u} --oneline` — stop if origin is ahead (per cross-repo safety).
- Enumerate the in-scope doc set: root `README.md`, `CLAUDE.md`, `docs/**` (minus the excludes above), every `services/*/README.md`, `apps/*/README.md`, `packages/**/README.md`, `deploy/README.md`. Filter out nested worktree dirs and caches.
- Create a `KEY-n` branch before editing (tracked work).
### Step 2 — Fan out auditors by cluster
Dispatch parallel read-only/general-purpose subagents, one per doc cluster (keep clusters file-disjoint so they never collide). Typical clusters: (1) root README + CLAUDE.md + index; (2) service READMEs; (3) app + package READMEs; (4) architecture + diagrams; (5) operations + deploy; (6) ADRs + testing. Each agent **reports** structured findings — does NOT edit — with: `file:line`, the claim, what the code/config actually shows (cited), severity (HIGH/MEDIUM/LOW), and a concrete suggested fix. Tell each agent the exclude-list explicitly.
### Step 3 — Spot-check before acting
Subagent reviewers hallucinate. Before any edit, independently verify the most surprising / load-bearing findings (a `grep`/`ls`/file read each). Confirm the counts, the "this endpoint doesn't exist", and especially any claim that implies a **code bug** — those must be real before you file a ticket.
### Step 4 — Split findings into two categories
- **Category A — doc drift**: the doc is wrong, the code is right → fix the doc.
- **Category B — code/config bug**: the audit found the *code* (or a script/DDL/manifest) is wrong or self-inconsistent (e.g. an entity maps to a table the bootstrap SQL never creates; a bootstrap script waits on a renamed resource). These are NOT doc fixes — file a bug ticket each, with evidence, and keep the doc pass docs-only. Decide A-vs-B with the user if scope is ambiguous.
### Step 5 — Apply Category-A fixes (default HIGH+MEDIUM)
Read each file before editing; preserve the doc's existing voice and table formatting. Confirm the replacement text against the actual source (don't paste a subagent's suggestion blind). Skip LOW/cosmetic unless asked.
**Diagram-embedded values** (counts, ports shown in a Mermaid diagram that appears in multiple files via `<!-- DIAGRAM:BEGIN -->` markers): edit only the **canonical** `docs/diagrams/*.md`, never the embedded copies. Then propagate:
```bash
python3 scripts/embed_diagrams.py # regenerate embeds
python3 scripts/embed_diagrams.py --check # must say "in sync"
```
⚠️ **Gotcha:** some embed scripts scan the whole tree and will rewrite embeds inside nested git worktrees (`*-<ticket>/`) using the *current* tree's canonical — polluting other branches' working state. After running it, `git -C <each-worktree> status`; if dirtied, the owning session must revert (don't force-discard another session's worktree without authorization). Consider adding a worktree/`archive` skip to the script.
### Step 6 — Verify
- `git diff` the full change set; sanity-read each hunk.
- `embed_diagrams.py --check` is clean.
- Optional: run the docs build/lint (`mkdocs build`) if present.
- Docs-only changes don't need the code-review gate, but say so explicitly.
### Step 7 — Land
Commit with explicit paths (NOT `git add -A` — nested worktree dirs show as untracked and must not be staged). Open the PR; comment the PR URL on any Category-B tickets that reference the docs. Report Category-A (fixed) and Category-B (ticketed) separately.
## Why this shape
Fan-out covers a large doc set in one pass; report-then-spot-check stops hallucinated "fixes"; the A/B split keeps the docs PR clean while real bugs get tracked instead of silently "fixed" in a doc edit.From hjr15/claude-kit, MIT.
More from hjr15/claude-kit
- 0.524score
architect-team
hjr15
Deploy the architecture agents (architect, code-architect, backend-architect) as a coordinated design council to design or review a feature/system before it's…
SkillBFreshness: BClaude Code +9 - 0.524score
code-team
hjr15
Deploy the code-quality agents (code-quality-reviewer, code-architect) alongside the /code-review skill to answer "is this code well-built?" — clean code…
SkillBFreshness: BClaude Code +9 - 0.524score
backport-review-fix-into-plan-of-record
hjr15
Use when a per-task review during subagent-driven development catches and fixes a real bug in code that a plan-of-record authored — edit the plan itself to…
SkillBFreshness: BClaude Code +9 - 0.524score
fix-blocker-rather-than-override
hjr15
Use when a pre-existing master CI gate is red and blocking your unrelated PR — decide between fix-the-blocker (compounds across all PRs) and admin-override…
SkillBFreshness: BClaude Code +9 - 0.524score
generator-oracle-zero-diff-verify
hjr15
Use when building a code-generator, sanitizer, or export pipeline whose output already exists as a hand-maintained artifact — make zero-git-diff against that…
SkillBFreshness: BClaude Code +9 - 0.524score
multi-agent-branch-collision-recovery
hjr15
Use when a commit landed on the wrong branch because a parallel agent shifted the active branch in a shared working directory.
SkillBFreshness: BClaude Code +9 - 0.519score
ghcr-first-push-403-seed-and-link
hjr15
Use when a CI build succeeds but the GHCR push fails 403 Forbidden for a service whose package never existed, on a personal (non-org) account.
SkillBFreshness: BClaude Code +9 - 0.517score
symlink-vs-realfile-classify-before-deleting-fanout-dups
hjr15
Use before deleting "duplicates" during a skill/config dedup on a symlink-fanned tree — run a `test -L` classification loop first, so you remove only genuine…
SkillBFreshness: BClaude Code +9 - 0.517score
git-checkout-B-from-worktree-moves-a-foreign-checkouts-branch
hjr15
Use before `git checkout -B <branch>` / `git branch -f` / `git reset --hard` on a SHARED branch name from inside a worktree — `-B` force-moves the ref even…
SkillBFreshness: BClaude Code +9 - 0.499score
grill-brainstorm-build
hjr15
Use when the user wants to go from a rough idea to implementation, running through interrogation, options exploration, and build in one flow.
SkillBFreshness: BClaude Code +9 - 0.474score
mobile-team
hjr15
Deploy the mobile agents (mobile-app-builder, mobile-ux-optimizer) — with ui-designer/ux-researcher/frontend-developer on call — to design and build native or…
SkillCFreshness: CClaude Code +9 - 0.474score
readme-diagram-audit
hjr15
Use when auditing a repo for diagram coverage and convention compliance — scans docs/diagrams/ for completeness, validates frontmatter against the taxonomy…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 15, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hjr15/claude-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hjr15
- 0.524score
fix-blocker-rather-than-override
hjr15
Use when a pre-existing master CI gate is red and blocking your unrelated PR — decide between fix-the-blocker (compounds across all PRs) and admin-override…
SkillBFreshness: BClaude Code +9 - 0.524score
generator-oracle-zero-diff-verify
hjr15
Use when building a code-generator, sanitizer, or export pipeline whose output already exists as a hand-maintained artifact — make zero-git-diff against that…
SkillBFreshness: BClaude Code +9 - 0.524score
code-team
hjr15
Deploy the code-quality agents (code-quality-reviewer, code-architect) alongside the /code-review skill to answer "is this code well-built?" — clean code…
SkillBFreshness: BClaude Code +9 - 0.524score
backport-review-fix-into-plan-of-record
hjr15
Use when a per-task review during subagent-driven development catches and fixes a real bug in code that a plan-of-record authored — edit the plan itself to…
SkillBFreshness: BClaude Code +9 - 0.524score
architect-team
hjr15
Deploy the architecture agents (architect, code-architect, backend-architect) as a coordinated design council to design or review a feature/system before it's…
SkillBFreshness: BClaude Code +9 - 0.524score
multi-agent-branch-collision-recovery
hjr15
Use when a commit landed on the wrong branch because a parallel agent shifted the active branch in a shared working directory.
SkillBFreshness: BClaude Code +9
Cite this page
doc-accuracy-audit skill. Agent Mart. https://agentmart.dev/skills/hjr15-doc-accuracy-audit (last updated 2026-10-24)