review-rails

Installation
SKILL.md

Rails Code Review & Refactoring Guide

Analyze Ruby/Rails code for unnecessary custom objects, class bloat, and insufficient usage of Ruby's generic data structures. Provide specific refactoring steps with before/after code examples.

Scope Determination

Determine scope from the user's request:

  • File paths (e.g., app/models/user.rb): analyze only those files
  • Directory paths (e.g., app/services/): analyze all Ruby files in that directory
  • Branch name: compare current branch against it to review only changed files
  • No scope specified: perform full codebase audit
  • Focus area (e.g., "service objects", "value objects"): prioritize that aspect

Required Skill

MANDATORY: Load the simplifying-ruby-code skill and apply its principles throughout the analysis. Reference specific patterns explicitly (e.g., "Pattern 1: Command Objects -> Module Functions").

Anti-Patterns to Scan

Installs
1
GitHub Stars
12
First Seen
Apr 1, 2026
review-rails — bostonaholic/dotfiles