pr-commentslisted
Install: claude install-skill WhatIfWeDigDeeper/agent-skills
# PR Review: Implement and Respond to Review Comments
Work through open PR review threads — implement valid suggestions, explain why invalid ones won't be addressed, and close the loop by resolving threads and committing with commenter credit.
## Arguments
The argument is the text following the skill invocation (in Claude Code: `/pr-comments 42`); other assistants may pass it differently.
- Optional PR number (e.g. `42` or `#42`). If omitted, detect from the current branch.
- `--manual` restores the confirmation gates skipped by the default auto mode (Step 7 and Step 13); it is **sticky**. `--max N` caps bot-review loop iterations (default 10).
- `--all` (auto mode only) disables the Step 6d nits-only halt: every comment, including a pure-nit round, is auto-fixed as before. It is a boolean (no value) and is **ignored under `--manual`** (manual already gates every round at Step 7).
- If `$ARGUMENTS` is `help`, `--help`, `-h`, or `?`, print usage and exit.
**Parse and validate before any shell call. You must now execute `references/argument-parsing.md`** for the full strip/precedence/stickiness/validation rules — Step 1 below restates the validation order, and the validation itself is a Security model mitigation (see [Security model](#security-model)).
| Invocation | Mode | Iterations |
|---|---|---|
| `/pr-comments` | auto | 10 |
| `/pr-comments 42` | auto | 10 |
| `/pr-comments --max 5` | auto | 5 |
| `/pr-comments --max 1` | auto | 1 (one pass, no looping) |
| `/pr-com