dhh-review

Review Rails code against DHH standards using Rubocop and Brakeman.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Grupo-AFAL/claude-plugins --skill dhh-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dhh-review
Source: https://github.com/Grupo-AFAL/claude-plugins/tree/main/rails-tools/skills/review
Command: npx skills add https://github.com/Grupo-AFAL/claude-plugins --skill dhh-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides automated Rails code reviews to ensure code adheres to DHH standards, catching anti-patterns and quality issues before merge.

Core Features & Use Cases

  • Invokes automated checks (Rubocop, Brakeman) and loads the dhh-code-reviewer agent to assess Rails-worthiness.
  • Supports reviewing specific files, directories, globs, or branches, including staged changes, with iterative feedback loops.
  • Produces structured reports and final verdicts to guide refactoring and improvement on Rails projects.

Quick Start

Provide a target (file, directory, glob, --staged, or --branch) to start an automated DHH Rails-worthiness review.

Frequently Asked Questions about dhh-review

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

FAQPage Schema
How do I automate Rails code review to enforce DHH coding standards?

Automated Rails code review enforces DHH standards by running Rubocop and Brakeman on targeted files, directories, globs, or staged changes. The dhh-code-reviewer agent evaluates the code against Rails-worthiness criteria, producing structured passes and a final verdict to guide refactoring.

Can I run an automated code review on staged changes before a Git merge?

Yes, you can run an automated code review on staged changes by passing the --staged flag. The review targets your staged changes, applying Rubocop, Brakeman, and the dhh-code-reviewer agent to catch anti-patterns and quality issues before merge.

What is a DHH code review and how does it check Rails-worthiness?

A DHH code review checks Rails-worthiness by enforcing DHH standards across changed code to identify anti-patterns. It uses the dhh-code-reviewer agent alongside Rubocop and Brakeman to assess whether your Rails code meets specific quality benchmarks.

Do I need Rubocop and Brakeman installed to run an automated Rails code review?

Yes, you need Rubocop and Brakeman installed, along with the dhh-code-reviewer agent. These dependencies are required to perform the automated checks and generate the structured reports and final verdicts for your Rails project.

What's the best way to review a specific branch for Rails code quality issues?

The best way to review a specific branch for Rails code quality issues is to pass the --branch target to the automated review workflow. This applies DHH standards, Rubocop, and Brakeman checks directly to the changed code within that branch.

Why does my Rails code review report show structured passes and a final verdict?

Your Rails code review report shows structured passes and a final verdict because the review workflow evaluates your code iteratively. It documents which DHH standards, Rubocop, and Brakeman checks pass or fail to guide your refactoring and improvement.