agentleFS
andreaswasitaandreaswasita/copilot-agents-dojo/skills/receiving-code-review/SKILL.md

receiving-code-review

Skill54 starsChanged 6 months agoMITView on GitHub

Processes review feedback until the change is approved.

142 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, chinese-git-workflow and 4 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

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • OpenAISkill

    subagent-driven-development

    Use when executing implementation plans with independent tasks in the current session

    Also in 91 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

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

  • 0

    Common

    Most of the 134 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read every comment. Categorize each using the table above.

    line 64
  2. Very specific:

    Run the relevant tests via the powershell tool.

    line 78
  3. Distinctive:

    Run the full test suite — not just the tests for the changed lines.

    line 90
  4. Very specific:

    If review keeps catching the same shape of issue, append to tasks/lessons.md:

    line 100
  5. Distinctive:

    DO NOT: treat repeat feedback as random.

    line 131

“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 Skill

Processes every review comment — human, agent, or CI — until the change is approved. Each comment is categorized, addressed, verified, and answered. Does NOT silently ignore comments and does NOT amend the original commit during active review.

When to Use

  • Review comments received on a pull request.
  • User provides corrections or improvement suggestions.
  • The requesting-code-review skill flagged issues.
  • CI/CD checks fail with actionable feedback.
  • A sub-agent's review output needs to be addressed.

Prerequisites

  • The list of comments (PR thread, CI log, or chat).
  • The view, edit, grep, and powershell Copilot tools.
  • git for new commits and gh for PR threads (when relevant).
  • A green baseline test run.

How to Run

1. Read every comment. Categorize by action.
2. For each comment: fix, verify, respond, mark resolved.
3. Re-run the full test suite after all fixes.
4. Re-self-review with the `requesting-code-review` skill.
5. Update `tasks/todo.md` and (if pattern recurring) `tasks/lessons.md`.
6. Request re-review with a short summary.

Quick Reference

CategoryAction
Agree — will fixFix it. No debate.
Agree — won't fix nowLog as follow-up with reason
Disagree — with evidenceRespond with reasoning and evidence
Need clarificationAsk one focused follow-up
Already addressedLink to the commit / line
PhaseTool
Read commentsgh pr view / PR UI
Apply fixedit
Verify fixpowershell → test runner
Respondgh pr comment / PR UI
Track resolutionChecklist in tasks/todo.md

Procedure

Step 1: Acknowledge and Categorize

Read every comment. Categorize each using the table above. Track them in tasks/todo.md as a Review Feedback section:

### Review Feedback (Round 1)
- [ ] Comment #1: missing error handling — agree, will fix
- [ ] Comment #2: rename for clarity — agree, will fix
- [ ] Comment #3: add pagination — agree, follow-up (out of scope)

Step 2: Address Each Comment

For every comment:

  1. Fix the issue with edit.
  2. Run the relevant tests via the powershell tool.
  3. Respond on the thread with what changed and why (cite commit SHA).
  4. Tick the checkbox in tasks/todo.md.
### Comment #1: missing error handling — @reviewer
**Action:** Added try/catch with 502 response on upstream failure (commit `abc1234`).
**Verification:** New test covers the failure path.

Step 3: Re-Verify After All Fixes

Run the full test suite — not just the tests for the changed lines. Re-run the dojo gate:

bash scripts/verify.sh --check

Re-self-review with the requesting-code-review skill. Every fix is a potential new bug.

Step 4: Record Lessons If The Pattern Repeats

If review keeps catching the same shape of issue, append to tasks/lessons.md:

- date: 2026-05-19
  error_type: missing-error-handling
  trigger: "Reviewer caught missing try/catch on external API call"
  root_cause: "Did not consider failure modes for external dependencies"
  fix: "Wrapped call in retry + circuit breaker"
  rule: "Every external API call has an explicit failure path with a test"
  occurrences: 2
  status: active

Step 5: Request Re-Review

**Re-review ready**
- Addressed 2/3 comments directly
- 1 logged as follow-up (out of scope)
- All tests pass (49 total, 2 new)
- Self-review clean

Push fixes as new commits while review is active. Squash fixup commits just before merge — not during.

Pitfalls

  • DO NOT ignore a comment. Every comment gets a response, even "won't fix, here's why".
  • DO NOT be defensive. "It works in my tests" is not a response to "this could be better".
  • DO NOT force-push during active review. Reviewers lose context.
  • DO NOT fix one comment in isolation and skip retesting. Re-verify after every round.
  • DO NOT treat repeat feedback as random. If the same theme keeps coming back, log a lesson.

Verification

  • Every comment is checked off in tasks/todo.md.
  • Every comment has an explicit thread response (action + commit reference).
  • Full test suite re-run after all fixes; exit 0.
  • requesting-code-review re-run after fixes; no new 🔴 findings.
  • If a pattern repeated, tasks/lessons.md was updated.

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.