dhh-rails-reviewer

Review Rails code diffs for non-idiomatic patterns and unnecessary abstractions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/xbpk3t/ce-codex --skill dhh-rails-reviewer-xbpk3t
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dhh-rails-reviewer
Source: https://github.com/xbpk3t/ce-codex/tree/main/skills/dhh-rails-reviewer
Command: npx skills add https://github.com/xbpk3t/ce-codex --skill dhh-rails-reviewer-xbpk3t

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flag architectural and frontend pattern diffs in Rails code during review to keep projects idiomatic and maintainable.

Core Features & Use Cases

  • DHH-style review: Apply David Heinemeier Hansson's perspective to Rails code diffs to identify anti-patterns.
  • Architecture vigilance: Detect non-idiomatic boundaries, unnecessary service layers, and broken conventions.
  • Frontend integration awareness: Flag mismatches between server-rendered flows and frontend patterns.

Quick Start

Scan a Rails diff and surface actionable DHH-style recommendations in your review notes.

Frequently Asked Questions about dhh-rails-reviewer

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

FAQPage Schema
How do I review Rails code diffs for non-idiomatic architectural patterns?

To review Rails code diffs for non-idiomatic patterns, apply an opinionated DHH perspective to flag unnecessary service layers and broken conventions in controllers, models, and routes. This produces clear, actionable code review notes.

What are common anti-patterns to flag during a Rails code review?

Common Rails anti-patterns include introducing unnecessary service boundaries, creating non-idiomatic abstractions, and implementing frontend patterns that fight the framework's server-rendered flows. These architectural choices reduce project maintainability.

How do I detect frontend integration mismatches in Rails code reviews?

To detect frontend integration mismatches in Rails, flag diffs where frontend patterns conflict with server-rendered flows. Applying a DHH-style review identifies when architectural choices fight the framework and break idiomatic conventions.

Can I use a DHH-style review to check Rails service boundaries?

Yes, you can use a DHH-style review to check Rails service boundaries by scanning diffs to identify unnecessary service layers and non-idiomatic abstractions. It flags architectural choices that fight the framework conventions.

What is the best way to keep Rails projects idiomatic during code review?

The best way to keep Rails projects idiomatic during code review is to flag architectural and frontend pattern diffs that fight the framework. Applying an opinionated DHH perspective detects broken conventions and unnecessary abstractions.

When should I avoid adding service layers in Rails applications?

You should avoid adding service layers in Rails applications when they introduce unnecessary abstractions that fight the framework. A DHH-style review flags non-idiomatic boundaries and architectural choices that break Rails conventions.