dhh-rails-style

Analyze Ruby and Rails source code against DHH coding standards.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/apollostreetcompany/codex-compound --skill dhh-rails-style-apollostreetcompany
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dhh-rails-style
Source: https://github.com/apollostreetcompany/codex-compound/tree/main/plugins/compound-engineering/skills/dhh-rails-style
Command: npx skills add https://github.com/apollostreetcompany/codex-compound --skill dhh-rails-style-apollostreetcompany

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps maintain consistency and adherence to David Heinemeier Hansson's (DHH) Rails coding standards across Ruby and Rails codebases, ensuring clean, efficient, and maintainable code.

Core Features & Use Cases

  • Coding Standards Enforcement: Checks code for adherence to DHH Rails style, including naming conventions, structure, and patterns.
  • Best Practices Application: Applies best practices like REST mapping, fat models, thin controllers, and more.
  • Use Case: For a developer working on a Rails project, use this Skill to review code for style consistency and best practices adherence.

Quick Start

Use the dhh-rails-style skill to check the syntax and style of your Ruby on Rails code.

Frequently Asked Questions about dhh-rails-style

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

FAQPage Schema
How do I enforce DHH Rails coding standards in my Ruby application?

To enforce DHH Rails coding standards, analyze your Ruby source code and compare it against established 37signals conventions for RESTful design and object-oriented patterns. This checks for naming conventions, structure, and fat model adherence.

What are David Heinemeier Hansson's conventions for Rails controllers and models?

DHH's conventions for Rails prioritize fat models, thin controllers, and RESTful mapping. Adhering to these object-oriented patterns ensures your codebase maintains clean, efficient, and maintainable structure.

Can I use this to check if my Rails code follows 37signals best practices?

Yes, you can check if your Rails code follows 37signals best practices by analyzing your source code against DHH's established guidelines. It reviews syntax, style consistency, and RESTful design patterns.

What is the best way to review a Ruby on Rails codebase for style consistency?

The best way to review a Rails codebase for style consistency is to check the syntax and structure against DHH Rails style guidelines. This enforces naming conventions and object-oriented patterns.

Do I need specific dependencies to check Rails coding style?

No specific dependencies are required to check Rails coding style. You only need the Ruby source code you want analyzed to compare it against the established 37signals coding standards.

Why should I use DHH Rails style for my codebase?

You should use DHH Rails style to maintain consistency and adherence to established 37signals conventions across your Ruby codebase, ensuring clean, efficient, and maintainable code.