Handles one review round of a PR (CodeRabbit, CodeQL, humans) following the Belayline harness (read everything, verify each finding, fix the class, counter-check, one commit and one push, one reply per thread). Use when review comments arrive on a PR.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Review Round?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/francoisgn-review-round)
---
name: review-round
description: Handles one review round of a PR (CodeRabbit, CodeQL, humans) following the Belayline harness (read everything, verify each finding, fix the class, counter-check, one commit and one push, one reply per thread). Use when review comments arrive on a PR.
argument-hint: "<PR number>"
---
# Review round of PR $ARGUMENTS
Follow `.harness/docs/REVIEW-ROUNDS.md` (otherwise `${CLAUDE_PLUGIN_ROOT}/docs/REVIEW-ROUNDS.md`):
0. **Two reviews, not one**: the review service on the PR reviews the **code** (diff only); the adversarial review
(intent, done before "Ready") is separate. A round handles the former; do not blend them.
1. **Read everything**: inline comments, "Outside diff range", nitpicks, "Prompt for AI agents", **each** open
thread, the state of the checks. Reread the branch head (SHA): a finding on an old head may already be settled.
2. For each finding, **trace a real path** (input → failure). Classify it: real → fix; unfounded or
disproportionate → reasoned reply; **security → stays open until the maintainer decides**.
3. **Fix the class**: other entry points, same pattern elsewhere, reverse order, other limits. One test per case,
seen failing without the fix.
4. **Counter-check**: a separate subagent, isolated from your context, receives the findings, the diff and `LESSONS.md` (not your conclusions)
and looks for what the fix misses or breaks. Integrate.
5. **One commit, one push** for the whole round (the PR is ready: never a push "to see whether CI passes"). Optional
nitpicks do not trigger a push on their own.
6. **One reply per thread** (fixing commit or reason), then resolve the thread; findings outside the diff: one PR
comment. **On CodeRabbit threads, batch** (each reply there is a rate-limited chat message): one PR-level summary
comment with every finding's outcome tag and commit, resolve the handled threads, and reply in a thread only to
decline or to ask for a decision. Every reply ends with the footer `---` / `_Generated by [Claude Code](https://claude.ai/code)_`.
7. Check that the bot reviewed **the new head**; otherwise, with `.harness/config.json` ›
`coderabbit.agent_requests_review` true, post `@coderabbitai review` + `Head: <sha>` yourself, only on a ready PR
and only if no such comment names that head (one per head, never again for it); else, or if the mention came out
altered (cloud, L46), ask the operator to post it. If the service skips the repository (skip notice) or never reviews
the head, fall back as REVIEW-ROUNDS §The two reviews says (`review` job, else a fresh sub-agent of another model
on the diff only) and say in the PR which one was used.
8. **Convergence**: a round with no finding on the current head ends the loop (one clean round, within 3 cycles).
A round = one fix commit, whoever reviewed. Past round 3, minor bot findings go to the next needed push or are
fixed under a follow-up issue (either way open it: `[deferred: #n]`); a real defect needs the operator's go for a
4th round: ask once on the PR (and note it on the issue), do not stall; no merge while it is open and a real defect
stands.
List the settled findings in the PR with their reason, each line starting with `[fixed]`,
`[declined: false positive]`, `[declined: not worth it]` or `[deferred: #n]`; a reopened one is answered by pointing to that record
and counts as new only with new evidence. A security finding stays open until the maintainer decides.
Round done: `.harness/scripts/merge-gate.py <PR>` lists what still blocks a merge (stale approval, open thread…).
9. A check that fails within seconds with no log = infrastructure, not "CI red"; one rerun at most.
10. **Lessons**: each finding already covered by `LESSONS.md` = a self-review step to tighten; a new kind = propose a
row (to the project, or to the harness by PR if it applies elsewhere).