pr-comments
Installation
SKILL.md
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.
42or#42). If omitted, detect from the current branch. --manualrestores the confirmation gates skipped by the default auto mode (Step 7 and Step 13); it is sticky.--max Ncaps 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
$ARGUMENTSishelp,--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).