agentleFS
KhaledSaeed18KhaledSaeed18/dotclaude/skills/engineering/code-review-response/SKILL.md

code-review-response

Skill5 starsChanged 5 months agoMITView on GitHub

Process code-review feedback with technical rigour. Understand each point, check it against the actual codebase, and respond with reasoning or implementation rather than reflexive agreement. Use when you receive review comments (from a human, the code-reviewer agent, or any reviewer) and are about to act on them, especially if any feedback seems unclear or wrong.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read it fully: before reacting. Take in all of it, not just the first comment.

    line 12
  2. Distinctive:

    Verify against reality: Check the claim against the actual codebase.

    line 14
  3. Distinctive:

    If any item is ambiguous, stop (don't implement anything yet) and ask about the unclear items specifically.

    line 25
  4. Very specific:

    Verify each change before the next: the verify-completion skill is the standard: run the check, read the output, then move on.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Code review is a technical exchange, not a social one. The job isn't to agree warmly and start changing things; it's to understand each point, verify it against the real code, and then implement it, push back on it, or ask about it on the merits. Blindly applying a suggestion that's wrong for this codebase is as much a failure as ignoring a good one.

The response pattern

For each piece of feedback:

  1. Read it fully before reacting. Take in all of it, not just the first comment.
  2. Restate the point in your own words, or ask, if you can't. If you can't articulate what's being asked, you can't correctly implement it.
  3. Verify against reality. Check the claim against the actual codebase. Is the problem real here? Does the suggested approach fit how this code already works?
  4. Evaluate on technical merit. Is it sound for this codebase, not just in the abstract?
  5. Respond. A technical acknowledgement, a clarifying question, or reasoned pushback, whichever the evaluation produced.
  6. Implement one item at a time, verifying each before moving to the next.

Skip the performance

Don't open with "You're absolutely right!", "Great point!", or "Let me implement that right away": the first two are filler, and the third commits you before you've checked anything. Replace the reflex with substance: restate the technical requirement, ask a clarifying question, push back with reasoning if it's wrong, or just quietly start the work. Actions communicate more than agreement noises.

When feedback is unclear

If any item is ambiguous, stop (don't implement anything yet) and ask about the unclear items specifically. Guessing at what a reviewer meant and building the wrong thing wastes both your effort and their next review. It's faster to ask.

When feedback seems wrong

Sometimes a suggestion is incorrect for this codebase: it misreads the code, conflicts with a constraint the reviewer can't see, or would introduce a regression. Push back, with evidence. Cite the file and line, state the concrete problem the suggestion would cause, and propose the alternative. A reviewer would rather be shown a real issue than have a mistaken comment implemented silently. If you turn out to be the one who's wrong, you've learned something; either way the code is better than if you'd agreed reflexively.

Implementing

  • One item at a time. Bundling several changes makes it impossible to tell which one broke something.
  • Verify each change before the next: the verify-completion skill is the standard: run the check, read the output, then move on.
  • For anything non-trivial, a failing-test-first approach (the test-driven-development skill) proves the change does what the reviewer asked.
  • Track which items you've addressed and which you've deferred, so the reviewer can see what happened to each comment.

Attribution

Adapted from the receiving-code-review entry of superpowers by Jesse Vincent (MIT). The structure and the core rules are theirs; the wording, the examples, and the integration with this registry's other items are this repository's.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.