From rails-agent-skills
Guides responding to Rails code review feedback: read and verify comments, classify by severity, push back technically, implement one item at a time, trigger re-reviews.
npx claudepluginhub igmarin/rails-agent-skills --plugin rails-agent-skillsThis skill uses the workspace's default tool permissions.
Use this skill when **you have received review feedback** on your own Rails code (PR comments, pair review, async review). This is the counterpart to **rails-code-review**, which covers *giving* a review.
Evaluates code review feedback rigorously before implementing: restate requirements, verify codebase assumptions, assess technical soundness, respond factually or push back. Use when receiving comments in implement phase.
Enforces strict 6-step protocol for processing code review feedback: read fully, restate, verify against codebase, evaluate architecture fit, technical response or pushback, implement one-by-one.
Processes code review feedback technically: verify suggestions against codebase, clarify unclear items, push back if questionable, implement after evaluation—not blind agreement.
Share bugs, ideas, or general feedback.
Use this skill when you have received review feedback on your own Rails code (PR comments, pair review, async review). This is the counterpart to rails-code-review, which covers giving a review.
Core principle: Verify before implementing. Technical acknowledgment over performative agreement. Re-review after significant changes.
WHEN receiving code review feedback:
1. READ: Read all feedback completely before reacting
2. UNDERSTAND: Restate each point as a technical requirement
3. VERIFY: Check the suggestion against the actual codebase
4. EVALUATE: Is this technically sound for THIS codebase?
5. RESPOND: Technical acknowledgment, clarifying question, or reasoned pushback
6. IMPLEMENT: One item at a time — test after each change
7. RE-REVIEW: Trigger a re-review if any Critical items were addressed
DO NOT start implementing before completing steps 1-4.
These responses skip verification and add zero signal:
| Forbidden | Why |
|---|---|
| "You're absolutely right!" | Performative — nothing was verified |
| "Great point!" / "Excellent feedback!" | Signals compliance, not understanding |
| "Let me implement that now" | Skips verification — reviewer may lack codebase context |
| "I'll fix all of these" | Batch commitment before evaluating each item individually |
Instead: Restate the technical requirement, ask clarifying questions, push back with reasoning if wrong, or just start implementing one item after reading all feedback.
Before implementing any suggestion, classify it:
| Category | Description | Action |
|---|---|---|
| Correct + Critical | Real security, crash, or data risk | Fix immediately, re-review |
| Correct + Suggestion | Real improvement, not blocking | Fix in this PR or ticket follow-up |
| Correct + Nice to have | Style, minor optimization | Optional — acknowledge explicitly |
| Incorrect | Reviewer lacks context or misread the code | Push back with technical reasoning |
| Ambiguous | Unclear what change is actually requested | Clarify before implementing |
Push back when a suggestion is technically incorrect for the codebase. Use this structure:
"I see the concern about N+1 here. In this case the association is already
preloaded at line 42 via `includes(:orders)`. Adding another `eager_load`
would run a duplicate JOIN. Happy to add a comment clarifying this if helpful."
Never: Push back without technical evidence. If unsure, verify before claiming it's fine.
After implementing feedback, decide whether to request a re-review:
| Situation | Action |
|---|---|
| Any Critical finding was addressed | Request re-review — mandatory |
| 3+ Suggestion items changed logic | Request re-review — recommended |
| Only Nice to have or cosmetic fixes | Comment what was done — no re-review needed |
| Architecture or class structure changed | Request re-review — mandatory |
| Mistake / Red Flag | Reality |
|---|---|
| Implementing feedback before reading all of it | Read everything before reacting — HARD-GATE step 1 |
| Treating all feedback as equally urgent | Classify by severity — Critical before cosmetic |
| Closing review comments without verifying | Comment what you checked and why you agree or disagree |
| "Fixed!" comment with no technical explanation | Always state what was checked and why the fix is correct |
| All review comments closed without any pushback | May indicate blind compliance — verify each item independently |
| Skipping re-review after Critical fixes | A fix can introduce new issues — re-review is mandatory |
| Asking for re-review after cosmetic changes | Wastes reviewer time — only request when logic changed |
| Skill | When to chain |
|---|---|
| rails-code-review | The counterpart — use when giving a review, not receiving |
| rspec-best-practices | Run the TDD loop after implementing feedback that changes logic |
| refactor-safely | When feedback suggests a larger structural change |
| rails-security-review | When Critical feedback involves security — get a dedicated review |