Skip to content
Back to skills

Address Review Comments

ASecurity

Works a PR's open review comments end to end with the human deciding each call. Use when addressing a PR's review comments.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 18, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add AlexisBalayre/claude-code-config --skill address-review-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Address Review Comments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Address Review Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alexisbalayre-address-review-comments/badge)](https://www.skillsdirectory.com/skills/alexisbalayre-address-review-comments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: address-review-comments
description: Works a PR's open review comments end to end with the human deciding each call. Use when addressing a PR's review comments.
argument-hint: "[PR number (defaults to the current branch's PR)]"
---

# Address review comments

Take the open review comments on a PR from "what is the reviewer really asking" through to an implemented resolution. You steer; the human decides every judgment call. Handles every open thread, human or bot. Closed and resolved threads are context only.

`REVIEW.md` below is the [copy shipped with this skill](REVIEW.md), the one the `review` plugin's `pr-ci-review` reads.

## Process

### 1. Gather

Resolve the PR (the argument, or the current branch's PR via `gh pr view`). Pull its open review threads through `gh` / the GraphQL API: each comment with its file, line, author, body, and thread state. Resolved threads are context, not work. Always read the **actual current code**, not your recollection of it; the user may have changed it.

Done when every open thread is listed with its file, line, author and the current code it points at.

### 2. Triage

Sort each open thread into:

- **settled**: a pure mechanical fix, or the author already agreed an approach in-thread. Goes straight to implementation.
- **needs a decision**: everything else.

Done when every thread is settled or needs a decision.

### 3. Decide (no code yet)

For each *needs a decision* thread, investigate the reviewer's underlying concern, not just the symptom they pointed at, until you can lay out the realistic options with their trade-offs. Then route by what is actually in dispute:

- **Correctness dispute** ("this finding is wrong / a false positive"): spawn a validator subagent that adversarially re-checks the finding against the actual code, given the user's rebuttal. One round only. It returns **concede** (a false positive, with a code-grounded reason) or **defend** (the issue holds, with the concrete evidence). Bias to concede when it cannot defend with evidence: the user raised the doubt, so the burden is on the finding.
- **Design or approach decision**: put it to the user one question at a time rather than settling it unilaterally (the companion plugin's `/grilling` skill does this when installed); always provide your recommended answer. If the comment opens an architectural, ADR-worthy decision (hard to reverse, or it shifts a documented term or boundary), record the resolution in `docs/glossary.md` or an ADR under `docs/adr/`.

No code is written in this phase. The goal is alignment. The validator and the grilling session inform the decision; **the user is the final authority** on every thread.

Done when each needs-a-decision thread has its options and a recommendation.

### 4. Checkpoint

If anything went through step 3, present a per-thread summary (the concern, the options considered, the decision reached, and the concrete change or an explicit "leave as-is" with rationale) and get the user's sign-off before implementing; in a worker, the summary goes to the user through the lead, and you implement on the relayed answer. When every thread was already settled, skip straight to implementation.

### 5. Implement

Apply the agreed changes. Each fix targets only what its comment raised: no opportunistic cleanup, no unrelated refactors, no removing ticket-referenced TODOs. Note any tangential improvements separately in the summary and ask before touching them.

Done when each agreed change is committed and nothing else changed.

### 6. Reply and resolve

In a worker session, push as your worker prompt says; the user's approvals below come to you through the lead. In a solo or lead session, ask the user whether to commit/push.

In every session, a bot thread gets no reply: the one post is REVIEW.md §2's code-evidence answer to an important the user challenges. A human reviewer's thread gets only the reply the user approves. After the push, set each thread's state; a worker resolves and leaves open the same threads as any session, and hands the lead a reply or resolve its sandbox refuses:

- **Addressed by a change**, or **agreed, no change needed**: resolve the thread (GraphQL `resolveReviewThread`).
- **Conceded challenge** (the finding was a false positive): resolve; the user's 👎 on the bot's comment is the record (REVIEW.md §2).
- **Leave-as-is** (intentional, out-of-scope, or a human reviewer's point the user overrides): leave the thread **open**; a disagreement stays open for the user to close. A blocking `important` (REVIEW.md §2) is never left as-is: fix it, or challenge it (step 3); it stays open and blocking until it is fixed or the user rules it wrong, and later rounds still list it.

## Invariants

- The user may change the code at any point; work from, and commit, the actual current state, not your recollection.
- Only change what each comment asks for.
- The human is the final authority on every thread; validators and grilling sessions inform, they do not decide.
- A conceded challenge and a leave-as-is pushback are both signals the review retro will later read. Handle them per step 6, honestly; do not scrub the disagreement record (the open thread, the user's 👎).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.