agentleFS
mixpanelmixpanel/ai-plugins/.claude/skills/review-document/SKILL.md

review-document

Skill18 starsChanged 5 months agoApache-2.0View on GitHub

Reviews project documentation (README, CLAUDE.md, docs/, guides, references/) against a strict, weighted quality rubric and produces a score (0-100%) with actionable issues — checking that docs are accurate against the code, current (no changelog phrasing), concise, and well structured. Use when asked to review, audit, score, or quality-check documentation, or to verify the docs still match the code. Triggers on: "review the docs", "audit the README", "is this doc still accurate", "check the docs against the code", "score the documentation". Do NOT use for: reviewing Agent Skills (use review-skill), reviewing application code or pull-request diffs (use code-review / simplify), or writing new documentation from scratch.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. EJRyan89/coding-agent-skills★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these steps in order.

    line 77
  2. Distinctive:

    Read every in-scope file in full — do not sample.

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Documentation Review

Reviews a documentation set against a rubric and produces a percentage score plus a prioritised list of issues to fix. This is a read-only review — report, then offer a fix plan.

The first duty of docs is to be true: accuracy against the actual code is weighted highest and verified, not assumed. Beyond accuracy, docs must be current, concise, and navigable — every paragraph that restates the obvious competes with the one that carries the load. Score conservatively (see Scoring discipline).


Components

Rubric dimensions

The rubric evaluates 8 weighted dimensions. Read references/rubric.md for the full check definitions when running the evaluation.

#DimensionWeight
1Accuracy & Currency20%
2Structure & Readability15%
3Conciseness & DRY15%
4Altitude & Scope10%
5Completeness & Navigability10%
6Clarity & Communication10%
7Consistency & Conventions10%
8Examples, Links & Commands10%

Dimensions 3 and 4 carry the /simplify lens — duplication, filler, and wrong-altitude detail — applied to prose.

Scoring

Each check is scored PASS (1.0), WARN (0.5), FAIL (0.0), or N/A (excluded). All checks have equal weight within their dimension. See references/rubric.md for the full scoring formula and score caps.

ScoreMeaning
95-100%Accurate and polished — ready to publish
85-94%Minor issues — fix before publishing
70-84%Significant issues — needs rework
50-69%Major gaps or inaccuracy
0-49%Largely stale or misleading — rewrite

Reviewer stance

The review must reflect a demanding reviewer, not a generous one. Adopt the stance of a seasoned editor or investigative journalist: assume the author is beside you and will push back, so go after the single weakest claim, not the average. Nothing earns praise by default; the doc earns each PASS.

Issues

A check is tagged Major or left untagged. Major issues are the must-fix findings and carry equal priority — there is no ranking among them. Untagged checks are smaller quality findings.

Output format

The report must include, in order:

  1. Header — doc set reviewed, overall score %, one-line verdict from the score band
  2. Files reviewed — each doc with line count
  3. Dimension scores — each dimension with score %, a visual bar, and weight
  4. Issues — in dimension order, each with: check name, doc location, what was found (quote it), and how to fix
  5. Summary — total issue count, and whether any score cap applied

Execution

Follow these steps in order.

1. Scope the review

Accept the docs by path, glob, or name. If none is given, confirm the target with the user rather than guessing — the whole docs/ tree, a single file, or the repo's top-level docs. Record the file list and line counts.

2. Read the docs and the code they describe

Read every in-scope file in full — do not sample. Then verify every concrete claim against the code:

  1. Named paths and symbols — search the codebase for each file path, class, function, and config key the doc names. Confirm it exists and is spelled correctly.
  2. Behavioural claims — read the relevant function or class to confirm the described behaviour matches what the code does.
  3. Values and defaults — check that any stated number, default, or config value matches the current source or asset.
  4. Unverifiable claims — if a claim cannot be located in the code after a reasonable search, flag it as unverifiable rather than scoring PASS.

Accuracy cannot be judged from the prose alone. If the repo documents its own doc conventions (for example a CLAUDE.md "Conventions" section), read them — Dimension 7 scores against them.

3. Load rubric and evaluate

Read references/rubric.md for the full check definitions. For each dimension, evaluate every check: decide whether it applies (mark N/A only when it genuinely cannot), score PASS / WARN / FAIL per the Scoring discipline, and record a justification quoting the doc text (and the contradicting code for accuracy issues). A non-PASS is a Major if the rubric tags the check Major, otherwise an untagged finding.

4. Compute scores

For each dimension, average its applicable checks (PASS=1, WARN=0.5, FAIL=0, N/A excluded). Combine with the dimension weights for the overall score, then apply score caps (see references/rubric.md).

5. Present the report and offer to fix

Output the report in the format above, issues in dimension order. After the report, offer to apply the fixes — the smallest accurate edit per issue, preserving each doc's voice — but make no changes until asked.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.