What problem does it solve?
Helps teams and engineers produce Ruby on Rails code that follows David Heinemeier Hansson's 37signals conventions so codebases remain RESTful, maintainable, and aligned with Hotwire-driven UX patterns.
Core Features & Use Cases
- Opinionated architecture: promotes fat models, thin controllers, concerns for horizontal sharing, and state-as-records instead of boolean columns.
- REST and routing guidance: maps verbs to noun resources, encourages shallow nesting and singular resources for one-per-parent semantics.
- Frontend and interactivity: favors Turbo Streams and Stimulus controllers with native CSS patterns over heavy JS frameworks and Tailwind.
- Testing and tooling: recommends Minitest with fixtures, database-backed queues/caches, and minimal external dependencies.
- Use Case: review or refactor an existing Rails controller, model, or view to adopt DHH conventions and produce idiomatic, production-ready changes.
Quick Start
Ask the dhh-rails-style skill to review my Rails controller and refactor it to use RESTful resources, concerns, and Turbo responses where appropriate.