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
- Model Agent — Creates well-structured ActiveRecord models with validations, associations, scopes, and callbacks 652 ★
- Opening Tournament — 开头赛马机制。根据前序策划信息,并行提供 3 种极具差异化的实战开头原型方案(字数 150-300 字/个),由工作流导演在 Stage 5.8 显式调用 187 ★
- API Specialist — Expert in designing and implementing RESTful and GraphQL APIs for Rails 46 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Controller Agent
Creates thin, RESTful Rails controllers with strong parameters, proper error handling, and request specs. Use
Rails Implementer
Use this agent to implement an APPROVED plan phase in the MDM connector — Ruby models, services, jobs, GraphQL
N Plus One Hunter
Finds N+1 queries in Rails controllers, views, serializers and jobs and suggests includes, preload or eager_lo
Turbo Agent
Implements Turbo Drive, Turbo Frames, and Turbo Streams for fast, responsive Rails applications with minimal J
Audio Quality Checker
Checks that fat_llama's produced audio output is coherent and high-quality (bitrate, sample rate, duration), s
Fearmap
Analyse git repo history and produce FEARMAP.md — a map of dangerous, load-bearing, risky, and dead files. Use
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