Agentic Research

Code Review

148,649 stars

Official Anthropic plugin for Claude Code: /code-review automates pull-request review — it first checks whether review is needed (skipping closed, draft, trivial or already-reviewed PRs), gathers the repo's CLAUDE.md guidelines, summarizes the changes, then launches 4 parallel agents (two audit CLAUDE.md compliance, one scans for obvious bugs, one analyzes git blame/history for context issues), scores every finding 0-100 for confidence, filters out anything below 80, and outputs to the terminal or posts as a PR comment with --comment.

First published:2025-10-23
data as of:
2026-09-30

Host

Reads the PR diff, the repo's CLAUDE.md files, git history and blame data; the 4 parallel agents each read the codebase independently. With --comment it writes the review to the GitHub PR — externally visible.

Parallel subagent launch and aggregation, plus PR comment posting, are built on Claude Code's agent machinery and command format; the confidence-filtering logic lives in the plugin's command and agent definition files — Claude Code-proprietary loadables.

Risk

The 80-confidence threshold cuts both ways: filtering false positives also silently drops low-confidence real issues; 4 parallel agents are token-expensive; --comment posts reviews publicly to the team, so a wrong accusation lands on real people. It assists review — it does not replace the human responsibility for it.

Install prompt

在 Claude Code 的插件管理介面中,從官方 marketplace(claude-plugins-official)安裝 code-review;之後對目標 PR 執行 /code-review(要直接發成 PR 評論則加 --comment 參數)。說明見 anthropics/claude-code 倉庫 plugins/code-review 目錄。

Paste this to your agent. It deliberately contains no tool subcommands — check the tool's official docs for commands.

Official source Source(148,649 ★)
Host