ce-dhh-rails-style

Review Ruby and Rails code against the 37signals/DHH style guide.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Santiagoisper/BOPE_VERSION_DEFINITIVA --skill ce-dhh-rails-style-santiagoisper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-dhh-rails-style
Source: https://github.com/Santiagoisper/BOPE_VERSION_DEFINITIVA/tree/main/.agents/skills/compound-engineering/ce-dhh-rails-style
Command: npx skills add https://github.com/Santiagoisper/BOPE_VERSION_DEFINITIVA --skill ce-dhh-rails-style-santiagoisper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to writing Ruby and Rails code in the 37signals/DHH style, improving code quality and consistency.

Core Features & Use Cases

  • Style Guide: Offers a detailed style guide for 37signals/DHH conventions, including naming, patterns, and best practices.
  • Code Review: Helps code review processes by enforcing DHH style conventions.
  • Use Case: If you're part of a team that wants to adopt the 37signals/DHH coding style, this Skill is invaluable for ensuring consistency across your codebase.

Quick Start

Use the ce-dhh-rails-style skill to review and refactor your Ruby/Rails code against the 37signals/DHH style guide.

Frequently Asked Questions about ce-dhh-rails-style

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

FAQPage Schema
What is the 37signals DHH Ruby on Rails coding style?

You can enforce DHH style conventions by using this guide during your Rails code review process. It helps refactor existing Ruby code against the 37signals style guide, ensuring team consistency by targeting fat models, thin controllers, and REST purity.

Do I need prior Ruby on Rails experience to apply DHH coding conventions?

Yes, you need existing knowledge of Ruby and Rails, along with familiarity with 37signals/DHH coding standards. This guide targets developers and teams aiming to adopt best practices rather than teaching the framework from scratch.

How do I refactor a Rails controller to follow the DHH thin controller pattern?

Refactoring a Rails controller to follow the DHH thin controller pattern involves moving business logic into fat models and maintaining REST purity. The guide provides detailed patterns and best practices for restructuring your code to achieve this clarity.

What's the best way to adopt 37signals Rails conventions for an existing codebase?

The best way to adopt 37signals Rails conventions for an existing codebase is to review and refactor your code against the comprehensive DHH style guide. This ensures consistency by applying their specific naming patterns and REST architectural rules.

Why does my Rails code lack consistency when applying DHH patterns?

Your Rails code lacks consistency when applying DHH patterns if it deviates from REST purity or accumulates logic in controllers. Adopting the 37signals style guide clarifies naming conventions and enforces the 'clarity over cleverness' philosophy to resolve this.