dhh-ruby-style

Guides Ruby and Rails code generation, refactoring, and review using DHH's style.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Folly-Partners/claudesync --skill dhh-ruby-style-folly-partners
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dhh-ruby-style
Source: https://github.com/Folly-Partners/claudesync/tree/main/plugins/cache/every-marketplace/compound-engineering/2.15.1/skills/dhh-ruby-style
Command: npx skills add https://github.com/Folly-Partners/claudesync --skill dhh-ruby-style-folly-partners

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a practical guide to writing Ruby and Rails code in DHH's distinctive style, helping teams maintain consistent, clear, and conventional code across projects.

Core Features & Use Cases

  • Provides patterns and conventions for RESTful controllers, semantic model naming, and Fat Models, designed to keep Rails code readable and maintainable.
  • Offers a curated set of patterns, references, and examples to accelerate code generation, refactoring, and code review in Ruby/Rails projects.
  • Serves as a reference during onboarding, code reviews, and pair programming to ensure stylistic alignment with DHH's philosophy.

Quick Start

Read the DHH Ruby/Rails style guide, apply the patterns during code generation or refactoring, and consult references/patterns.md for deeper guidance.

Frequently Asked Questions about dhh-ruby-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply DHH's Ruby style guide to my Rails code?

DHH's Ruby style emphasizes semantic naming, Fat Models, and RESTful controllers for maintainability. Apply these patterns during code generation and refactoring by consulting the provided patterns and references to guide implementation across your Rails project.

What are the key conventions in DHH's Rails coding style?

DHH's Rails style prioritizes semantic model naming, Fat Models that encapsulate business logic, and conventional RESTful controller design. These conventions keep code readable and aligned with 37signals, Basecamp, and HEY's established practices.

Can I use DHH's style guide during code reviews?

Yes. DHH's style guide serves as a reference during code reviews and pair programming to ensure team alignment with his philosophy. Use the patterns and examples to evaluate code consistency and suggest stylistic improvements.

How do I onboard developers to DHH's Ruby conventions?

Use this style guide as a reference during developer onboarding. Provide the patterns, references, and examples upfront so new team members understand semantic naming, Fat Models, and RESTful design before writing code.

What's the difference between DHH's style and standard Rails conventions?

DHH's style is more prescriptive about Fat Models, semantic naming, and controller structure than default Rails conventions. It reflects practices proven at 37signals and prioritizes code clarity and maintainability over minimalism.