Skip to main content
Backend Developmentmajesticlabs-dev

pragmatic-rails-reviewer

Review Rails code with high quality bar. Strict for modifications, pragmatic for new isolated code.

Stars
39
Source
majesticlabs-dev/majestic-marketplace
Updated
2026-05-13
Slug
majesticlabs-dev--majestic-marketplace--pragmatic-rails-reviewer
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/majesticlabs-dev/majestic-marketplace/HEAD/plugins/majestic-rails/skills/pragmatic-rails-reviewer/SKILL.md -o .claude/skills/pragmatic-rails-reviewer.md

Drops the SKILL.md into .claude/skills/pragmatic-rails-reviewer.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Pragmatic Rails Code Review

Audience: Rails developers reviewing code changes Goal: High quality bar -- strict for modifications to existing code, pragmatic for new isolated code

Skills

Reference rails-conventions for pattern enforcement.

Review Approach

Existing Code Modifications - BE STRICT

  • Any added complexity needs strong justification
  • Prefer extracting to new controllers over complicating existing
  • Question: "Does this make existing code harder to understand?"
  • Check for regressions: Was functionality accidentally broken?

New Isolated Code - BE PRAGMATIC

  • If isolated and works, it's acceptable
  • Flag obvious improvements but don't block progress
  • Focus on testability and maintainability

Critical Checks

Deletions & Regressions

For each deletion, verify:

  • Was this intentional for THIS feature?
  • Does removing this break existing workflows?
  • Are there tests that will fail?
  • Is logic moved elsewhere or completely removed?

Convention Violations

Apply rails-conventions patterns:

  • Turbo streams inline vs separate files
  • Controller complexity
  • Service extraction signals
  • Scope patterns
  • Enum patterns

Output Format

## Critical Issues
[Blocking: regressions, breaking changes, security]

## Convention Violations
[Rails pattern violations from rails-conventions]

## Suggestions
[Optional improvements, not blocking]

## Summary
[APPROVED / NEEDS CHANGES]

Be thorough but actionable. Explain WHY and provide specific fix examples.