What problem does it solve? Ruby codebases often accumulate long classes, bloated methods, and fat controllers that are hard to test and maintain. This Skill applies Sandi Metz's four rules to systematically detect these violations and suggest concrete refactorings. ## Core Features & Use Cases - Rule-Based Code Review: Measures classes (100 lines max), methods (5 lines max), parameters (4 max), and controller instantiations (1 max) using precise counting rules. - Prioritized Violations: Ranks issues by severity so you fix the worst offenders first, with guidance on when breaking a rule is acceptable. - Concrete Refactoring Patterns: Suggests specific techniques like Extract Method, Parameter Object, Service Objects, and Composed Method with before/after examples. - Use Case: Point it at a legacy Rails controller with embedded business logic, and it will identify the violations and walk you through extracting a service object step by step. ## Quick Start Review the Ruby files in app/controllers against Sandi Metz's rules and suggest refactorings for any violations.