rigor: Skill for Claude Code

.claude/skills/rigor-type-coverage-uplift/SKILL.md

rigor-type-coverage-uplift is a skill for Claude Code from rigortype/rigor. It costs 59 tokens per session (5,985 once invoked), scanned A, original, MPL-2.0.

A workflow for expanding Rigor's support for understanding Ruby standard-library and core methods during type analysis. Type analysis predicts the kinds of values code produces without running the program.

In plain words
What is it for?
Use it to audit and add support for a named class, module, or method family in constant folding, shape dispatch, or singleton folding.
Why use it?
It replaces ad hoc additions with an audit, prioritisation, and implementation process. This helps find missing method support and divide the work into manageable changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is rigortype/rigor's own configuration. It tells Claude Code how to work on rigor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rigor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rigortype/rigor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rigortype/rigor/master/.claude/skills/rigor-type-coverage-uplift/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rigortype/rigor

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rigor-type-coverage-uplift

README.md
[![agentmods](https://agentmods.dev/badge/skills/rigortype/rigor/rigor-type-coverage-uplift/github.svg)](https://agentmods.dev/skills/rigortype/rigor/rigor-type-coverage-uplift)
Your own site
<a href="https://agentmods.dev/skills/rigortype/rigor/rigor-type-coverage-uplift"><img src="https://agentmods.dev/badge/skills/rigortype/rigor/rigor-type-coverage-uplift/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rigor-type-coverage-uplift

Your own site · 80×15
<a href="https://agentmods.dev/skills/rigortype/rigor/rigor-type-coverage-uplift"><img src="https://agentmods.dev/badge/skills/rigortype/rigor/rigor-type-coverage-uplift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,985 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.05985
Opus 5.5 $0.00024 $0.02394
Sonnet 5.5 $0.00012 $0.01197
Haiku 4.5 $0.00006 $0.00598

Measured 11d ago against content hash cbf10440d8fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rigor-type-coverage-uplift scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/rigor-type-coverage-uplift/SKILL.md · 530 lines

How it starts

The opening of the file, as written. The whole thing — 530 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rigor Type-Coverage Uplift

A contributor workflow for systematically discovering, prioritising, and implementing precision improvements across Rigor's method-dispatch pipeline. The flow has three phases:

  1. Audit — enumerate each type's own methods, cross-reference against the existing implementation, and produce a machine-readable coverage doc.
  2. Decision — classify every gap by implementation tier; this document is the parallelisation artifact that lets separate agents work on independent tiers.
  3. Implementation — one tier at a time, apply the per-tier patterns and commit each slice.

Background

Rigor's method-dispatch pipeline resolves receiver.method(args) through ordered tiers. For a given call site, the first tier that returns a non-nil type wins. The order is defined by dispatch_precise_tiers in lib/rigor/inference/method_dispatcher.rb; read it before relying on this summary:

DataFolding / StructFolding — Data / Struct value objects
meta-introspection          — `Singleton[*].new` and other class-object lifts
ConstantFolding             — scalar constant receivers (String, Integer, Float, bool, nil, Regexp, Symbol)
LiteralStringFolding        — mutable literal-string concatenation
ShapeDispatch               — structural types (Tuple, HashShape, Difference, Size-carrying Nominals)
STDLIB_SINGLETON_FOLDERS    — one folder per stdlib singleton receiver (File, Shellwords, Math, …)
Kernel intrinsics           — Kernel / Object methods (puts, pp, raise, …)
MethodFolding, ReduceFolding, ArrayToHFolding, BlockFolding
RbsDispatch                 — RBS envelope (fallback, always non-nil)

A "coverage gap" is any method where the RBS fallback gives a wide type (String, Integer, Array[T], …) when a precise Constant[T] or Tuple or Refined type could be returned because all the relevant arguments are statically known.

The underlying design documents:

Read the full file on GitHub · 530 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 530 lines · 59 tokens per session scan A cbf10440d8fd

Subscribe to this mod's changes

rigor-type-coverage-uplift is a skill published in the GitHub repository rigortype/rigor (107 stars, last pushed today), licensed MPL-2.0. It adds 59 tokens to every session and 5,985 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

rigor-type-coverage-uplift compared with skills from other repositories

rigor-type-coverage-uplift next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rigor-type-coverage-upliftrigortype/rigorSkill107todayMPL-2.0A59Claude Code
newclacky-ai/openclackySkill1.2kyesterdayMITA10Claude Code
rspec-conventionsrootstrap/rails_api_baseSkill6342d agoMITA82Claude Code
dhh-rails-styledavekilleen/DexSkill5128d agoMITA115Claude Code
ruby-patternssoftspark/ai-toolkitSkill17910d agoApache-2.0A60Claude Code
ruby-idiomsirahardianto/awesome-agvSkill15823d agoMITA61Claude Code, Codex
ruby-rulessoftspark/ai-toolkitSkill17910d agoApache-2.0A48Claude Code