← ClaudeAtlas

initlisted

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.
akira993/doc-audit-harness · ★ 3 · Data & Documents · score 74
Install: claude install-skill akira993/doc-audit-harness
# docaudit:init — bootstrap a repo's doc-audit adapter Creates `${CLAUDE_PROJECT_DIR}/.claude/doc-audit.json` for a repo that has none. Generative but additive: you may CREATE new config/state files; you must NOT edit or rewrite any existing doc. Always propose the draft and get explicit user approval before writing. `SD="${CLAUDE_SKILL_DIR%/init}/audit"` (the audit skill dir holding the shared scripts). If `.claude/doc-audit.json` already exists, stop and tell the user (offer `/docaudit:audit` instead) — do not overwrite it. ## Step 1 — inventory (deterministic) Run: `python3 "$SD/scripts/inventory.py" --repo-root "$CLAUDE_PROJECT_DIR"`. Parse the JSON: docDirs, docGlobs, frontMatter, suggestedFrontMatterFields, codeDirs, suggestedDiffGlobs, existingDocTools, boundaryCommandGuess, indexFiles, mentions. (Optional enrichment: if `markdown-query`/CocoIndex/Serena are available you may use them to refine the impactMap couplings — they are NOT required; inventory.py alone suffices. CocoIndex needs `sentence_transformers`; skip it if unavailable.) Also run `command -v mdq`: if present, this repo can use conditional-force indexing — propose an `indexing` block in Step 2. Likewise, check whether the `ctx_*` MCP tools (context-mode) are available to you in this session — judge purely by tool availability, NOT by globbing `~/.claude` plugin paths (never bake machine-specific globals into the config). If available, propose a `contextMode` block in Step 2. Also run `command -v ax`: i