ce-dhh-rails-style

Enforce DHH Rails conventions across Ruby and Rails codebases.

2|Updated May 8, 2026
One-click install
npx skills add https://github.com/xotong/claude-marketplace --skill ce-dhh-rails-style-xotong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-dhh-rails-style
Source: https://github.com/xotong/claude-marketplace/tree/main/plugins/compound-engineering/skills/ce-dhh-rails-style
Command: npx skills add https://github.com/xotong/claude-marketplace --skill ce-dhh-rails-style-xotong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce DHH Rails conventions across Ruby and Rails codebases to ensure a cohesive architecture and maintainable code.

Core Features & Use Cases

  • Standardized MVC patterns with RESTful resources and clean controller design
  • State-as-records approach (Closure, Goldness, NotNow) over boolean flags for auditable changes
  • Guidelines for testing with Minitest fixtures, minimal validations, and database-backed patterns

Quick Start

Audit your Rails project and begin applying ce-dhh-rails-style conventions to controllers, models, and views.

Frequently Asked Questions about ce-dhh-rails-style

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

FAQPage Schema
How do I align my Ruby on Rails codebase with DHH and 37signals conventions?

Apply standardized MVC patterns, RESTful resources, and state-as-records approaches to align your Ruby on Rails codebase with DHH and 37signals conventions, ensuring a cohesive architecture and maintainable code.

What is the state-as-records approach in Rails domain modeling?

The state-as-records approach in Rails uses patterns like Closure, Goldness, and NotNow instead of boolean flags to model domain state, ensuring auditable changes and cleaner database-backed design over simple toggles.

How do I structure Rails controllers and models using 37signals conventions?

Structure Rails controllers and models using 37signals conventions by standardizing RESTful resource design, applying minimal validations, and enforcing specific naming conventions for cohesive domain modeling.

What testing practices does DHH recommend for Rails applications?

DHH Rails testing practices recommend using Minitest with fixtures, emphasizing database-backed patterns and minimal validations to standardize testing across your application.

When should I use Turbo and Stimulus in a Rails codebase?

Use Turbo and Stimulus in a Rails codebase to standardize interactive view layers, following DHH conventions that prioritize integrated, framework-native JavaScript over heavy single-page application architectures.

Can I apply DHH Rails conventions to an existing Ruby on Rails project?

Audit your existing Ruby on Rails project to begin applying DHH conventions to controllers, models, and views, standardizing architecture, domain modeling, and testing practices incrementally.