Review docs claims

From encero-systems/incan · View interactive version

Review docs claims is an AI agent skill from the GitHub repository encero-systems/incan. Review user-facing docs, CLI reference text, examples, and scaffolds for truthfulness, prose quality, and RFC leakage. Use when a broad review needs a dedicated docs/claims pass or when the user asks for docs-truth review specifically.

How to use this skill

Skill file

Review Docs Claims — Incan Compiler

Purpose

/review-docs-claims is a narrow report-only reviewer for touched user-facing documentation and examples.

Own:

Do not own:

Output artifact

Write a slice report at:

Do not write to the canonical .agents/state/review-report.md.

Reference pages state the contract only

A page under a reference/ directory states the public contract and nothing else: the exact rule, the types, signatures, parameters, returns and defaults, each refusal with its stable diagnostic code, and small examples annotated with what is accepted or refused. Read every changed sentence of a reference page against the list below. Each hit is a blocker finding, even when the sentence is true, MkDocs passes, and the rest of the page is good. The fix is to delete the sentence, restate it as contract, or move it to the matching how-to (for advice) or explanation (for rationale and mechanics) page and link to it.

Two rules apply to every change that touches a reference page, and each break is a blocker:

make reference-contract-check (part of make pre-commit-fast and CI) catches the lexical part of the list above on every reference page a change touches; it cannot judge meaning, so this review still reads each page.

Workflow

  1. Review the touched user-facing .md files, CLI help surfaces, examples, and scaffolds assigned by the orchestrator.

Identify each page's Divio intent using the repository's AGENTS.md docs rules: tutorial, how-to, reference, or explanation. Check the content against that intent, not just its directory. For a reference, compare its inventory against the relevant public source surface and verify signatures, parameters, returns, defaults, errors, constraints, and lookup structure. A walkthrough or overview under reference/ is a finding even when every sentence is true and MkDocs passes. Then read every changed sentence of a reference page against Reference pages state the contract only below: completeness and truth are necessary but not enough. Small illustrative examples are allowed; do not require four separate pages for every feature.

  1. Check actual implementation against the docs. Prefer the current code and current tests over optimistic prose, stale assumptions, or superseded branch history.
  2. RFC text is still canonical, but if the current branch deliberately diverges and the divergence is explicitly documented with a coherent reason, report that as a documented deviation rather than blindly calling it fiction.
  3. Flag:
  1. If behavior is out of scope, prefer correcting the docs rather than inventing implementation in the report.

Slice report shape

Keep slice reports findings-first. Do not enumerate every clean file with a full checklist. Only record:

# Review Slice Report

- role: docs-claims
- worker: <agent-id or stable label>
- status: in_progress | clean | blocked

## Scope
- assigned files:
  - workspaces/docs-site/docs/foo.md

## Findings

- [ ] blocker | docs | docs-generated fiction | workspaces/docs-site/docs/foo.md:76
  Claims `requires-incan` is enforced today, but the branch does not implement that.

## Reviewed Clean Surfaces

- workspaces/docs-site/docs/bar.md — docs/claims reviewed; no findings

If there are no findings, say so explicitly.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.