By akira993
Change-driven documentation audit harness: diffs since the last clean audit, maps changed code/config to impacted docs, delegates existing doc checks, and drives /code-review + /security-review into one verdict.
Change-driven documentation audit. Use when the user asks to audit docs since the last audit, check documentation consistency after code/config changes, run a full doc consistency sweep, or verify nothing is stale before a release. Diffs since the anchor, maps changed files to impacted docs, delegates the project's doc checks, drives /code-review + /security-review, and emits one CONSISTENT/NEEDS FIX verdict. Report-only.
Bootstrap docaudit for a repo that has no .claude/doc-audit.json yet. Use when the user asks to set up docaudit, initialize the doc-audit harness, or run docaudit on a repo that lacks /check-docs / /review-docs / doc-lint. Inventories the repo, proposes a doc-audit.json config for approval, writes it, and points to the first audit. Generative (creates new config only); never edits existing docs.
Change-driven documentation audit. Diffs the repo since the last clean audit
(anchor), maps changed code/config to the docs that describe them, verifies each
impacted doc still matches its source, delegates the project's existing doc
checks, and drives /code-review + /security-review — rolling everything into
a single CONSISTENT / NEEDS FIX verdict. Report-only (no edits).
New to docaudit? → docs/ADOPTION.md (日本語: docs/ADOPTION.ja.md) — full adoption guide: install, onboarding, config reference, the impact-map method, the verdict/anchor lifecycle, and hard-won gotchas. Copy-paste config template: docs/examples/doc-audit.example.json.
pip install)./code-review + /security-review (Claude Code built-ins), mdq (markdown-query) (Phase 0 auto-index + token-optimized chunked doc reads — ~90%+ savings on large docs; the audit nudges you to install it when absent, else grep), CocoIndex / Serena (richer init discovery).--scaffold only: skill-creator (Anthropic) + superpowers:writing-skills to tailor the generated layer skills.Full table with fallbacks → docs/ADOPTION.md §2.
/plugin marketplace add akira993/doc-audit-harness # register this repo as a marketplace
/plugin install docaudit@akira-plugins # install; skills surface as /docaudit:audit, /docaudit:init
cp -R doc-audit-harness ~/.claude/skills/docaudit # skills-dir plugin; auto-loads next session as docaudit@skills-dir
# then in any repo: run /docaudit:init, or add .claude/doc-audit.json by hand
# (schema: skills/audit/references/config-schema.md)
# NOTE: ~/.claude/skills/<name>/ (NOT ~/.claude/plugins/, which is marketplace-cache territory)
First run in a repo (no adapter yet):
/docaudit:init # writes .claude/doc-audit.json (detects docs + existing doc checks)
/docaudit:audit --full # whole-corpus baseline; on CONSISTENT it sets the anchor
Day-to-day, after editing code / config / docs:
/docaudit:audit # diffs since the anchor → maps changed files to the docs they impact
docaudit is report-only — it never edits your docs. Example roll-up (illustrative):
Verdict: NEEDS FIX
Change set: 3 files since anchor a1b2c3d
Impacted docs: docs/api.md (FAIL — endpoint renamed; doc still says POST /v1/login)
README.md (PASS)
Delegated checks: existence ✔ semantic ✔ format ✔
Reviews: /code-review ⚠ 1 medium /security-review ✔
Report: docs/logs/doc_audit_2026-06-06.md
Fix the flagged docs, then re-run /docaudit:audit until it reports CONSISTENT —
a clean verdict advances the anchor, so the next audit only looks at newer changes.
claude --plugin-dir ~/Projects/doc-audit-harness # load against a target repo
python3 -m unittest discover -s tests -t . -v # run script unit tests
/docaudit:audit incremental (diff since anchor)
/docaudit:audit --full whole-corpus deep audit / first run
/docaudit:init bootstrap .claude/doc-audit.json for a repo that has none
/docaudit:init --scaffold also generate project-tailored layer skills (skill-creator / writing-skills)
MIT — see LICENSE.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub akira993/doc-audit-harness --plugin docauditComplete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Binary reverse engineering, malware analysis, firmware security, and software protection research for authorized security research, CTF competitions, and defensive security
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.