CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/ruby-core-skills

Curated library of 16 public Ruby AI agent skills: 10 atomic skills (YARD docs, service objects, calculator pattern, API clients, DDD, bug triage, code review, skill routing), 5 process-discipline skills (TDD, refactoring, review, security, test planning), and 1 planning skill (TDD task generation). Zero agents — this is a foundational library consumed by framework-specific tiles like rails-agent-skills and hanakai-yaku.

95

1.05x
Quality

96%

Does it follow best practices?

Impact

95%

1.05x

Average score across 16 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

SKILL.mdskills/code-quality/respond-to-review/

name:
respond-to-review
license:
MIT
description:
Applies when responding to code review feedback: read all feedback before reacting, VERIFY each suggestion against the actual codebase, classify as Correct+Critical, Correct+Suggestion, Correct+Nice-to-have, Incorrect, or Ambiguous via a feedback table — Critical/architecture fixes block merge and MUST trigger re-review, push back with technical evidence on incorrect feedback, never respond with performative agreement (always verify before agreeing or pushing back), clarify ambiguous items before touching code, implement one item at a time with test after each change, and run full suite before requesting re-review. Use when addressing PR comments, pull request feedback, or review comments on Ruby code. Covers evaluating suggestions, avoiding performative agreement, and re-review triggers. Trigger scenarios: respond to reviewer, address review comments, handle pull request feedback.
metadata:
{"version":"1.0.0","user-invocable":"true","origin":"Extracted from igmarin/rails-agent-skills v5.1.17"}

Respond to Review

Quick Reference

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

HARD-GATE

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.

Core Process

Forbidden Responses

Never respond with performative agreement that skips verification. See assets/response_templates.md for copy-ready patterns and a full list of forbidden phrases.

The key rule: restate the technical requirement, ask clarifying questions, push back with reasoning if wrong, or start implementing one item after reading all feedback — never commit without verifying first.

Evaluating Feedback

Before implementing any suggestion, classify it based on the Quick Reference table above.

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 test/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 & Red Flags

Mistake / Red FlagReality
Closing review comments without verifyingComment what you checked and why you agree or disagree
All review comments closed without any pushbackMay indicate blind compliance — verify each item independently

Extended Resources

  • assets/response_templates.md provide copy-ready response patterns for common review outcomes, including the full list of forbidden response phrases.

Output Style

When responding to review feedback, output:

  1. Scope — State that the user received review feedback on their own Ruby code; if the task is asking you to give a review instead, use review-process.
  2. Feedback table — For each reviewer point, include: restated technical requirement, code checked, classification, decision, and response.
  3. Verification evidence — Name the exact file, method, line, spec/test, or behavior checked before agreeing, implementing, or pushing back.
  4. Reasoned pushback — When a suggestion is incorrect, use the pushback structure: reviewer concern, codebase constraint/evidence, and alternative or no-change rationale. Never push back without technical evidence.
  5. Implementation order — List fixes one item at a time, with relevant test/spec after each logic change and full-suite regression check before re-review.
  6. Re-review decision — State whether re-review is mandatory, recommended, or unnecessary based on Critical fixes, logic changes, architecture changes, or cosmetic-only work.
  7. Language — Must be in English unless explicitly requested otherwise.

Integration

SkillWhen to chain
review-processThe counterpart — use when giving a review, not receiving
tdd-processRun the TDD loop after implementing feedback that changes logic
refactor-processWhen feedback suggests a larger structural change
security-review-processWhen Critical feedback involves security — get a dedicated review

skills

code-quality

respond-to-review

README.md

tile.json