generating-sorbet-inline
Installation
SKILL.md
Sorbet Inline Generation Skill
Generate Sorbet type signatures using sig {} blocks directly in Ruby source files. Sorbet signatures are valid Ruby code that enable both static and runtime type checking.
Instructions
When generating Sorbet inline signatures, always follow these steps.
Copy this checklist and track your progress:
Sorbet Inline Generation Progress:
- [ ] Step 1: Analyze the Ruby source
- [ ] Step 2: Add Sorbet signatures
- [ ] Step 3: Eliminate `T.untyped` in signatures
- [ ] Step 4: Review and refine signatures
- [ ] Step 5: Validate signatures with Sorbet