Agent skill

Rigor Plugin Review

by rigortype in rigortype/rigor

Audit an existing Rigor plugin against the current authoring contract and produce a prioritized upgrade path.

MPL-2.0Auto-check passedDevelopment

Install Rigor Plugin Review

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

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

GitHub CLI
$ gh skill install rigortype/rigor rigor-plugin-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/skills/rigor-plugin-review .claude/skills/rigor-plugin-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-plugin-review
GitHub stars
106
Token cost
~1.9k tokens
SKILL.md length
811 words
Files
2 (incl. references)
Skills in repo
36
Repo updated
First seen
Licence
MPL-2.0

At a glance

Audit an existing Rigor plugin against the current authoring contract and produce a prioritized upgrade path.

  • Works in 5 steps: Inventory → Score against the checklist → Establish the oracle BEFORE changing… → …
  • Reviewing a rigor- plugin
  • SKILL.md covers First: load the…, When to use / not use, Read the plugin — and read the… and Procedure, plus 2 more sections
  • Calls bundle, make and nix

What it does

Rigor Plugin Review is an agent skill from rigortype/rigor. Audit an existing Rigor plugin against the current authoring contract and produce a prioritized upgrade path. Use when modernizing or reviewing a rigor- plugin; not for authoring a new plugin, enabling bundled plugins, or tuning project config.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/01-best-practices-checklist.md`).

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

  • Reviewing a rigor- plugin
  • Not for authoring a new plugin
  • Enabling bundled plugins
  • Tuning project config

Example prompts

  • “/rigor-plugin-review”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Inventory
  2. Score against the checklist
  3. Establish the oracle BEFORE changing anything
  4. Apply the upgrade path, mechanical first
  5. Verify

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:

    • bundle
    • make
    • nix

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

  • Network

    No URLs in SKILL.md.

    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 Plugin Review loads about 1.9k tokens when it runs, and up to ~4.4k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 811 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.4k

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). 811 words, ~1,872 tokens.

Download SKILL.mdSave it as .claude/skills/rigor-plugin-review/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
rigor-plugin-review
description
Audit an existing Rigor plugin against the current authoring contract and produce a prioritized upgrade path. Use when modernizing or reviewing a `rigor-*` plugin; not for authoring a new plugin, enabling bundled plugins, or tuning project config.
license
MPL-2.0
metadata.version
0.1.0
metadata.homepage
https://github.com/rigortype/rigor

Rigor Plugin Review

Audit an existing Rigor plugin — a bundled one in the rigor monorepo (plugins/ or examples/), or your own rigor-<id> gem — against the current Rigor::Plugin::Base authoring contract, and hand back a prioritized upgrade path. This is the review / upgrade counterpart to rigor-plugin-author (which creates new plugins).

Plugins written before a contract addition keep working — the gate is compatibility, not currency — but they drift from the idiom other authors copy. The commonest drift, in rough order of how often it appears:

  1. Config defaults declared with a DEFAULT_* constant + config.fetch(k, DEFAULT) instead of config_schema {kind:, default:} (ADR-40).
  2. Hand-rolled boilerplate the ADR-60 WD4 authoring helpers now own — a Levenshtein "did you mean", a @table/@load_error memo + rescue, a Diagnostic.new where a node exists.
  3. A hand-rolled AST walk where the engine-owned node_rule now fits (ADR-37 / ADR-52).
  4. Removed / renamed hooks still named — flow_contribution_for (deleted, ADR-52 WD3) or type_specifier (removed in 0.3.0; renamed to narrowing_facts, ADR-80).
  5. Stale docs — archaeology about deleted hooks, pinned version references that no longer mean anything.

First: load the version-current copy

This skill audits against a contract that moves release to release (hook renames, new helpers, deprecations), so its checklist — in its references/ files — is only as good as the Rigor it ships with. Follow the copy that ships with the installed Rigor rather than any vendored or frozen copy of this file. Get the complete current procedure (body + all references, inline) in one call:

sh
rigor skill --full rigor-plugin-review

If you already loaded this skill via rigor skill you have the current copy — just proceed. If rigor is not on PATH, this task needs it: run rigor-next-steps to install Rigor first, then come back.

When to use / not use

Use it when someone asks to review a plugin's quality, check it against best practices, or upgrade it to the current contract — whether it lives in the rigor monorepo or in an external repo.

Do not use it for:

  • Authoring a new plugin → rigor-plugin-author.
  • Choosing / enabling bundled plugins on a project → rigor-plugin-tune.
  • A behavioural bug in a plugin — that is ordinary debugging, not a contract-conformance pass.

Read the plugin — and read the contract

Rigor is installed on disk, so both the plugin under review and the worked-example plugins are readable source:

sh
rigor plugin list                 # every bundled + example plugin, with paths
rigor plugin print rigor-<id>     # a plugin's main source, inline
rigor plugin path  rigor-<id>     # its directory, to browse

The authoritative authoring surface — the one this review scores against — is the internal spec, not this file:

When the checklist below and the spec disagree, the spec binds — it tracks the installed rigor version; this skill is a snapshot.

Procedure

Phase 1 — Inventory

Read the plugin's lib/**/*.rb, its README.md, and its integration / unit spec. Note: the manifest(...) block, every config.fetch / DEFAULT_* constant, every Rigor::Analysis::Diagnostic.new, any hand-rolled levenshtein / each_child walk / cross-plugin @*_resolved flag, and every mention of flow_contribution_for / type_specifier.

Show full SKILL.md (336 more words)Show less
Phase 2 — Score against the checklist

Walk references/01-best-practices-checklist.md concern by concern. For each finding, record: the smell, the modern replacement, the authoritative citation, and — critically — whether the change is mechanical (byte-identical diagnostics expected) or design-level (needs judgment / may change behaviour).

Phase 3 — Establish the oracle BEFORE changing anything

The plugin's integration spec is the contract you must preserve. Run it green first, so you can prove each later step is a faithful refactor:

sh
# external gem:
bundle exec rspec spec/
# in the rigor monorepo:
nix develop --command bundle exec rspec spec/integration/<plugins|examples>/<id>_plugin_spec.rb

If there is no spec, write one first (per rigor-plugin-author Phase 3) — a modernization with no oracle is a guess.

Phase 4 — Apply the upgrade path, mechanical first

Order the work low-risk → high-risk, and re-run the spec after every step:

  1. Mechanical (expect byte-identical diagnostics): ADR-40 config defaults · helper swaps (suggest / producer_value / diagnostic / diagnostics_for / read_fact) · manifest-field renames (ADR-60 WD1/WD2) · doc freshness. A spec that changes here means the swap was not faithful — fix it, do not re-baseline.
  2. Design-level (may change behaviour — validate empirically): an AST-walk migration onto node_rule; an engine-collaboration refactor that reads Scope#type_of instead of a hand-rolled binding map. Do not delete hand-rolled state before proving the engine gives you the same information — see the rigor-units trap in the checklist (the diagnostics-side Scope is a seed entry scope without flow-accumulated local bindings, so a cross-statement binding map can be necessary, not redundant).
Phase 5 — Verify
sh
rigor check <plugin>/lib        # ADR-43 contract self-check — must be clean
rigor plugins --strict          # the plugin still loads
rigor plugins --capabilities    # node-rule types / dynamic_return receivers look right
bundle exec rspec …             # the oracle spec, still green

In the rigor monorepo, the gate is make check-plugins (runs rigor check over every plugins/*/lib + examples/*/lib) plus make verify; land the change as its own commit(s) with the spec as the byte-identical gate.

Output

Hand the user a table — smell → replacement → authority → mechanical / design — ranked so the mechanical, oracle-gated wins land first, and call out any finding (like the units binding-map case) where the "obvious" modernization is actually wrong. If nothing is stale, say so plainly: a plugin that already tracks the current contract is a pass, not an occasion to invent churn.

Next step

Re-run rigor skill describe for the next move, or rigor-plugin-author if the review surfaced a new capability the plugin should grow.

© 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

SKILL.md and 1 other file (references) in skills/rigor-plugin-review of rigortype/rigor.

  • SKILL.md
  • references/01-best-practices-checklist.md

Open the folder on GitHubat commit 57a67cf

Compare with similar skills

Rigor Plugin 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 Plugin Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rigor Plugin Review this skillrigortype/rigor106—~1.9kAutomated 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 Plugin Review

What does Rigor Plugin Review do?

Audit an existing Rigor plugin against the current authoring contract and produce a prioritized upgrade path. Rigor Plugin Review is an agent skill from rigortype/rigor. Audit an existing Rigor plugin against the current authoring contract and produce a prioritized upgrade path.

When should I use Rigor Plugin Review?

Rigor Plugin Review fits situations like: reviewing a rigor- plugin; not for authoring a new plugin; enabling bundled plugins; tuning project config.

How do I install Rigor Plugin Review in Claude Code?

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

How do I install Rigor Plugin Review in Codex?

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

Can I use Rigor Plugin 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-plugin-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-plugin-review, .gemini/skills/rigor-plugin-review, .github/skills/rigor-plugin-review and .opencode/skills/rigor-plugin-review in your project.

What does Rigor Plugin Review need to run?

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

Does Rigor Plugin Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rigor Plugin 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 Plugin Review use?

Rigor Plugin Review is published under the MPL-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rigor Plugin Review use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Rigor Plugin Review?

Skills that share tags, products or a category with Rigor Plugin 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 Plugin 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.