CtrlK
BlogDocsLog inGet started
Tessl Logo

rails-review-response

Use when you have received code review feedback on Rails code and need to decide what to implement, how to respond, and in what order. Covers evaluating reviewer suggestions, pushing back with technical reasoning, avoiding performative agreement, implementing feedback safely one item at a time, and triggering a re-review when needed.

98

1.27x
Quality

100%

Does it follow best practices?

Impact

98%

1.27x

Average score across 26 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Rails Review Response

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.

HARD-GATE: Receiving Review Feedback

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.

Forbidden Responses

These responses skip verification and add zero signal:

ForbiddenWhy
"You're absolutely right!"Performative — confirms nothing was verified
"Great point!" / "Excellent feedback!"Performative — 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.

Evaluating Feedback

Before implementing any suggestion, classify it:

CategoryDescriptionAction
Correct + CriticalReal security, crash, or data riskFix immediately, re-review
Correct + SuggestionReal improvement, not blockingFix in this PR or ticket follow-up
Correct + Nice to haveStyle, minor optimizationOptional — acknowledge explicitly
IncorrectReviewer lacks context or misread the codePush back with technical reasoning
AmbiguousUnclear what change is actually requestedClarify before implementing

Pushing Back

Push back when a suggestion is technically incorrect for the codebase. Use this structure:

  1. Acknowledge what the reviewer is concerned about
  2. Explain the relevant codebase constraint or reason
  3. Propose an alternative if one exists, or explain why no change is needed
"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.

Implementation Order (Multi-Item Feedback)

  1. Clarify anything ambiguous FIRST — before touching code
  2. Critical blocking issues (crashes, security, data loss)
  3. Simple fixes (typos, naming, missing requires)
  4. Complex changes (refactoring, logic changes)
  5. Test each fix individually — run the relevant spec after each change
  6. Verify no regressions — run full suite before requesting re-review

Re-Review Trigger

After implementing feedback, decide whether to request a re-review:

SituationAction
Any Critical finding was addressedRequest re-review — mandatory
3+ Suggestion items changed logicRequest re-review — recommended
Only Nice to have or cosmetic fixesComment what was done — no re-review needed
Architecture or class structure changedRequest re-review — mandatory

Common Mistakes

MistakeReality
Implementing all feedback immediatelyVerify each item first — some suggestions may be wrong
Treating all feedback as equally urgentClassify by severity — Critical before cosmetic
Closing review comments without verifyingComment what you checked and why you agree or disagree
Skipping re-review after Critical fixesA fix can introduce new issues — re-review is mandatory
Asking for re-review after cosmetic changesWastes reviewer time — only request when logic changed

Red Flags

  • Implementing feedback before reading all of it
  • "Fixed!" comment with no technical explanation
  • All review comments closed without any pushback (may indicate blind compliance)
  • Tests not run after implementing a fix
  • Re-review skipped after a Critical item was addressed

Integration

SkillWhen to chain
rails-code-reviewThe counterpart — use when giving a review, not receiving
rspec-best-practicesRun the TDD loop after implementing feedback that changes logic
refactor-safelyWhen feedback suggests a larger structural change
rails-security-reviewWhen Critical feedback involves security — get a dedicated review
Repository
igmarin/rails-agent-skills
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.