Plugin

PR Review Toolkit

Specialized review agents for tests, comments, types, error handling and code quality.

reviewtestingtypes
View original source ↗

When to choose it

Choosing a review lens for a change before merging.

Choose it if: You want a focused lens on tests, comments, types or error handling before merging a change.

Look elsewhere if: You need proof of correctness or cannot accommodate the usage of multiple review agents.

What the source describes

  • Six focused review agents
  • Targets tests, silent failures and type design
  • A review-pr command coordinates the review

Requirements

  • Claude Code with plugin and subagent support
  • Git checkout and explicit staged, unstaged or resolved base/head review scope
  • Available opus/inherit model selections; existing authorized GitHub CLI for the command's PR lookup

Components in this package

  • Review PR — Coordinate the PR Review Toolkit’s specialized review lenses from one command.

Install for this repository only

  1. Load the containing toolkit. Install the existing official marketplace plugin in the intended local scope, then follow its activation message. It contains review-pr plus six agents; those agents are bundled components, not six additional marketplace projects. The README's personal-marketplace installation paragraph does not replace current official installation instructions.
  2. Provide an explicit review target. Record the branch and separate unstaged, staged and already committed work before asking for a review. review-pr starts from git status and git diff --name-only, while code-reviewer defaults to unstaged git diff. For staged or committed work, supply the actual paths and resolved base/head or staged scope instead of assuming the word PR selects the whole branch.
    Shell • read-only review preparation
    git status --short --branch
    git diff --stat
    git diff --cached --stat
    git branch --show-current
  3. Choose the review lens. Use comment-analyzer for comments against implementation, pr-test-analyzer for behavioral test gaps, silent-failure-hunter for error/fallback paths, type-design-analyzer for invariants, and code-reviewer for project rules and defects. Select the narrowest relevant lens; the toolkit is not a test runner or a measured coverage service.
  4. Separate simplification from reporting. code-simplifier instructs the agent to apply refinements to recently changed code. Its functionality-preservation goal is an instruction, not proof that behavior stays identical. For a report-only review, explicitly exclude simplify and inspect the resulting worktree. None of the six reviewed agent definitions declares a tools allowlist; current Claude Code documentation says omitted tools inherit available subagent tools.
  5. Check model and optional PR lookup availability. The reviewed code-reviewer and code-simplifier request opus; the other four agents use inherit. These are source model selections, not exact installed model versions or availability guarantees. review-pr also attempts gh pr view: an existing authorized GitHub CLI connection is relevant to that lookup, while an explicitly scoped local analysis should report any unavailable remote lookup.
  6. Check coverage when production code changes alone. The reviewed review-pr command lists pr-test-analyzer as applicable when test files change. The analyzer itself supports new logic, validation and edge cases in a PR. When implementation changes without accompanying test edits, explicitly select the tests aspect or the scoped pr-test-analyzer and require confirmation that it ran against the intended diff. Missing test edits can be the coverage gap that needs review.

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.

Shell • local install scope
claude plugin install pr-review-toolkit@claude-plugins-official --scope local
Installation and loading troubleshooting

How to use it

The source-documented request for test and error-handling lenses. Confirm the actual reviewed paths and agents; the instruction also contains an always-applicable code-reviewer rule.

Claude Code command
/pr-review-toolkit:review-pr tests errors

An original single-lens request using current official plugin-scoped mention syntax. Confirm the loaded identity in @ typeahead; the request is not a change to the agent's tool permissions.

Scoped agent request
@agent-pr-review-toolkit:pr-test-analyzer Review the specified diff and tests for missing negative cases. Report findings only, with paths and evidence; do not edit files or run project commands.

Request the source-described refinement workflow only when code edits are intended, after reviewing findings and deciding the scope. Recheck behavior and tests after any edits.

Claude Code command
/pr-review-toolkit:review-pr simplify

An original bounded two-lens review request. It does not claim an agent session was executed. This request example is written by ClaudeStack; it is not a transcript of a tested session.

Request example
Use PR Review Toolkit's pr-test-analyzer and silent-failure-hunter for the API error-handling change I identify. First state the exact local diff or resolved base/head you will inspect. Compare failure paths with the accompanying tests and report actionable findings with file/line evidence. Exclude simplification and file edits. Distinguish tests you read from tests with recorded execution results.

The README says MIT, while the actual bundled LICENSE is Apache-2.0. The existing catalog license remains Apache-2.0, and both sources are linked so the disagreement stays visible.

The October 10 manifest review found no explicit version; the November 4 pinned manifest now declares 1.0.1. The marketplace registration still omits a version. This is source metadata, not evidence of which version is installed. Installation and agent names are documentation/metadata findings; no compatibility, latency, usage-cost or security certification is inferred.

What to expect

The reviewed source describes these observations. ClaudeStack has not loaded or run this extension.

  • Review reports use each agent's specialty: comments versus actual implementation, behavioral test gaps, hidden error paths, type invariants and project-guideline defects. These outputs may overlap and need confirmation against the intended revision.
  • The code-reviewer reports only source-defined confidence scores of at least 80; pr-test-analyzer assigns gap criticality on a 1–10 scale, and type-design-analyzer rates four design dimensions. These are author prompt heuristics, not calibrated probabilities, actual coverage measurements or a test pass.
  • An invoked code-simplifier may change implementation structure. The other agents' review wording does not create a universal read-only permission boundary, because their definitions omit a tools restriction.

Self-check: Require the report to identify the exact revision/diff, paths, lenses and any unreviewed areas. Validate each finding against code and project rules, distinguish inferred coverage from real test execution, and inspect git status/diff after review. If simplification changed code, run the project's relevant checks against the changed result before treating the review as complete.

Troubleshooting

A similarly named code-reviewer from another package runs

Use the enabled toolkit's scoped identity in the @ picker or identify the full plugin-scoped agent name. Feature Dev and other plugins can supply different agents with the same short name; installing both does not make them interchangeable.

A staged or committed change gets an empty review

The default git diff is unstaged. Provide staged paths or a resolved base/head diff explicitly and require the report to state its scope. A clean unstaged diff does not mean the branch or PR has no changes.

A report-only review changes files

Check whether simplify or code-simplifier ran and inspect the resulting diff. Its source directs code refinements. Excluding it in a request communicates scope but does not itself restrict inherited tools; use the actual session's applicable permission controls when a tool restriction is required.

The agent assumes Sentry, Statsig or internal logging helpers

silent-failure-hunter embeds project-specific references such as logError and constants/errorIds.ts. Compare suggestions with the reviewed project's actual conventions; do not add those services merely to satisfy copied assumptions in the agent prompt.

A high score is treated as proof of correctness

The confidence, criticality and type scores are instructions for prioritizing findings. Request concrete code evidence and actual checks. A filtered no-findings report or a 1–10 design score is not measured security, correctness or test coverage.

The README suggests an extra build-validator dependency

The two current manifests and six agent files establish this package's actual contents. The README lists build-validator as an integration idea, not a bundled seventh agent or a declared dependency. Use the real project's existing build/test commands separately.

New business logic receives no test coverage review

Check the reported agent list rather than assuming the default all request examined coverage. The command uses changed test files as its applicability cue, while pr-test-analyzer can inspect production logic and missing negative cases. Explicitly request the tests lens for the resolved diff, including existing integration tests. Ask for concrete failure scenarios; its behavioral assessment does not execute tests or measure coverage.

Disable or remove it

  • Disable or uninstall pr-review-toolkit in its enabled scope and follow the loading instruction to remove its command and bundled agents from future sessions.
  • Copied user/project agent definitions remain separate. Uninstalling the package does not remove those copies, undo code-simplifier edits or turn a completed report into a test result.

Limitations & considerations

  • Findings are suggestions, not proof of correctness
  • Multiple agents may add model usage
  • Test-file change heuristics can miss coverage review for production-only changes; request the test lens explicitly

Source & review record

Our description is based on public documentation and manifests available on 2026-11-04. 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.

Repository last pushed at the time of review: 2026-10-09T20:54:10Z. This date does not prove that the extension works with a particular Claude Code release.

Usage guide sources

Upstream revision checked for this guide: fa4eb54397ee2faccb6940512a19c017cb1337f3. Command names and behavior in this guide are documentation and registration-source findings, not runtime verification.

More plugins

Browse this type
Plugin

Code Review

A pull request review workflow with terminal-first findings and optional GitHub comments.

AnthropicOfficial package
Plugin

Feature Dev

A guided feature workflow that explores the codebase, designs a solution and reviews the result.

AnthropicOfficial package
Plugin

Security Guidance

Edit warnings and model-assisted reviews for common vulnerability patterns.

AnthropicOfficial package

Each listing records its own source-review date. Listings are documentation reviews, not runtime tests or security audits. Our editorial method