When to choose it
Reviewing a GitHub pull request against code and project instructions.
Choose it if: You have a GitHub pull request and want findings checked against the changes and repository instructions.
Look elsewhere if: You need executed tests or CI results, or cannot provide the intended GitHub PR and existing authorization.
What the source describes
- Examines PR changes and repository guidance
- Uses specialized review agents
- Can post findings to the pull request
Requirements
- An intended GitHub pull request and relevant repository guidance
- GitHub CLI with existing authorization to view the PR and comment when intended
- The named GitHub inline-comment MCP tool must be available for the optional issue-comment path; the reviewed package does not configure that server
Install for this repository only
- Install and inspect the actual command. Install the code-review plugin in the intended local scope and follow its activation or reload instruction. The November 6 manifest declares 1.0.1. The current command uses four reviewers: two Sonnet agents for applicable CLAUDE.md guidance and two Opus agents for bugs in changed code. The README still describes history analysis and numeric scoring that the current command does not specify.
- Identify the PR and GitHub authorization. Use the intended GitHub repository and pull request. Check the existing GitHub CLI session and PR state before invocation. The default command instructs terminal-only output; optional publication has separate tool and authorization requirements. Replace the example URL below with the real target; these preparation commands are read-only.Shell • read-only preparation
gh auth status gh pr view https://github.com/OWNER/REPO/pull/NUMBER --json number,url,state,isDraft,headRefOid,baseRefName - Inspect the scope and repository instructions. Read the actual PR diff and relevant root or ancestor-directory CLAUDE.md guidance for changed files. The current bug agents focus on changed code, and candidate bug findings are passed to validation agents. Do not assume the README's history/blame description is an additional executed review stage. The allowed-tools list is not a universal read-only boundary.
- Decide whether a PR comment is intended. The current command explicitly stops after terminal output when --comment is absent. With --comment, no-issues output uses gh pr comment, while issue findings use the GitHub inline-comment MCP tool (create_inline_comment). This is an instruction in the command Markdown, not a separate executable flag parser or permission sandbox. Confirm the target PR and publication authority before choosing the comment path.
- Keep CI and human decisions separate. The command tells reviewers not to run the linter to verify excluded issues and does not make its review output evidence that builds, typechecks or tests ran. Check those results through your project's existing workflow. Model aliases and validation instructions do not establish account access, cost or finding accuracy.
Run the installation command in your shell after reviewing the source. Local scope enables the package for you in this repository. It does not enable it for every collaborator.
claude plugin install code-review@claude-plugins-official --scope localHow to use it
Invoke the installed plugin command for the intended PR. The current recipe stops after terminal output unless --comment is supplied. Verify your installed command, target PR and existing permissions before any optional publication; this is a source-defined branch, not a runtime-tested guarantee.
/code-review:code-reviewAn original read-only preparation request, retained unchanged. It does not invoke the review command or post comments; the current command's separate terminal-only default is described above. This request example is written by ClaudeStack; it is not a transcript of a tested session.
Before invoking Code Review, use read-only inspection to identify this repository and the intended PR, report its base and head commit, and summarize the changed-file scope and applicable CLAUDE.md guidance. Explain whether the pinned recipe would skip this PR and which steps can publish a comment. Do not invoke the review command, post comments, edit files or run CI.November 6 source review: the command has materially changed since the retained October 11 revision. Terminal-only output is now the default; --comment selects ordinary no-issues comments or inline issue comments. The four-reviewer and validation flow takes precedence over stale README scoring/history prose.
The allowed-tools field lists write-capable tools and disable-model-invocation remains false. The source's confirmed: true argument for inline comments is an instruction to a tool, not evidence that the user granted publication authority or that the tool is available.
Reviewed on 2026-10-11. No PR comment, review, model evaluation, installation or security certification was performed for this content review.
Reviewed on 2026-11-06 from pinned official sources. No command, plugin, model review, GitHub comment, installer or unknown third-party code was executed. Historical source links and the original request/command text remain unchanged.
What to expect
The reviewed source describes these observations. ClaudeStack has not loaded or run this extension.
- The current recipe checks eligibility, gathers applicable CLAUDE.md paths and a PR summary, then launches four reviewers. Two Sonnet agents check guidance compliance and two Opus agents inspect changed code for bugs. Step 5 explicitly validates candidates from the two bug agents; do not infer a numeric 80 threshold from the stale README.
- Closed, draft, trivial/automated PRs or PRs already commented on by Claude can stop at eligibility. Otherwise the command prints findings, or a no-issues summary, to the terminal. Without --comment it stops without instructing a GitHub comment.
- With --comment and no issues, the command instructs an ordinary summary comment through gh pr comment. With issues, it instructs one inline comment per unique issue through the named MCP tool, with full-SHA source links and tightly scoped suggestions. Neither result is an approval, merge, security certification or evidence of executed tests.
Self-check: Inspect the resolved PR and head SHA, terminal output and selected publication mode. If --comment was intended, inspect both ordinary and inline comments before retrying an uncertain result. Validate findings against the actual diff and applicable guidance, and check independent CI. Terminal output alone does not prove successful GitHub publication.
Troubleshooting
The README describes scoring or a different reviewer workflow
Prefer the installed command definition and pinned manifest. The November 6 source declares version 1.0.1 and four focused reviewers, with validation of bug-agent candidates rather than the README's numeric 80 threshold. The README's automatic-availability claim is not proof the plugin is installed or loaded.
A terminal-only review might still have write-capable tools
The current recipe says not to post without --comment, but allowed-tools still includes gh pr comment and the inline-comment MCP tool, and disable-model-invocation remains false. A command instruction is not an enforced read-only permission boundary. Keep your existing permission controls and verify the installed source; older reviewed revisions used a different publication flow.
No GitHub comment appears
Without --comment, terminal-only output is the intended current behavior. With --comment, check eligibility and actual tool results. The no-issues path uses gh pr comment; findings use a separate inline-comment MCP tool. Inspect existing ordinary and inline comments before retrying an uncertain publication.
GitHub refuses the PR lookup or comment
Confirm the target repository, PR and existing gh authorization. Viewing and commenting require different allowed actions. Do not repeatedly invoke the workflow after an unknown publication result; inspect the actual PR first and resolve authorization through the owner’s normal process.
Findings exist but the inline-comment tool is unavailable
The current command names the GitHub inline-comment MCP tool (create_inline_comment), but this plugin directory contains no .mcp.json server configuration. Its allowlist is not a server installation. Keep the terminal report, check your existing supported tool setup, and do not treat a failed or missing inline tool as a posted review or silently fall back to another publication route.
A confidence claim or source link looks convincing but wrong
The current command asks validation agents to reject unsupported bug findings; it does not specify the README's numeric confidence rubric. Verify the full head SHA, file path, changed line and applicable instruction. Neither validation wording nor a generated link establishes calibrated accuracy or passing CI.
Disable or remove it
- Disable or uninstall code-review in /plugin → Installed, matching this page’s local installation scope, then follow activation/reload instructions. This removes the package command from that scope.
- Uninstalling does not retract ordinary or inline PR comments already published, or undo suggestions someone has applied. Inspect existing comments and changes through the repository's normal GitHub controls; rerunning the command is not an undo operation.
Limitations & considerations
- The command instructs terminal-only output unless --comment is supplied; this prompt-level branch is not an enforced permission boundary
- The README still describes a numeric 80 threshold and history review, but the current command uses issue validation and four focused reviewers; review output is not executed CI
Source & review record
Our description is based on public documentation and manifests available on 2026-11-06. Installation formats were checked against Claude Code and the relevant installer documentation. No extension code was executed: this is a source review, not a runtime compatibility test or security audit.
- Original source and documentation
- Reviewed definition source
- License of the reviewed source
- Official plugin installation documentation
Usage guide sources
Upstream revision checked for this guide: 1aa4a4b10e6c5e8694d0f72a03dbac4e93bcafd8. Command names and behavior in this guide are documentation and registration-source findings, not runtime verification.
- Actual command definition ↗
- Manifest without an explicit version ↗
- README and its differing workflow claims ↗
- Actual Apache-2.0 license ↗
- Install and manage plugins ↗
- Invocation and tool permission semantics ↗
- GitHub CLI PR inspection ↗
- GitHub CLI PR comment publication ↗
- November 6 terminal-first command and inline-comment paths ↗
- November 6 plugin manifest 1.0.1 ↗
- November 6 README and remaining workflow discrepancies ↗
- November 6 actual bundled Apache-2.0 license ↗