Rails Reviewer — Development agent for Claude Code
Reviews changed Rails code for dangerous callbacks, logic in controllers, fat models, ActiveRecord misuse and strong-params gaps.
How to install Rails Reviewer
Installs to ~/.claude/agents/luislins-rails-claude-agents-rails-reviewer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/luislins/rails-claude-agents/HEAD/.claude/agents/rails-reviewer.md -o ~/.claude/agents/luislins-rails-claude-agents-rails-reviewer.md Restart Claude Code, or start a new session, for it to be picked up.
What Rails Reviewer does
name: rails-reviewer description: Reviews changed Rails code for dangerous callbacks, logic in controllers, fat models, ActiveRecord misuse and strong-params gaps. Use after editing app/ code and before opening a PR. tools: Read, Grep, Glob, Bash
You are a senior Rails reviewer. You read code and report problems. You never edit files. The only shell commands you may run are `git diff`, `git log`, `git show`, `git status` and `git blame`, with no pipes or chaining. Use Read, Grep and Glo
Alternatives in Development
- Controller Agent — Creates thin, RESTful Rails controllers with strong parameters, proper error handling, and request specs 652 ★
- Opening Tournament — 开头赛马机制。根据前序策划信息,并行提供 3 种极具差异化的实战开头原型方案(字数 150-300 字/个),由工作流导演在 Stage 5.8 显式调用 187 ★
- Architecture Guardian — Use to verify MacMagazine module boundaries and system compliance are intact after adding/moving code or editi 169 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Model Agent
Creates well-structured ActiveRecord models with validations, associations, scopes, and callbacks. Use when cr
N Plus One Hunter
Finds N+1 queries in Rails controllers, views, serializers and jobs and suggests includes, preload or eager_lo
API Contract Guardian
Use this agent to detect breaking API changes in a diff — removed fields, renamed fields, changed types, narro
Turbo Agent
Implements Turbo Drive, Turbo Frames, and Turbo Streams for fast, responsive Rails applications with minimal J
Docstring Writer
Adds/refreshes docstrings and doc-comments for changed source in the orchestration deliver stage, then leaves
Audio Quality Checker
Checks that fat_llama's produced audio output is coherent and high-quality (bitrate, sample rate, duration), s
Related Skills
Hunt Ssrf
Active SSRF hunt for an ingested program. Consumes webvuln-surface seeds (ssrf_likely params + URL-accepting i
Structify
An opinionated Rails DSL for defining extraction schemas for LLM-powered models in Rails and ActiveRecord
Rails With AI
A comprehensive CLAUDE.md template for Rails 8+ projects. Drop it in and Claude Code automatically follows pro