/claudops:prcfrom Claudops
Fetches, analyzes, and addresses code review comments on a PR. Presents an action plan for user approval before implementing fixes, then commits and replies to reviewers.
Ships in Claudops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If
.claude/skills/prc/SKILL.md.disabledexists, stop before reading a fallback. Project configuration: If the current project contains.claude/skills/prc/SKILL.md, read and apply it instead of this bundled default. The project copy is the capability source of truth. Repository context: Read../setup/references/task-context.mdwhen resolving a task, project commands, named agent roles, or legacy.claude/resource paths. Use repository evidence and applicable project instructions; a missing local workflow copy does not require setup. Resolve bundled resources from the installed skill, never from the target cwd.
Announcement: Begin with: "I'm using the prc skill for PR comment resolution."
Fetch, analyze, and address code review comments on the current PR. Present an action plan for user approval before implementing fixes, then commit and reply to reviewers.
Resolve one task context with ../setup/references/task-context.md before fetching comments. Reuse
the linked task or create a minimum record in the configured task root. Record the comment inventory,
approved decisions, verification, commit/PR links, and one next action there; do not
create a second task just because the PR has a different artifact path.
/sr — Initiate a code review (before merge). Use that skill to start a review, this skill to address the results./si — Task-based implementation with "Address CR" mode. Use /si when review feedback requires structured task-driven changes; use /prc for direct, ad-hoc PR comment handling.If $ARGUMENTS contains a PR number, use it. Otherwise:
git branch --show-current to get the current branchgh pr view --json number,title,url to find the open PRError — no PR found:
Inform user: "No open PR found for branch {branch}. Verify the branch is pushed and the PR is open." Stop execution.
gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews to get reviewsgh api repos/{owner}/{repo}/pulls/{pr_number}/comments to get inline commentsgh pr view {pr_number} --json comments for general PR commentsError — no comments found: Inform user: "No review comments found on PR #{number}. Nothing to address." Stop execution.
After resolving the PR, link its URL and snapshot to the task record. A missing task/spec does not invent requirements; it only limits claims in the action plan.
List every comment fetched in Gate 1 — do not drop any. Reviewer noise, nits, and resolved threads all appear in the plan so the user sees what was received.
For each comment, evaluate:
For each comment, propose one of:
When in doubt between Address and Skip, pick Discuss. The user decides in Gate 2 whether to drop it.
Display a table:
| # | File:Line | Comment Summary | Action | Complexity |
|---|-----------|-----------------|--------|------------|
| 1 | src/foo.ts:42 | Missing null check | Address | Simple |
| 2 | src/bar.ts:15 | Rename variable | Address | Simple |
| 3 | src/baz.ts:88 | Architecture concern | Discuss | Significant |
Before implementing anything, confirm the plan with AskUserQuestion. Ask the user to approve, edit, or flag items they disagree with — including items you marked Skip. Implementation starts only after approval.
For each approved "Address" item:
For "Discuss" items the user resolved: apply the agreed-upon fix.
npm test or equivalent){{LINT_CMD}} or equivalent)tsc --noEmit)Error — tests or lint fail: Present failures to user. Work with user to resolve, or revert changes if needed before moving to GATE 4.
git add (specific files only)fix: address PR review feedbackPrepare a reply draft for each addressed comment:
Send replies only when the user explicitly requested reviewer communication or approves the prepared reply set. A code-fix request alone authorizes the local change, not external messages.
For skipped comments:
Append the final comment decisions, verification result, and reply status to the resolved task record before reporting completion. If replies were not authorized or sent, record them as drafts/pending.
Error — gh API reply fails: Report the error and suggest manual reply via GitHub UI.
Provide a final summary:
## PR Review Summary
**PR**: #XX - Title
**Reviewer(s)**: @username
### Comments Addressed:
1. [file:line] - Brief description of fix
2. [file:line] - Brief description of fix
### Comments Skipped (if any):
1. [file:line] - Reason why not applicable
### Changes Made:
- List of files modified
- New commit: {hash}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alexandrbasis/claudops --plugin claudops40 skills in this plugin
/analyzeCompare a task's discovery or product requirements with its tech decomposition and report traceability gaps. Use when asked to 'analyze consistency', 'check alignment', 'verify spec matches plan', 'traceability check', 'spec drift', 'are my docs aligned', or after /ct completes to verify the plan covers the requirements. `/ct` may invoke this check when traceability is material; otherwise it remains an explicit read-only command. NOT for code review (use /sr), NOT for code analysis (use /code-analysis), NOT for debugging (use /dbg)./antigravity-cliRun Google Antigravity CLI (agy) for web-grounded research, cross-AI review, or validation when those capabilities are explicitly needed or another skill delegates to agy. One-shot only; do not select it for an ordinary review without an explicit provider choice./Other plugins' skills for the same job