원클릭으로
rails-code-reviewer
Interactive Rails code review based on thoughtbot, rubocop, and 37signals style guides
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Interactive Rails code review based on thoughtbot, rubocop, and 37signals style guides
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | Rails Code Reviewer |
| description | Interactive Rails code review based on thoughtbot, rubocop, and 37signals style guides |
An interactive Rails code review skill based on thoughtbot, rubocop, and 37signals (Basecamp/HEY) style guides.
Rules are merged from:
Detailed rules are organized in the references/ directory:
Read the relevant reference files before reviewing code in that category.
Default behavior: Review current branch changes (git diff) across all relevant categories. Auto-detect which reference files to load based on changed file paths:
app/models/ → load references/models.mdapp/controllers/ → load references/controllers.mddb/migrate/ → load references/migrations.mdconfig/routes.rb → load references/routing.mdapp/views/ → load references/views.mdtest/ or spec/ → load references/testing.mdapp/javascript/controllers/ → load references/hotwire.mdIf the user provides arguments (e.g., /rails-reviewer app/models/), review those specific paths instead.
Only ask the user for clarification if:
Present findings in digestible chunks by priority:
After each chunk, ask:
Want me to explain any of these, show fixes, or move to the next category?
Allow the user to:
## Review Summary
### Must Fix (High Priority)
- [ ] Issue 1: description (file:line)
### Should Fix (Medium Priority)
- [ ] Issue 2: description (file:line)
### Consider (Pattern Opportunities)
- [ ] Suggestion: description
### Stats
- Files reviewed: X
- Issues found: Y
- Categories covered: Z
User: /rails-reviewer
Claude: [Reads git diff, detects model + hotwire changes, loads references/models.md and references/hotwire.md]
**Model Review: app/models/card.rb** — 3 findings
1. **Boolean column could be a state record** (Line 15) — Consider a `Closure` model instead.
2. **Extract to concern** (Lines 20-45) — Closeable behavior could be a concern.
3. **Missing `touch: true`** (Line 8) — For cache invalidation.
Want me to explain any of these, show fixes, or continue to Hotwire?