Agent skill

Rigor Docs Review

by rigortype in rigortype/rigor

Review Rigor's user-facing manual and handbook for mechanical, semantic, reader, bloat, and copyediting defects, then apply only necessary fixes.

MPL-2.0Auto-check passedDevelopment

Install Rigor Docs Review

skills CLI
$ npx skills add rigortype/rigor --skill rigor-docs-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rigortype/rigor rigor-docs-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rigortype/rigor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/rigor-docs-review .claude/skills/rigor-docs-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rigor-docs-review
GitHub stars
106
Token cost
~2.8k tokens
SKILL.md length
1,443 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
MPL-2.0

At a glance

Review Rigor's user-facing manual and handbook for mechanical, semantic, reader, bloat, and copyediting defects, then apply only necessary fixes.

  • Works in 5 steps: Pick scope: full cycle / single layer… → Gate on L0: run make docs-check. Green →… → Run one layer: launch its lenses in the… → …
  • Chapter validation
  • SKILL.md covers When to use / not, The five layers, Launch → synthesize → apply… and Notes
  • Calls make and git

What it does

Rigor Docs Review is an agent skill from rigortype/rigor. Review Rigor's user-facing manual and handbook for mechanical, semantic, reader, bloat, and copyediting defects, then apply only necessary fixes. Use for a docs review or chapter validation; not for a single typo or a code review.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Inference-first static analysis for Ruby. The licence is MPL-2.0.

When your agent uses it

  • Chapter validation
  • Not for a single typo

Example prompts

  • “/rigor-docs-review”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Pick scope: full cycle / single layer (L1…L4) / single lens (fidelity / ruby-reader /
  2. Gate on L0: run make docs-check. Green → proceed; red → fix the mechanical drift first.
  3. Run one layer: launch its lenses in the same message (Agent tool, general-purpose;
  4. Synthesize + selectively apply that layer's fixes
  5. Gate to the next layer (full cycle only): later layers read the corrected text. Never reorder

What it can do on your machine

Read from SKILL.md and the folder at commit 57a67cf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • make
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rigor Docs Review loads about 2.8k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 1,443 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rigortype/rigor at commit 57a67cf, republished under its MPL-2.0 licence (© rigortype). 1,443 words, ~2,780 tokens.

Download SKILL.mdSave it as .claude/skills/rigor-docs-review/SKILL.md (or your agent's skills folder).
name
rigor-docs-review
description
Review Rigor's user-facing manual and handbook for mechanical, semantic, reader, bloat, and copyediting defects, then apply only necessary fixes. Use for a docs review or chapter validation; not for a single typo or a code review.
metadata.internal
true

rigor-docs-review — user-facing docs review battery

Reviews Rigor's user-facing documentation — docs/manual/ (operational reference) and docs/handbook/ (type-model walkthrough) — from multiple expert lenses run as independent-context subagents, records each to a note, and applies only the necessary, axis-preserving fixes. This skill is the methodology freeze; the personas are re-pointed at whatever chapter/scope each run targets.

The full design rationale (what ports from the chibirigor book battery, what drops, what inverts, why L0 is new) is docs/notes/20260610-user-docs-review-battery-design.md. Read it once; do not restate it here.

The one load-bearing constraint: this is software documentation, not a book. Prose depth is not a virtue. A book battery rewards narrative richness and woven-in background; here the reference job is correctness and necessary clarity, and background thinness is not a defect. This is why L3 is inverted (a bloat detector, not a depth booster) and why no lens is allowed to recommend padding.

When to use / not

  • Use: a manual/handbook chapter reached a stopping point; pre-release doc pass; "does the doc still match the implementation?"; the user says "review the docs / 査読して / 校閲して".
  • Do NOT use: a single-line fix or an obvious typo — the lens-launch overhead is not worth it.

The five layers

Run order is L0 → L1 → L2 → L3 → L4 (機械 → 真 → 伝 → 簡 → 整). A full cycle runs at milestones; day-to-day, run only the layer in question (see "Which layer to run"). Parallel within a layer, sequential across — a later layer reads the text the earlier layer's fixes already corrected, because polishing an incorrect claim, or tidying prose a reader can't follow, is wasted work.

LayerQuestionForm
L0 機械Do the mechanically-checkable claims match reality?spec/docs/ (make docs-check) — a permanent gate, not an LLM lens
L1 真Are the semantic claims true against the spec / implementation?LLM lens (fidelity, + a type-theory sub-lens for the type-theory appendix)
L2 伝Does it reach its declared reader?LLM lenses (Ruby-only reader · procedure reproduction · appendix reader)
L3 簡Is it fat? (thinness is L2's job, not this one)LLM lens (bloat detector, inverted)
L4 整Is the English / terminology / cross-referencing clean?LLM lens (copyedit — always last)
L0 機械 — the permanent gate (already built)

L0 is not an LLM lens — it is the spec/docs/ harness, run with make docs-check:

  • handbook_snippets_spec.rb — extracts ```ruby blocks carrying assert_type / dump_type, runs them through the analyzer, fails on assert.type-mismatch (a prose claim the engine no longer produces).
  • manual_drift_spec.rb — CLI subcommands (CLI::HANDLERS), config keys (Configuration::DEFAULTS), rule ids (CheckRules::ALL_RULES), and rule documentation_url anchors (ADR-65) cross-referenced against docs/manual/.
  • link_integrity_spec.rb — every relative markdown link in the docs resolves.

The LLM battery runs only when L0 is green. Start every cycle with make docs-check; a mechanical failure is cheaper to fix than an LLM lens is to run, and a red L0 usually means a fix landed with a stale doc. (Known un-covered gap: CLI flag drift — flags lack a clean registry, so it stays an LLM L1 concern, not a mechanical check.)

The common contract (pass to EVERY lens)
  • Do not break the docs' declared axes (both READMEs state them, so hand them over as the review criterion, don't invent new ones):
    • Reader: the handbook targets a Ruby programmer with no static-typing background; each "Coming from X" appendix declares its own reader.
    • Split: type model → handbook, operation → manual (both READMEs cross-declare it).
    • Handbook non-goals: readable cover-to-cover in a few hours; edge cases belong in the spec corpus; it does not teach Ruby; plugin authoring belongs in examples/.
    • Terminology: bare "interface" is banned — first use is always structural interface or RBS interface.
    • Spec binds: if the handbook contradicts the spec corpus on analyzer behaviour, the handbook is what's wrong.
  • Severity-label every finding (ERROR / MISLEADING / FRICTION / nitpick). A few nitpicks at the end, not sprinkled.
  • This is software docs, not a book. No lens may recommend adding prose for depth's sake, "more rigour," or narrative flourish. Reference density (tables, annotated code) is the goal.
  • Read the shipping docs only. Do not read internal docs/notes/ review memos as source.
  • Output: the subagent's final message is a per-lens table (quoted location / problem / proposed fix) + a short overall verdict, and it writes the same to its note (below).
L1 真 — semantic fidelity
  • Persona: a reviewer who reads both Rigor's implementation and the docs and checks that every claim the L0 harness can't mechanically verify is true — cache-invalidation conditions, diagnostic firing conditions, severity-profile mappings ("balanced maps X to :info"), plugin behaviour. Handbook claims are checked against the spec corpus (spec binds); manual claims against the implementation + actual CLI behaviour. Has read access to lib/rigor/ and may run the CLI (read-only). An intentional simplification is not a fidelity gap — flag only accidental inaccuracy (the doc asserts ¬X where the engine does X). Distinguish the two in the report.
  • Type-theory sub-lens (only for appendix-type-theory.md and the cross-checker appendices): a reviewer at TAPL-teaching level checks the formal claims; honest simplifications are not faulted.
  • Note: docs/notes/YYYYMMDD-docs-review-fidelity.md.
Show full SKILL.md (636 more words)Show less
L2 伝 — reader lenses (three sub-lenses, parallel)
  • (a) Ruby-only reader — the handbook's declared audience: a Ruby programmer who understands String / Array / Hash / Data as real classes but has no type-declaration mental model and conflates "type" with "class." Reads the handbook only (never lib/ / spec/), flags where "type ≈ class" silently breaks (Constant[1], unions, structural shapes), where type-annotation or static-checking is treated as already-known, and where a TypeScript/RBS example is used as scaffolding rather than a bonus. Do NOT over-simplify — the goal is finding genuine steps where a Ruby-only reader is truly stuck, not lowering the doc's level; a concept the surrounding text teaches is not a leap. Severity BLOCK / FRICTION / nitpick. Note: -ruby-reader.md.
  • (b) Procedure reproduction — reads docs/manual/01-installation.md and 14-rails-quickstart.md and tries to complete the procedure from the text alone (execution mode; may run the commands in a scratch dir). Reports any step that can't be completed without outside knowledge. Note: -repro.md.
  • (c) Appendix reader — reads a "Coming from X" appendix as someone with an X background (Sorbet / TypeScript / Steep / RBS / mypy / Flow / …), checking the bridge from X's model lands. All nine on a full cycle; only the changed appendix on a targeted pass. Note: -appendix-reader.md.
L3 簡 — bloat detector (inverted; flags FAT only)
  • Persona: the harsh-critic attribute from the book battery, but re-pointed — it does not flag thin prose (that is L2's job). It flags only the fat direction:
    • manual / handbook overlap (the README-declared split is the criterion — the same thing explained in both).
    • Prose that a table or an annotated code block would express more precisely.
    • Handbook non-goal violations: content beyond "a few hours to read," content that belongs in the spec corpus, plugin-authoring guidance that belongs in examples/.
  • Axis guard: trimming is not a licence to gut necessary reference material. The manual is a reference; density is correct, terseness is fine. Note: -bloat.md.
L4 整 — English copyedit + convention compliance (ALWAYS LAST)
  • Persona: a professional technical copyeditor. Checks English quality (AI-flavoured phrasing, passive-voice drift, hedging), the interface → structural interface / RBS interface naming rule (semi-mechanisable — grep bare "interface" and check first-use qualification), the docs/manual ↔ docs/handbook cross-reference hygiene, and link text. Does not re-litigate content (done by L1–L3). Runs last so the churn from earlier layers is copyedited once. Note: -copyedit.md.

Launch → synthesize → apply (layer-driven)

Default is one layer at a time. A full cycle (L0→…→L4) is for milestones only.

  1. Pick scope: full cycle / single layer (L1…L4) / single lens (fidelity / ruby-reader / repro / appendix-reader / bloat / copyedit). Name the target chapters.
  2. Gate on L0: run make docs-check. Green → proceed; red → fix the mechanical drift first.
  3. Run one layer: launch its lenses in the same message (Agent tool, general-purpose; opus default, reader lenses may use sonnet and 2–3 readers surface the common stumble). Each subagent writes its findings to docs/notes/YYYYMMDD-docs-review-<lens>.md (persistent ledger).
  4. Synthesize + selectively apply that layer's fixes:
    • Axis first. Not everything. Prioritise ERROR / clear fidelity gaps / clear language errors. Judgment calls (restructuring, a new table, a big cut) are recorded for the maintainer, not auto-applied.
    • Apply with git add <individual files> — never -A (don't sweep a parallel session's WIP).
    • Re-run make docs-check after edits — a fix must not break a snippet, a link, or a rule anchor.
  5. Gate to the next layer (full cycle only): later layers read the corrected text. Never reorder L1 → L2 → L3 → L4, and L4 整 is always last (copyediting text that later layers will churn is waste).
Which layer to run (quick reference)
  • Wrote / changed technical content → L1 真 (then L2 if the change affects explanation).
  • New chapter / restructure → L2 伝.
  • After a big rewrite (cut / expand) → L3 簡, then once settled L4 整.
  • Pre-release final pass → L4 整 (full cycle at a milestone).
  • Single-line fix / obvious typo → no layer (not worth the overhead).

Notes

  • Findings notes live under docs/notes/, never inside docs/manual/ or docs/handbook/ (those are shipping docs).

© rigortype, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/rigor-docs-review of rigortype/rigor.

Open the folder on GitHubat commit 57a67cf

Compare with similar skills

Rigor Docs Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rigor Docs Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rigor Docs Review this skillrigortype/rigor106—~2.8kAutomated safety check: PassMPL-2.0
Vercel Composition Patternssupabase/supabase111k59 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 59 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from rigortype/rigor

All 36 skills in this repo
  • Rigor Regression Sweep

    rigortype/rigor

    Measure Rigor's baseline drift across the tagged history of a real OSS Ruby project.

    106 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Adjudicate a rigor unused report safely before proposing dead-code removal.

    106 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Rigor Baseline Reduce

    rigortype/rigor

    Reduce an existing .rigor-baseline.yml rule by rule by triaging sites, fixing or intentionally suppressing them, and regenerating the baseline.

    106 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Rigor Doctor

    rigortype/rigor

    Validate that a project's Rigor configuration, plugins, paths, and baseline are actually healthy.

    106 GitHub stars~767 tokensUpdated yesterday
    Auto-check passed
  • Rigor Plugin Author

    rigortype/rigor

    Author a new Rigor plugin, choosing plugins/ for production support or examples/ for a contract walkthrough.

    106 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check: notes
  • Rigor Plugin Author

    rigortype/rigor

    Author a Rigor plugin in an adopting project or standalone rigor- gem for a DSL, framework, or metaprogramming pattern.

    106 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Rigor Docs Review

What does Rigor Docs Review do?

Review Rigor's user-facing manual and handbook for mechanical, semantic, reader, bloat, and copyediting defects, then apply only necessary fixes. Rigor Docs Review is an agent skill from rigortype/rigor. Review Rigor's user-facing manual and handbook for mechanical, semantic, reader, bloat, and copyediting defects, then apply only necessary fixes.

When should I use Rigor Docs Review?

Rigor Docs Review fits situations like: chapter validation; not for a single typo.

How do I install Rigor Docs Review in Claude Code?

Run `npx skills add rigortype/rigor --skill rigor-docs-review -a claude-code`. Or copy the skill folder (.claude/skills/rigor-docs-review in rigortype/rigor) into .claude/skills/rigor-docs-review in your project. Claude Code loads it when a task matches its description.

How do I install Rigor Docs Review in Codex?

Run `npx skills add rigortype/rigor --skill rigor-docs-review -a codex`. Or copy the skill folder (.claude/skills/rigor-docs-review in rigortype/rigor) into .agents/skills/rigor-docs-review in your project. Codex loads it when a task matches its description.

Can I use Rigor Docs Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rigortype/rigor --skill rigor-docs-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rigor-docs-review, .gemini/skills/rigor-docs-review, .github/skills/rigor-docs-review and .opencode/skills/rigor-docs-review in your project.

What does Rigor Docs Review need to run?

Going by SKILL.md and its folder, Rigor Docs Review needs the command-line tools its instructions call (make and git).

Does Rigor Docs Review access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Rigor Docs Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rigor Docs Review use?

Rigor Docs Review is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rigor Docs Review use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rigor Docs Review?

Skills that share tags, products or a category with Rigor Docs Review: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rigor Docs Review?

rigortype (a GitHub organization) maintains it in rigortype/rigor, which has 106 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 8, 2026.

Source: rigortype/rigor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.