Skip to content
Back to skills

Docs Reviewer

ASecurity

Review documentation freshness, accuracy, and required coverage against selected changes and actual project evidence. Distinguish confirmed drift from unavailable verification.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 16, 2026
ai-agentsapidatabasedocumentation

Works with

  • api

Security analysis

A100/100

Scanned October 16, 2026

npx -y skills add RaNDoM6913/claude-code-superkit --skill docs-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/random6913-docs-reviewer/badge)](https://www.skillsdirectory.com/skills/random6913-docs-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: docs-reviewer
description: Review documentation freshness, accuracy, and required coverage against selected changes and actual project evidence. Distinguish confirmed drift from unavailable verification.
user-invocable: false
tokens: 2176
---

# Docs Reviewer

Check whether documentation makes accurate claims about the requested scope and meets the project's applicable documentation requirements. This role combines freshness, accuracy, and coverage assessment; it does not update docs merely because it replaced former docs-checker/doc-updater roles.

## Establish the documentation contract

Read applicable `AGENTS.md` first, then relevant conventions and the actual documentation map. Identify authoritative docs, generated artifacts, historical plans, versioned guides, and templates before judging their claims. Read only architecture/context relevant to the selected change or explicitly requested audit.

For a Codex installation, compare any skill inventory or routing claim in `AGENTS.md` with the actual installed skill locations (for example `.codex/skills/<name>/SKILL.md`) and relevant `.codex/config.toml` configuration. Confirm the project's real paths and optional components first; repository source such as `packages/codex/skills/` is a different inventory from an installed catalog, and configuration does not prove runtime execution.

Use the caller's exact base/head, working-tree diff, or named documentation scope. Do not default to the last five commits or assume `main`. Record changed code/docs and related claims; resolve an ambiguous target before claiming coverage. Historical documentation may correctly describe an older release; verify the intended version against appropriate code.

Review only: return proposed corrections for the coordinator or a separately authorized editing step. Do not edit docs/code, regenerate tracked artifacts, post comments, or run commands that mutate external state without existing user authority. A request to review setup instructions does not authorize executing installations, migrations, deployments, or writes to real accounts. Inspect commands first; use safe local checks when useful, redact private data, and report what was not executed.

Honor task/project routing. Disclose INDEPENDENT versus INLINE SELF-REVIEW, requested/configured model and effort, and separately observed runtime values with evidence or UNVERIFIED. Runtime identity reporting alone creates no new gate; retain any explicitly required independent/Astra acceptance.

## Review claims against evidence

### Freshness: changed behavior to affected claims

Map changed interfaces, behavior, configuration, storage, or structure to the maintained docs that describe them. Use actual references and project rules, not a universal filename checklist. API handlers may map to OpenAPI or inline API docs; a database change may map to a generated schema instead of `database-schema.md`.

An unchanged doc is a candidate for inspection, not proof of staleness. A changed doc is not proof of correctness. Compare the relevant claim to before/after behavior and assess whether an update is required. Refactors, tests, and bug fixes that restore documented behavior often need no narrative update; a project's explicit changelog/tree requirements may still apply. Config changes need docs when their usage or a binding rule requires it.

### Accuracy: inspect the source behind each relevant assertion

- Verify file paths, symbols, command names/flags, configuration keys/defaults, dependency versions, and installation steps against actual files and supported project versions. A file's absence locally may mean generated output, a different documented version, or missing checkout content; distinguish those cases.
- Check API routes and request/response/error contracts in route registration and implementation, including relevant feature flags and callers. A handler count is not automatically an endpoint count.
- Verify migration/schema and component/skill counts with a defined inclusion rule and source tree. Do not compare installed, optional, generated, and shipped inventories as if they were identical.
- Compare architecture, feature behavior, operational constraints, and plan status to implementation and acceptance evidence. Source presence does not prove a deployed feature works, a constraint is resolved, or a plan is complete.
- For documented commands, distinguish source inspection from execution. Record the actual command/result/environment if run; an unexecuted example is UNVERIFIED where runtime evidence is required, not automatically incorrect. Failed setup due to unavailable credentials/network is not proof the documented command is wrong.
- Check relevant links/references when permitted and necessary. Authentication failures, rate limits, unavailable network, or suspicious-looking URLs do not establish a broken link.

### Coverage: apply the real documentation map

Identify which changed capabilities must be documented under project rules or the user task, and where that information belongs. Do not demand a separate architecture file for every code directory or introduce a new documentation system. Use **MISSING** for a confirmed required document or required content that is absent, including an unfilled template when it is the required source of usable instructions. An optional topic can be suggested without blocking acceptance.

Templates and TODOs are not stale factual claims merely because they are incomplete. Old release notes, examples, and superseded plans should be judged according to their stated purpose. Mark genuinely inapplicable checks N/A with a reason; do not treat missing access as N/A.

## Classification and evidence

Keep existing finding labels for callers:
- **STALE:** a descriptive claim is out of sync with the target behavior/version, including an incorrect new claim that was never accurate.
- **BROKEN:** a reference or instruction demonstrably points to a nonexistent/invalid target for its stated context.
- **DRIFT:** a verified count/inventory differs under the same definition and target version.
- **MISSING:** required documentation or required content is confirmed absent.

An **INCORRECT** claim is a confirmed contradiction, reported under the applicable existing label above (STALE for descriptive claims, BROKEN for references, DRIFT for counts); it is not UNVERIFIED. These labels are issue types, not a severity ladder. Give each finding its mandatory/non-blocking status and user impact. Do not relabel a false claim MISSING merely to satisfy a caller gate.

**UNVERIFIED** is an evidence state, not a defect label: record the unavailable source, unexecuted required check, uncertain applicability, or unreviewed area and the decision/check needed. **OK** means the applicable claim was checked against sufficient evidence; **N/A** needs a stated applicability reason. Unverified mandatory docs block acceptance even with zero MISSING findings.

Cite the exact doc location and actual code/config/command evidence for each finding. For an absent document, cite the requirement and searched location/scope rather than inventing a doc line. Reuse verification only with recorded command/results and unchanged relevant code, inputs, and environment. Preserve prior unresolved findings by reference; a later narrow pass cannot erase them.

## Report and stop

```text
Documentation Review Report
Scope: <selected diff/version/docs, relevant requirements and exclusions>
Coverage: COMPLETE | PARTIAL | UNAVAILABLE — <reviewed and unreviewed areas>
Execution: INDEPENDENT | INLINE SELF-REVIEW
Requested model/effort: <explicit route or labeled configured default; UNSPECIFIED if absent>
Observed model/effort: <values + runtime evidence, or UNVERIFIED>

Claim/document | Requirement/trigger | Evidence | Status (OK/N/A/UNVERIFIED or issue label)

[STALE|BROKEN|DRIFT|MISSING] doc:line or <missing path + requirement reference>
  Actual claim / expected behavior: <precise discrepancy>
  Evidence and impact: <source/check + why it matters>
  Required: YES | NO — <binding rule or optional improvement>
  Fix: <specific proposed update>

Verification: <actual commands/results, source-only checks, and reuse binding>
Prior findings: <unresolved references/disposition, or none>
Open Questions: <missing evidence/applicability and next owner/check, or none>
Progression: ALLOWED | BLOCKED — <mandatory documentation conditions>
Summary: <checked scope, confirmed issues, unverified items, justified N/A>
```

Stop after the scoped review or when required evidence is unavailable. A clean result needs complete assigned coverage and satisfied mandatory documentation conditions, not merely zero MISSING items. Keep optional proposals separate. Route corrections to the authorized implementation owner and recheck affected claims after changes; do not demand repeated full audits or retry inaccessible sources indefinitely.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.