agentleFS
MorningStar0709MorningStar0709/trae-agent-enhancements/skills/receiving-code-review/SKILL.md

receiving-code-review

Skill18 starsChanged 7 months agoMITView on GitHub

Use when you already have code review feedback and need to validate, clarify, and apply it safely, including Chinese requests such as “这些 review 意见怎么处理”“收到审查反馈后怎么落地”“先别急着改,帮我判断哪些该修”. Do not use when no review feedback exists yet, or when the task is ordinary code review rather than responding to comments.

142 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, using-superpowers and 3 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.
  • 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 6 projects that use this

  • OpenAISkill

    using-superpowers

    Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions

    Also in 60 projects that use this

  • shibit-netSkill

    chinese-code-review

    中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • shibit-netSkill

    chinese-commit-conventions

    中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • +1 more from shibit-net

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 134 edited versions we read keep these.

  • 8

    Distinctive

    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:

    Do not start modifying code upon seeing the first comment.

    line 29
  2. Distinctive:

    If there are multiple feedback items, clarify your understanding of the scope before acting:

    line 37
  3. Distinctive:

    If you cannot accurately explain the meaning of a piece of feedback, do not start modifying it.

    line 60
  4. Distinctive:

    Wait for clarification before advancing as a whole.

    line 68
  5. Distinctive:

    When there are multiple feedback items, recommended order:

    line 86
  6. Very specific:

    When processing feedback, prioritize using Read, Grep, SearchCodebase, GetDiagnostics, and necessary validation commands to verify facts.

    line 96
  7. Distinctive:

    When needing to clarify multiple feedback items with the user or partner, prioritize using structured, concise questions instead of …

    line 97
  8. Distinctive:

    Feedback items conflict with each other: Stop and request the user to determine priority.

    line 103
  9. Distinctive:

    When processing feedback, the output must at least contain:

    line 109

“Common” is measured: kept by at least 6 in 10 of the 134 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

Overview

Core Principle: Validate feedback first, then decide whether to implement it.

Use This Skill

  • You have already received code review feedback.
  • The feedback contains multiple modification suggestions.
  • Some suggestions are unclear, or you suspect they might introduce regressions.
  • You need to distinguish what must be fixed, what can be refuted, and what needs clarification first.

Do Not Use

  • There are no review results yet; use requesting-code-review first.
  • The user just wants a normal code review, rather than processing feedback.
  • The current task is implementing a feature from scratch, not responding to review comments.

Execution Protocol

1. Read Feedback Completely First

Do not start modifying code upon seeing the first comment. First confirm:

  • How many feedback items there are in total.
  • Which ones are blocking issues.
  • Which ones are unclear.
  • Which ones might be related to each other.

2. Reiterate Technical Understanding

If there are multiple feedback items, clarify your understanding of the scope before acting:

I understand items 1, 2, and 3 are...
The scope of items 4 and 5 is not clear enough and needs confirmation first.

3. Validate If Feedback Is Valid

Check each item:

  • Does the codebase currently actually have this problem?
  • Is the suggested fix suitable for the current tech stack and existing constraints?
  • Will it break existing behavior, compatibility, or architectural decisions?
  • Is it just "looks more standard" but actually unneeded by anyone?

4. Categorize Handling

  • Clear and correct: Implement directly.
  • Unclear: Clarify first, then implement.
  • Technically invalid: Provide evidence to refute.
  • Trade-off needed: Confirm the direction with the user before proceeding.

Handling Unclear Feedback

If you cannot accurately explain the meaning of a piece of feedback, do not start modifying it.

Incorrect approach:

  • Modify what you understand first, and guess the rest as you go.

Correct approach:

  • Point out which items are understood.
  • Explicitly list which items need clarification.
  • Wait for clarification before advancing as a whole.

When To Refute

You should refute or request further justification when:

  • The suggestion would break existing functionality.
  • The reviewer lacks context.
  • The suggestion violates YAGNI, and no one in the codebase uses it.
  • The current implementation is limited by compatibility, platform, or historical constraints.
  • It conflicts with established architectural decisions.

When refuting, provide:

  • Specific file or implementation evidence.
  • Existing tests or behavioral proof.
  • Alternative solutions or specific questions.

Implementation Order

When there are multiple feedback items, recommended order:

  1. Blocking issues.
  2. Clear and small fixes.
  3. Complex logic or refactoring items.
  4. Style and maintainability items.

Re-validate between each item; do not pile up many changes at once.

Trae / Windows Conventions

  • When processing feedback, prioritize using Read, Grep, SearchCodebase, GetDiagnostics, and necessary validation commands to verify facts.
  • When needing to clarify multiple feedback items with the user or partner, prioritize using structured, concise questions instead of guessing while doing.
  • Re-validate every time you fix an item; if you finally want to declare it "fixed", go through verification-before-completion.

Failure Handling

  • Unable to validate a piece of feedback: Explicitly state the missing context or dependency.
  • Feedback items conflict with each other: Stop and request the user to determine priority.
  • You initially refuted, but later realized you were wrong: Directly admit the validation result and start fixing; do not make long excuses.
  • Fixing one item introduces a new problem: Return to the validation phase, confirm if the scope needs to be expanded.

Output Contract

When processing feedback, the output must at least contain:

  • Which feedback items you understood.
  • Which items have been validated as true.
  • Which items still need clarification.
  • Which items you plan to implement or refute.
  • Once all feedback items are resolved, must invoke verification-before-completion to re-verify before declaring "fixed".

Integration

  • requesting-code-review: Initiates the independent review.
  • verification-before-completion: Performs final validation after feedback is fixed.

Bottom Line

Code review feedback is technical input to be validated, not an absolute command that must be blindly followed.

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.