Skip to content
Development
Skill

/ln-21-documentation-auditor

Audits documentation and code comments for structure, coverage, factual accuracy, and maintainability. Use for documentation trust reviews; not code, test, or architecture audits.

From plugin
claude-code-skills
53425 skills
Install
$ npx -y skills add levnikolaevich/claude-code-skills --skill ln-21-documentation-auditor --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ln-21-documentation-auditor

Context preview

The summary Claude sees to decide when to auto-load this skill.

Audits documentation and code comments for structure, coverage, factual accuracy, and maintainability. Use for documentation trust reviews; not code, test, or architecture audits.

SKILL.md

ln-21-documentation-auditor.SKILL.md
name: ln-21-documentation-auditor
description: "Audits documentation and code comments for structure, coverage, factual accuracy, and maintainability. Use for documentation trust reviews; not code, test, or architecture audits."

Documentation Auditor

**Goal:** Audit documentation as a read-only evidence system: can a new contributor, operator, user, or coding agent find the right source, trust its claims, and act without hidden context? Review both standalone documents and code comments where they carry public or operational knowledge.

**Execution contract:** Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. `N/A`, skipped, unavailable, or delegated items remain incomplete. Before returning, apply this skill's verdict, decision, and approval rules to every incomplete item and prepend **Checklist: X/Y complete**<br>**Incomplete: None | section/item — reason; outcome impact; exact next action**; list every incomplete item.

Tool Routing

| Need | Preferred tool | Use it when | Fallback | |---|---|---|---| | Document inventory and hierarchy | Native file listing with narrow patterns | Establishing documentation surfaces, generated areas, and navigation structure | Repository tree and known entry documents | | Links, repeated terms, claims, and contradictions | Native text search, then focused reads | Finding references, stale names, duplicated guidance, paths, commands, and configuration keys | Manual cross-document comparison | | Code and configuration truth | Native code search, manifests, schemas, and direct file reads | A document claims that a path, option, endpoint, behavior, or default exists | Execute a safe inspection command when text is insufficient | | Freshness and ownership | Git log, blame, and diff | Determining when a claim changed, whether a document tracks active code, or who owns a convention | Current code and explicit ownership files | | Commands and examples | Shell in non-mutating or dry-run mode | Verifying help text, command existence, config parsing, generated output, or example syntax | Inspect command registration and tests; mark runtime proof unavailable | | External facts | Official documentation, specifications, and release notes | A current external API, version, standard, or platform behavior affects correctness | Primary-source web research; otherwise mark `UNVERIFIED` |

Do not run commands that publish, migrate, deploy, write production state, or rewrite documentation. Generated caches are acceptable only when permitted and disclosed.

Evidence Rules

| Claim type | Required evidence | |---|---| | Repository path, symbol, command, configuration, endpoint, or default | Current repository or safe command output | | External API, version, standard, or compatibility statement | Official source matching the relevant version | | Count or coverage statement | Reproducible query with scope and exclusions | | Historical rationale | Current decision record or history that still matches implementation | | Recommendation | A demonstrated reader failure, contradiction, maintenance cost, or operational risk |

Absence of documentation is a finding only when a real audience needs the missing knowledge. A stale claim is more serious than a missing optional explanation because it directs readers toward incorrect action.

Checklist

1. Establish Scope and Audiences

  • [ ] Identify documentation entrypoints, public docs, maintainer docs, operational runbooks, generated references, examples, and code-comment surfaces in scope.
  • [ ] Identify intended audiences and their concrete tasks: understand, install, configure, operate, troubleshoot, extend, or verify the system.
  • [ ] Read applicable repository instructions and detect documentation ownership, generation commands, language policy, and source-of-truth conventions.
  • [ ] Separate authored documents from generated, vendored, archived, temporary, and example content before scoring defects.
  • [ ] Classify each target as entrypoint/index, reference, how-to, explanation, decision record, generated output, or example; prioritize canonical and claim-dense documents before navigation-only files.
  • [ ] Define which code, configuration, schemas, tests, and external contracts can verify documentation claims.
  • [ ] Keep the audit read-only and record any unavailable source, command, or environment as a limitation.

2. Check Structure and Discoverability

  • [ ] Verify that the root entry document explains purpose, supported use, prerequisites, installation path, and navigation appropriate to its audience.
  • [ ] Check hierarchy, headings, table of contents, local navigation, cross-links, anchors, and predictable placement of related material.
  • [ ] Find broken, redirected, case-sensitive, or repository-relative links and verify that linked files and headings exist.
  • [ ] Identify orphan documents, duplicate entrypoints, circular navigation, deep chains, and important content reachable only by repository search.
  • [ ] Check that concepts have one canonical owner and that secondary documents link rather than fork rules, thresholds, or procedures.
  • [ ] Verify that generated documentation names its generator and does not invite hand editing that will be overwritten.
  • [ ] Check whether large documents can be split or compressed without hiding the sequence or context needed to act safely.

3. Check Relevance, Coverage, and Consistency

  • [ ] Compare each document's title, scope statement, and intended audience with its actual content.
  • [ ] Judge content by document kind: indexes route without duplicating detail, references optimize exact lookup, how-to guides are safely sequenced, explanations build the right mental model, and decision records preserve context, decision, alternatives, and consequences.
  • [ ] Flag filler, repeated summaries, speculative narration, ge
Read more
Ships withclaude-code-skills

A compact marketplace of standalone engineering skills for Claude Code and Codex. Supports the portable Agent Plugins v1 standard while retaining native Claude Code and Codex distribution compatibility.

Get the whole plugin