/review-beta:docsfrom review-beta
Reviews documentation changes across 18 dimensions (links, examples, terminology, changelogs, etc.) using lychee, markdownlint, Vale, cspell, and doctest runners. Returns a structured findings report for the review-beta:start orchestrator.
Ships in review-beta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Review the documentation touched by $ARGUMENTS and return the findings report defined in §5. With
no $ARGUMENTS, review the working-tree diff against the default branch.
This is one aspect subskill of a multi-aspect review. The parent orchestrator (review-beta:start)
collects this report alongside the other five aspects and synthesizes them, so the report is the
whole product: the parent sees only the return value, never any of this reasoning.
This family is the most automatable of the six: eight of its eighteen dimensions are agent: skip,
decided outright by a tool. Your licence here is correspondingly narrow — see §3.
${CLAUDE_SKILL_DIR}/scripts/probe-docs.sh [--base <ref>] [<repo-root>]
It runs lychee, markdownlint-cli2, Vale, cspell, prettier, the doctest runners and the site builder
where each is installed, emitting SEVERITY|FILE|LINE|DIMENSION|MESSAGE plus #-prefixed
metadata. --list prints the tool table without running anything.
Fields are |-separated; a literal pipe inside FILE or MESSAGE arrives escaped as \|, so the field count is always five.
| Rule | Consequence |
|---|---|
| Probe, then battery | If .review/battery.sarif exists, adjudicate its partitioned results rather than re-running a linter |
| No tool, no finding | A dimension with no linter is unavailable and produces zero findings — say so in §5 |
| Relay, don't re-judge | agent: skip dimensions are rendered from tool output verbatim: a broken link is a broken link |
Output-format coverage. The probe parses each tool's own stdout, so a filter that does not match its tool is a silent zero-findings bug rather than a crash. The shapes emitted by lychee, markdownlint-cli2, cspell and prettier were verified against real output from those tools; the ones with a captured fixture are pinned and asserted in tests/run-probe-tests.sh. The shapes assumed for vale, interrogate, mkdocs, pytest --doctest-modules, cargo test --doc are unverified — those tools could not be run here. Treat an unexpected zero from one of them as suspect, and confirm by running it directly before reporting the dimension clean.
The agent: skip set here: docs-entry-point-completeness, docs-getting-started-executable,
docs-example-correctness, docs-link-graph-integrity, docs-url-stability-and-redirects,
docs-translation-sync, docs-ownership-and-freshness, docs-presentation.
The dimension table — question, ceiling, tier, residual — is in references/dimensions.md. The residues that recur:
| Dimension | The tool decided | You decide |
|---|---|---|
docs-code-sync | Doc-map coupling, dangling identifiers | Whether the prose still describes what the code now does |
docs-api-reference-coverage | Undocumented exported symbols | Whether the docstring says anything a signature does not |
docs-terminology-consistency | Vale substitution and existence hits | Whether two terms are genuinely one concept |
docs-claim-substantiation | Unlinked security/performance claims | Whether the cited source actually supports the claim |
docs-changelog-quality | Structure, categories, dates, commit cross-check | Whether a user could decide from it alone to upgrade |
docs-accessibility | Missing alt text, bare URLs, heading order | Whether the alt text conveys the same information |
docs-user-facing-message-quality | Message-string lint hits | Whether the message says what happened and what to do next |
docs-decision-rationale | ADR section, status and numbering lint | Whether the why — options rejected — is actually recorded |
docs-versioning-and-applicability | Front-matter applies_to presence | Whether the stated version range matches the change |
docs-placement is inert unless the repo declares a docs taxonomy (type: front-matter or a
Diátaxis directory split). If it does not, report the dimension unavailable rather than inventing
a taxonomy to judge against.
| Severity | Test |
|---|---|
| blocker | Would you page someone at 03:00 for this, or owe an external party notice? |
| major | More expensive to fix in three months than today, and you can name who pays? |
| minor | A tool output or counted metric backs it, and the fix is under ~15 minutes? |
| nit | A reasonable engineer could disagree and still be right? |
docs-presentation has a nit ceiling and is tool-output only. Never author a presentation
finding by hand.From the taxonomy's de-duplication ledger:
| Subject | Owner |
|---|---|
| Correctness of the code the docs describe | review-beta:correctness |
| A secret pasted into a doc example | review-beta:security (sec-secret-material-exposure) |
| Duplication of an authoritative fact across documents | review-beta:design (design-duplication, medium: fact) |
| The deprecation window, caller census and migration owner | review-beta:design (design-deprecation-migration) — this aspect owns only the notice artifacts |
| Whether behaviour changed and the prose did not, in org terms | docs-code-sync here; org-fit-documentation-sync was merged into it |
| Whether a SKILL.md is well built | review-beta:agentic-configuration |
| Rendered-UI accessibility | review-beta:org-fit (the org-fit-a11y-* set) — this aspect owns authored doc source only |
Return this and nothing else. No preamble, no narration.
## review-beta:docs
VERDICT: PASS | FAIL
SCOPE: <what was reviewed — diff range or paths>
COUNTS: blocker=<n> major=<n> minor=<n> nit=<n> (tool=<n> judged=<n>)
| Sev | Location | Dimension | Problem | Remedy | Confidence |
| :---- | :----------- | :------------------------------ | :---------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------- | :--------- |
| major | README.md:31 | docs-getting-started-executable | Quickstart calls `app init`, removed in this diff; a stranger pasting it gets `unknown command` | Update the quickstart to `app setup`, and add it to the container smoke test | high |
UNAVAILABLE:
- <dimension> — <linter that was missing, or the config the dimension needs>
VERDICT: FAIL iff at least one blocker survives. No docs dimension can produce one, so this
aspect returns FAIL only if a finding was re-routed here from a blocker-ceiling dimension —
which means it belongs to another aspect and should be routed instead.Location is file:line; line 0 only when a finding genuinely has no line.Confidence is high | medium | low; a low row states what would confirm it.VERDICT: PASS, zeroed counts, and NO FINDINGS.UNAVAILABLE when every dimension had its tool.AUTOMATION: <the rule to encode>.| Skill | Relationship |
|---|---|
review-beta:start | The orchestrator that invokes this aspect and merges its report |
review-beta:agentic-configuration | Reviews SKILL.md authoring specifically; this aspect skips those |
review-beta:design | Owns fact duplication and the deprecation window |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
documentation-review, docs-quality, automated-review, linters
9 skills in this plugin
/agentic-configurationInvoked by review-beta:start, which routes every review request and decides which aspects apply — use that entry skill first; this is one of the aspects it delegates to. Reviews whether agent configuration is well built — skills, plugin manifests, hook wiring, agents, commands and the MCP config they declare — covering frontmatter conformance, description trigger accuracy, length budgets, progressive-disclosure layout, fork return contracts, manifest required fields, and hook events that silently never fire. Runs scripts/check-skill.sh and scripts/check-plugin.sh for every mechanical check before spending any judgement. Returns a structured findings report with a pass/fail verdict. NOT for judging whether the subject matter a skill teaches is factually correct, and NOT for general code review of the scripts a plugin bundles (review-beta:correctness owns that)./best-practicesInvoked by review-beta:start, which routes every review request and decides which aspects apply — use that entry skill first; this is one of the aspects it delegates to. Reviews whether code follows the idiomatic practice its own ecosystem publishes, running scripts/probe-best-practices.sh — golangci-lint, clippy, ruff, biome, rubocop, stylelint, swiftlint, ktlint, tflint, phpcs — and reporting only what those linters decide, so "unidiomatic" is settled by each community's rule catalogue rather than by taste. Returns a structured findings report with a verdict. NOT for whether the code is correct (review-beta:correctness), whether it is well factored (review-beta:design), or whether it matches this org's own declared conventions (review-beta:org-fit)./correctnessInvoked by review-beta:start, which routes every review request and decides which aspects apply — use that entry skill first; this is one of the aspects it delegates to. Reviews a change for correctness defects and returns a structured findings report with a verdict, running scripts/probe-correctness.sh for every mechanically decidable dimension before spending any judgement. Covers the taxonomy's 19 correctness dimensions over a diff — boundary conditions, null and absent values, numeric precision, error propagation, resource lifecycle, concurrency, idempotency, transactional atomicity, data loss, algorithmic cost, termination bounds, and the tests that would have caught each. NOT for attacker-reachable vulnerabilities (review-beta:security), abstraction and coupling quality (review-beta:design), or whether tests are gated in CI (review-beta:process)./designInvoked by review-beta:start, which routes every review request and decides which aspects apply — use that entry skill first; this is one of the aspects it delegates to. Reviews a change for design-health regressions and returns a structured findings report with a verdict, running scripts/probe-design.sh — clone detectors, architecture contracts, dead-export analysers, API-diff tools — before spending any judgement. Covers the taxonomy's 13 design dimensions — speculative generality, wrong abstraction, duplication, public surface minimality, backward and data-contract compatibility, deprecation and migration, layering and dependency direction, cohesion, hidden global state, testability seams, configuration surface, and new third-party dependencies. NOT for whether the code works (review-beta:correctness) or whether it matches house convention (review-beta:org-fit)./org-fitInvoked by review-beta:start, which routes every review request and decides which aspects apply — use that entry skill first; this is one of the aspects it delegates to. Reviews whether a change fits the organization it lands in, and returns a structured findings report with a verdict, running scripts/probe-org-fit.sh — the repo's own lint task, editorconfig-checker, shellcheck, syncpack, generation drift — before spending any judgement. Covers the taxonomy's 16 org-fit dimensions — reinvented shared capabilities, copy-pasted CI, golden-path divergence, generated-artifact drift, dependency version divergence, the repo's own written rules, interface conventions, the accessibility automated scanning cannot see, i18n, declared performance budgets, platform assumptions, portability gaps, and environment parity. NOT for intrinsic design quality (review-beta:design) or release process (review-beta:process)./processInvoked by review-beta:start, which routes every review request and decides which aspects apply — use that entry skill first; this is one of the aspects it delegates to. Reviews how a change arrives and rolls out, and returns a structured findings report with a verdict, running scripts/probe-process.sh — git metadata, commitlint, actionlint, gh checks — before spending any judgement. Covers the taxonomy's 18 process dimensions — intent conformance, change size, commit hygiene, merge gating, approval authority, CI/local parity, regression tests, flaky-test policy, rollback and exposure control, deploy sequencing, lifecycle and draining, load validation, telemetry, operational readiness, release mechanics, support windows, cross-repo ordering, and recurring cost. NOT for whether the code is correct (review-beta:correctness) or fits org conventions (review-beta:org-fit).npx claudepluginhub nsheaps/ai-mktpl --plugin review-betaOther plugins' skills for the same job