SubagentInstalls cleanly

Reviewers for code changes

PR Review Toolkit (Anthropic)

Anthropic's plugin with six reviewer agents for a code change: comments, tests, silent failures, types, general quality and simplification.

Works with
Claude Code
Good for
Web developers, Security testing, Build an app

What it does

PR Review Toolkit is one of Anthropic's own plugins in the official Claude Code marketplace. A PR (pull request) is a set of code changes that you ask to merge into the main code. The plugin adds six subagents. A subagent is a helper with its own instructions and its own context window. Each one looks at your changes from one angle:

  1. comment-analyzer checks that code comments still match the code.
  2. pr-test-analyzer checks that tests cover the real behaviour and rates gaps from 1 to 10.
  3. silent-failure-hunter finds errors that the code catches and then ignores.
  4. type-design-analyzer rates how well data types protect their rules, on four 1-to-10 scales.
  5. code-reviewer checks project rules (such as your CLAUDE.md file), style and bugs, and scores each issue from 0 to 100.
  6. code-simplifier makes working code clearer without changing what it does.

The plugin also adds one command, /pr-review-toolkit:review-pr. It looks at your changed files with git diff and checks for an open GitHub pull request with gh pr view. Then it runs the reviewers that apply. You can name aspects: comments, tests, errors, types, code, simplify or all. Add parallel to run them at the same time.

You do not have to use the command. Plain requests work too, such as "check if the tests cover this" or "review the error handling". Claude picks the matching reviewer from its description.

The command itself can only read files, search and run shell commands. The six agents have no tool limits, so they can also edit files. The code-simplifier's job is to change code. Claude may also start it on its own after a coding task, because its description asks for that.

Who it is for

Anyone who changes code with Claude Code and wants a careful second look before a merge or a release: missing tests, hidden errors, stale comments or code that is harder to read than it needs to be.

Example prompts

  • /pr-review-toolkit:review-pr
  • /pr-review-toolkit:review-pr tests errors
  • "Check if the tests cover the new checkout code."
  • "Review the error handling in the API client and look for silent failures."
  • "Simplify this function without changing what it does."
  • "Check the comments in this file. Are any of them out of date or misleading?"

How to install

/plugin install pr-review-toolkit@claude-plugins-official

How to use it

After you change code, ask for a review in plain words, for example "check whether the tests for this change are good" or "hunt for silent failures". The matching agent runs and reports.

Other assistants

Codex CLI is not supported. This is a Claude Code plugin with Claude Code subagents.

Gemini CLI is not supported either.

Check it works

  1. Run /plugin install pr-review-toolkit@claude-plugins-official. In a session, this opens the plugin panel, where you review the plugin and choose a scope.
  2. Type /pr-review-toolkit: and check that review-pr appears.
  3. Run /agents. The six reviewers should be in the list.
  4. Make a small change and run /pr-review-toolkit:review-pr code.

Common problems

  • No reviewer ran — Claude answers itself instead of starting an agent — be more specific. Name the reviewer, or name the concern, for example "test coverage". This is the README's advice.
  • It cannot read your GitHub pull request — the gh pr view step fails — install the GitHub CLI and run gh auth login. Without it, the command still reviews your local changes from git diff.
  • The review looks at the wrong files — it reviews too much — name the files, the branch or the PR number, or say "recent changes".
  • The review is long and noisy — many findings at once — ask for one aspect, for example /pr-review-toolkit:review-pr errors, and fix the critical findings first.
  • Code changed when you only wanted a report — files differ after a review — the code-simplifier edits code. Say "report only, do not edit" in your request, and check changes with git diff before you commit.

What to watch out for

  • The agents read your code and git changes. Some can suggest or make edits. Review changes before you accept them.
  • The reviews are advice. They can miss bugs or flag good code.
  • The six agents have no tool limits, so they can edit files. The code-simplifier rewrites code by design.
  • The code-simplifier's description tells Claude to run it on its own after a coding task, so it may run without you asking.
  • The code-reviewer agent is set to the Opus model. Full reviews start several subagents and use more of your plan.

Licence and author

Licence
Apache-2.0
Author
Anthropic
Source code
github.com/anthropics/claude-plugins-official

How we tested it

We installed it on an empty test computer on 12 Oct 2026. Installed and started in a clean test system. Not yet used in a real AI session.

Test level

We did not run any agent on a real pull request.

Technical details of the test
Date
12 Oct 2026
Method
Added the official Anthropic marketplace and installed pr-review-toolkit with the Claude Code command line in a clean container with no account. The plugin showed as enabled and the folder held 6 agent files. All 6 have a name and a description.

Checked again on 15 Oct 2026

Alternatives

  • Built-in /code-review and /security-review: ship with Claude Code. They check the current diff for bugs and security problems, but have no comment, test or type-design reviewers.
  • VoltAgent quality and security subagents: 18 community agents for testing, accessibility and security, with less focus on pull requests.

FAQ

What does it cost? The plugin is open source under the Apache-2.0 licence. The reviewers run on your normal Claude Code plan or API key. Each subagent sends its own requests, so a full review uses more of your plan. The code-reviewer agent is set to the Opus model.

Does it change my code? It can. The six agents can edit files, and the code-simplifier's job is to rewrite code. Nothing in the plugin commits or pushes. Read every change before you accept it.

Do I need GitHub? No. Without a pull request, it reviews your local changes from git diff.

Which reviewer should I start with? The README suggests code-reviewer before each commit and silent-failure-hunter when you change error handling. Before you open a pull request, add pr-test-analyzer.

When should I run it? The README suggests running it before you commit and again before you open the pull request. Problems are easier to fix while the change is still small.

Sources