generating-sorbet
Installation
SKILL.md
Defaults (ruby-rails plugin)
- Toolchain: mise — use
mise exec --when the project uses mise - Ruby: 4.0.0+ unless the project pins otherwise
- Commands: Prefer
mise exec -- bundle execover barebundle execwhen Gemfile is present - Pairing: Use generating-rbs-inline vs generating-rbs (and Sorbet inline vs RBI) based on project convention — never mix systems in one file
Sorbet RBI Generation Skill
Generate or update Sorbet type signatures in separate .rbi files. Supports both full generation from scratch and partial updates for individual changed files. RBI files are used when you cannot or should not modify the original Ruby source - such as for gems, generated code, or legacy codebases.
Instructions
When generating Sorbet RBI signatures, always follow these steps.
Copy this checklist and track your progress: