What problem does it solve?
Provides a standardized approach to applying the DHH Rails conventions across Ruby and Rails projects, helping teams write cleaner, more maintainable code by promoting domain-driven models, lean controllers, RESTful patterns, and a consistent testing philosophy.
Core Features & Use Cases
- Enforces naming conventions and file organization aligned with 37signals/DHH style.
- Encourages state as records via concerns and domain objects to avoid boolean flags.
- Guides architecture decisions, testing practices (Minitest with fixtures), and Turbo/Stimulus frontend usage for Rails apps.
- Use Case: refactor a Rails app to adopt 37signals conventions in models, controllers, views, and tests while improving readability and maintainability.
Quick Start
Follow the DHH Rails conventions by refactoring your Rails project’s controllers, models, and tests to align with the 37signals-style patterns described in the skill.