/agent-skills:review-pr [findings|fix|post]from agent-skills
Review a pull request for issues and feedback.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Review a pull request and provide detailed feedback on the changes.
The skill has three modes, selected by an optional argument:
findings — display review findings only; never modify code or post to GitHubfix — display findings, then walk through each issue and apply local fixes as commitspost — display findings, then post review comments to GitHub via gh apiIf no argument is provided, run the findings phase first, then use AskUserQuestion to ask whether to fix, post, or stop.
gh pr view and gh pr diff. If the diff is empty, stop and tell the user.*.lock, package-lock.json, yarn.lock), *.designer.cs, auto-generated code, vendored dependenciesWhen the host provides a subagent delegation tool, delegate the findings phase to a subagent instead of reviewing inline. Resolve the repository and PR number first (Review Steps, step 1) so the dispatch can name its target. Try dispatch targets in this order, skipping any that a prior dispatch error already ruled out; fall back to an inline review under Review Steps only when no rung applies.
reviewer).scout).Subagents run in isolated context, so the dispatch must be self-contained. Include:
gh api writes or review posting).file_path:line_number and a brief description, and the no-issues outcome.Relay the subagent's findings verbatim: they are the review output, not raw material to rewrite. Check them against the findings contract before presenting, and repair missing required elements inline if needed (for example, missing severity labels). Everything after the findings phase is always yours: mode selection, AskUserQuestion, the Fix Flow, and the Post Flow are never delegated.
file_path:line_number, and a brief descriptionIf no issues were found, say so and stop regardless of mode.
Behavior after the findings phase depends on the mode:
findings mode: stop here.fix mode: continue to "Fix Flow" below.post mode: continue to "Post Flow" below.AskUserQuestion with options fix, post, stop. Then run the corresponding flow (or stop).DO NOT post any comments to GitHub in this flow.
For each issue in order, use AskUserQuestion to ask what to do. Offer options:
Collect answers for all issues before applying any fixes. Track each answer as {issue index, severity, file:line, action}.
After all answers are collected, work through each "Fix it" issue in order (most critical first):
git-commit skill conventions (imperative mood, concise subject ≤ 50 chars)Skipped issues are not touched.
If any changes were committed, show a summary listing:
If no changes were made, no summary is needed.
gh api to create a review with specific line commentsrepos/OWNER/REPO/pulls/PR_NUMBER/reviewspath, line (or start_line/end_line), body"\n\n---\n*Review by an AI agent*"COMMENTREQUEST_CHANGES or APPROVE — human review requiredfile_path:line_numberWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lucaspimentel/agent-skills --plugin agent-skillsOther plugins' skills for the same job
20 skills in this plugin
/address-pr-commentsInteractively walk through and address PR review comments one at a time, asking the user what to do for each, committing after each code change, and optionally replying on GitHub. Accepts an optional PR number argument; defaults to the current branch's PR./add-todoCreate or append tasks to TODO.md in the current working directory. Not appropriate for reading, viewing, checking off, removing, or reorganizing TODO.md./chezmoi-diffHelp resolve differences between chezmoi-managed dotfiles and local files, including which direction changes should flow and what the chezmoi file naming conventions (dot_, executable_, .tmpl, symlink_, etc.) mean.