Ruby 3.2 with RBS & Steep
Implements type-safe Ruby 3.2 development patterns using RBS type definitions, Steep checking, and rigorous testing standards.
This skill optimizes Claude for modern Ruby 3.2 development, prioritizing type safety and high-quality code architecture. It enforces the use of RBS for type definitions within a dedicated sig/ directory and utilizes Steep for static type analysis to minimize runtime errors. Beyond typing, the skill establishes strict standards for testing with RSpec, linting with Rubocop, and project management using rbenv, ensuring that Ruby projects are maintainable, performant, and follow the latest industry best practices for modular design.
主要功能
01Steep type checking configuration to avoid 'Any' types
02480 GitHub stars
03Standardized naming conventions and modular code architecture patterns
04Comprehensive RSpec testing standards with 80%+ coverage requirements
05Integration of RBS type definitions for robust static analysis
06Automated linting and formatting via Rubocop with specific style rules
使用场景
01Migrating legacy Ruby projects to a type-safe Ruby 3.2 environment
02Implementing complex value objects and mixins using Dry::Struct and RBS
03Bootstrapping new Ruby services with built-in CI/CD quality gates