agentleFS
sebastienrousseausebastienrousseau/agtmls/skills/receiving-code-review/SKILL.md

receiving-code-review

Skill1 starsChanged 3 months agoApache-2.0View on GitHub

Respond to review feedback on your own change without reflexively complying or reflexively defending. Load when handling a change request on your own PR, when a reviewer leaves comments, disagrees with an approach, or asks for something out of scope, and when deciding whether to argue a point or accept it. Every comment gets a decision and a reply; silent edits and silent skips are the failure modes.

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    Also in 8 projects that use this

  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 20 projects that use this

  • OpenAISkill

    requesting-code-review

    Use when completing tasks, implementing major features, or before merging to verify work meets requirements

    Also in 200 projects that use this

  • OpenAISkill

    dispatching-parallel-agents

    Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

    Also in 154 projects that use this

  • +3 more from Leodorareluctant259
  • +4 more from openai

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    A question is a signal: If a reviewer had to ask what the code does, the answer usually belongs in the code — a name, a comment, a test — …

    line 61
  2. Distinctive:

    Read everything first: Do not start editing on comment one.

    line 67

“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “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

Receiving code review

Trigger. A reviewer — human or agent — has left comments on your change: inline notes, a change request, a design objection, or a question you are not sure how to answer.

Reference material (comment triage table with worked replies, handling a reviewer who is wrong, scope-creep boundaries, and review of agent-authored changes): see reference.md in this directory.

The rule

Every comment gets a decision and a reply. Disagreement is fine; silence is not.

Two symmetrical failures, and the second is the one people underestimate:

  • Reflexive compliance. Making every requested change without evaluating it. Reviewers are frequently right and occasionally wrong, and a change you made without agreeing with it is a change nobody understands. Worse, "done" on a request you misread produces a defect with a reviewer's name on it.
  • Reflexive defence. Explaining why each comment is unnecessary. This converts review into negotiation and costs you the thing review is for.

The correct posture is neither: evaluate, decide, and say what you decided.

Triage every comment

Classify before responding. The category determines the reply.

CategoryWhat it isResponse
DefectThe code is wrong; reviewer showed howFix, verify, reply with the evidence
RiskNot wrong today, fragile tomorrowFix, or record why the risk is accepted
DesignA different approach is preferredEngage on merits; one of you updates
PreferenceStyle with no correctness contentAccept by default — it is their codebase too
QuestionReviewer does not understand somethingAnswer; then ask if the code should have
MisunderstandingReviewer read it wrongClarify, and check what misled them

Two rules that fall out of this table:

  • Accept preferences cheaply. Arguing naming or formatting spends credibility you will want for a design disagreement later.
  • A question is a signal. If a reviewer had to ask what the code does, the answer usually belongs in the code — a name, a comment, a test — not only in the reply thread.

Working the feedback

  1. Read everything first. Do not start editing on comment one. Later comments frequently reframe earlier ones, and a reviewer's last note may say "actually, ignore the above."
  2. Group by category and by file. Related fixes land together and are easier to re-review.
  3. Make the changes. Each one is a real change: verify it as you would any other. A fix applied to satisfy a comment, untested, is a regression with extra steps.
  4. Re-run the full gate, not the file you touched. Review fixes break other things at roughly the rate original changes do.
  5. Reply to each thread with what you did — or did not do, and why.

Replying

Say the decision, then the evidence. Keep it short.

Fixed:

Fixed in parser.py:88 — the split now bounds on the first colon only. test_config_key_with_colon covers it; it failed before the change.

Disagreeing:

I'd rather keep the loop here. itertools.groupby requires the input to be pre-sorted and this iterator is streaming, so we'd add an O(n log n) sort and buffer the whole stream to save four lines. Happy to change it if you still prefer the shorter form.

That is the shape: a reason grounded in something checkable, and an explicit willingness to be overruled. Compare with "I think this is clearer", which is an assertion the reviewer cannot evaluate.

Deferring:

Agreed, but out of scope for this change — it touches the v1 handlers I deliberately excluded. Filed as #412.

Deferring is legitimate only with a record. "Later" without a ticket is "never" with better manners.

Scope discipline

The pull to fix adjacent things while you are in the file is strong and almost always wrong. It grows the diff, buries the reviewed change, and restarts the review.

  • Unrelated bug spotted → separate change.
  • Reviewer asks for something beyond the stated scope → say so, agree where it belongs, do it there.
  • Refactor that would make the fix cleaner → land the fix, then the refactor, in that order and separately.

When not to use

  • You are giving review, not receiving it.
  • You are preparing the change, checking CI, or writing release notes — that is the project's PR and release workflow.
  • The project defines its own review protocol or approval rules; follow it.

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.