Back to Skills

dhh-rails-style

This skill should be used when writing Ruby and Rails code in DHH's distinctive 37signals style. It applies when writing Ruby code, Rails applications, creating models, controllers, or any Ruby file. Triggers on Ruby/Rails code generation, refactoring requests, code review, or when the user mentions DHH, 37signals, Basecamp, HEY, or Campfire style. Embodies REST purity, fat models, thin controllers, Current attributes, Hotwire patterns, and the "clarity over cleverness" philosophy.

6,114stars482forksUpdated 1/23/2026

Security Assessment

Safe(100/100)
Security Score100/100

About dhh-rails-style

The 'dhh-rails-style' skill is designed to guide users in writing Ruby and Rails code following the distinct 37signals/DHH conventions. It addresses the problem of inconsistent coding practices in Ruby on Rails applications by applying a clear, standardized approach based on DHH's production codebases, including Campfire and Fizzy. By following these conventions, developers can ensure that their code aligns with the values and practices that have made 37signals successful, resulting in clean, efficient, and maintainable applications.

FAQ

How does this skill improve my Ruby on Rails code?

This skill provides guidance on writing code according to the 37signals/DHH conventions, ensuring that your code follows best practices in areas such as RESTful design, fat models, thin controllers, and a clear, simple approach to development.

Can I use this skill with any Ruby on Rails project?

Yes, this skill is applicable to any Ruby on Rails project where you want to adhere to the principles and conventions used by DHH and 37signals.

Are there any limitations to this skill?

This skill focuses solely on applying DHH's conventions and may not be suitable for projects that require alternative approaches or tools not favored by DHH, such as Redis, GraphQL, or certain gems.

Do I need to use Minitest with this skill?

Yes, DHH and 37signals prefer Minitest over RSpec, so the skill assumes you are using Minitest for your testing needs.

Does this skill support all types of Ruby on Rails applications?

This skill primarily supports conventional Ruby on Rails applications built with DHH's principles, but may not cover all possible use cases, especially those that deviate from the standard Rails patterns.

Install dhh-rails-style

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill