The Rigor User Manual
How to install, run, configure, and operate Rigor. Where the handbook teaches the type model — what carriers Rigor infers and why — this manual is the operational reference: the command line, the configuration file, the diagnostic catalogue, and the workflows for adopting Rigor on a real project.
The two are companions. Reach for the handbook to understand what a diagnostic means; reach for the manual to look up the flag, key, or command that acts on it.
Contents
Section titled “Contents”Getting started
Section titled “Getting started”- Installing Rigor —
mise,asdf,gem install, Nix, and the dev-container guidance. Rigor is a tool, not a project dependency. - Rigor for Rails — step-by-step setup with mise —
install Ruby 4.0 + Rigor via
mise, activate the Rails plugin set, runrigor check, and share the config with your team in about ten minutes.
Reference
Section titled “Reference”- CLI command reference — every
subcommand (
check,annotate,type-of,sig-gen,baseline,triage,lsp, …), its flags, and its exit codes. - Configuration — the
.rigor.ymlkey reference, config discovery, andincludes:layering. - Diagnostics — the rule-ID catalogue,
severity profiles, and
# rigor:disablesuppression. - Inspecting inferred types — the
assert_type/dump_typesource helpers and therigor annotate/rigor type-ofcommands.
Adopting Rigor on a project
Section titled “Adopting Rigor on a project”- Baselines —
.rigor-baseline.yml, therigor baselinesubcommands, andrigor triage. - Using plugins — activating framework and
gem plugins through the
plugins:config key. Per-plugin user docs live under Plugin reference. - Provided skills — the bundled Agent Skills for onboarding and baseline reduction.
Integration and operations
Section titled “Integration and operations”- Editor integration — wiring
rigor lspinto Neovim, VS Code, Helix, and Emacs. - MCP server — exposing Rigor’s
analysis tools to AI coding agents (Claude Code, Cursor,
Cline, …) via
rigor mcp. - Running Rigor in CI — a clean CI job, a minimal GitHub Actions workflow, and version pinning.
- Caching — where the cache lives, what invalidates it, and how to clear it.
- Troubleshooting — common problems and their fixes.
See also
Section titled “See also”- The Rigor Handbook — the type-model walkthrough.
docs/types.md— one-page type-system guide.docs/type-specification/— the normative spec corpus.docs/adr/— architecture decision records.
© 2026 TypedDuck. Licensed under CC BY-SA 4.0.