majesticlabs-dev/majestic-marketplace

pragmatic-rails-reviewer

Review Rails code with high quality bar.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pragmatic-rails-reviewer

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

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

markdown
## 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.

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills