Claude Codeにコードレビュー機能を導入
AnthropicはClaude Codeに、複数エージェントチームによる深いコードレビュー機能「Code Review」を導入し、人間が見逃しやすいバグを検出して開発者の負荷を軽減する研究プレビューを開始した。
キーポイント
コードレビューのボトルネック解消
Anthropic社内でのエンジニアのコード出力が前年比200%増加し、コードレビューがボトルネックとなっていた問題に対応するため、深いコードレビューを自動化する機能を開発した。
マルチエージェントレビューシステム
PRが作成されると複数のエージェントが並行してバグを探し、誤検出をフィルタリングし、重大度でランク付けするチームベースのレビューを実施する。
実証された効果
Anthropic社内での導入により、実質的なレビューコメントのあるPRが16%から54%に増加し、大規模PRでは84%で平均7.5件の問題を検出している。
人間との協働
システムはPRを承認せず、最終判断は人間が行うが、レビュアーが実際にカバーすべき内容を特定することで、人間の判断を支援する。
実例での効果
早期アクセス顧客の事例として、TrueNASのオープンソースミドルウェアのZFS暗号化リファクタリングで、Code Reviewが隣接コードの既存バグ(タイプミスマッチ)を発見し、暗号化キーキャッシュが同期ごとに消去される問題を解決した。
コストと管理機能
Code Reviewは深い分析を重視し、Claude Code GitHub Actionより高価で、レビューはトークン使用量に基づき課金され、平均$15–25。管理者は月次組織上限、リポジトリレベルの制御、分析ダッシュボードで支出と使用を管理できる。
導入方法
Code Reviewは現在、TeamおよびEnterpriseプランのベータ版として研究プレビューで利用可能。管理者はClaude Code設定で有効化し、GitHub Appをインストールしてレビュー対象リポジトリを選択する。開発者は有効化後、新規PRで自動的にレビューが実行される。
影響分析・編集コメントを表示
影響分析
この機能は、AIが単なるコード生成から品質保証のパートナーへ進化する重要なステップを示している。開発現場の現実的な課題(レビュー負荷)に直接応えることで、AIツールの実用性を高め、企業の開発プロセス全体に影響を与える可能性がある。
編集コメント
AIによるコードレビューの実用化が進み、単なる生成支援から品質保証への役割拡大が明確になった。社内実績データを公開している点が説得力を持つ。
タイトル: Claude Codeにコードレビュー機能を導入
Claude Codeにコードレビュー機能を導入
Claude Codeは現在、Anthropic社内で運用しているものをモデルとした、徹底的でエージェントチームベースのレビューシステムを備えています。リサーチプレビューとして利用可能です。
カテゴリーClaude Code製品発表
製品Claude Code
日付2026年3月9日
読了時間5分
共有リンクをコピーhttps://claude.com/blog/code-review
本日、コードレビュー機能を導入します。これは、すべてのプルリクエスト(PR)に対してエージェントチームを派遣し、軽く目を通しただけでは見逃してしまうバグを捕捉するもので、速度ではなく深さを重視して構築されています。これはAnthropicでほぼすべてのPRに適用しているシステムです。現在、TeamおよびEnterpriseプラン向けにリサーチプレビューとして提供しています。
レビューのボトルネック管理
Anthropicのエンジニア1人あたりのコード生産量は、昨年比200%増加しました。コードレビューはボトルネックとなっており、毎週顧客からも同じ声を聞いています。開発者のリソースが限られており、多くのPRが深く読まれるのではなく、軽く目を通されるだけだと伝えられています。
私たちは、すべてのPRで信頼できるレビュアーが必要でした。このコードレビュー機能はその答えです。人間のレビュアー自身もしばしば見逃すバグを捕捉する、深く、マルチエージェントによるレビューを実現します。これは、オープンソースで引き続き利用可能な既存のClaude Code GitHub Actionよりも、より徹底的で(より高価な)オプションです。
私たちはAnthropicでほぼすべてのPRにこのコードレビューを適用しています。以前は、PRの16%が実質的なレビューコメントを受けていました。現在では54%が受けています。この機能はPRを承認することはありません(それは依然として人間の判断です)が、ギャップを埋め、レビュアーが出荷されるコードを確実にカバーできるようにします。
PRが作成されると、コードレビュー機能はエージェントチームを派遣します。エージェントは並行してバグを探し、誤検出を除外するためにバグを検証し、深刻度に応じてバグをランク付けします。結果は、単一の高品質な概要コメントとして、また特定のバグに対するインラインコメントとしてPRに投稿されます。
レビューはPRの規模に合わせて拡張されます。大規模または複雑な変更にはより多くのエージェントとより深い分析が行われ、些細な変更には軽量な処理が適用されます。私たちのテストに基づくと、平均的なレビューには約20分かかります。
コードレビューの実際の動作
私たちは数ヶ月間、このコードレビュー機能を社内で運用してきました。大規模なPR(変更行数1,000行以上)では、84%で指摘事項が見つかり、平均7.5件の問題があります。50行以下の小規模なPRでは、それが31%に低下し、平均0.5件の問題です。エンジニアは、この機能が指摘する内容にほぼ同意しており、指摘事項の1%未満が誤りとマークされています。
ある事例では、本番サービスへの1行の変更は通常通りに見え、通常であれば迅速な承認を得る種類の差分でした。しかし、コードレビュー機能はそれをクリティカルな問題としてフラグを立てました。その変更はサービスの認証を破壊する恐れがあったのです。これは差分では読み飛ばしやすいが、指摘されれば明らかな障害モードでした。それはマージ前に修正され、担当エンジニアは後で、自分では気づけなかっただろうと語りました。
早期アクセス顧客も同様のパターンを確認しています。TrueNASのオープンソースミドルウェアにおけるZFS暗号化のリファクタリングでは、コードレビュー機能が隣接するコードに既存のバグを発見しました。すべての同期で暗号化キーキャッシュを黙って消去していた型不一致の問題です。これは、PRがたまたま触れたコードに潜在していた問題で、変更セットを確認する人間のレビュアーがすぐに見つけに行くようなものではありませんでした。
コストと制御
コードレビュー機能は深さを最適化しており、Claude Code GitHub Actionのような軽量なソリューションよりも高価です。レビューはトークン使用量に基づいて課金され、一般的に平均15〜25ドルで、PRのサイズと複雑さに応じて変動します。
管理者は、支出と使用を制御するために以下の方法を利用できます:
月次組織上限:すべてのレビューにわたる月間総支出を定義
リポジトリレベル制御:選択したリポジトリのみでレビューを有効化
分析ダッシュボード:レビューされたPR、受入率、総レビューコストを追跡
開始方法
コードレビュー機能は現在、TeamおよびEnterpriseプラン向けにベータ版のリサーチプレビューとして利用可能です。
管理者向け:Claude Code設定でコードレビュー機能を有効にし、GitHubアプリをインストールし、レビューを実行したいリポジトリを選択してください。
開発者向け:有効化されると、レビューは新しいPRで自動的に実行されます。設定は必要ありません。
詳細についてはドキュメントを参照してください。
前へ前へ0/5次へ次へ電子書籍
Claudeで構築するチーム向けの製品ニュースとベストプラクティスをもっと探る
skill-creatorの改善:エージェントスキルのテスト、測定、改良
Claude Codeskill-creatorの改善:エージェントスキルのテスト、測定、改良skill-creatorの改善:エージェントスキルのテスト、測定、改良skill-creatorの改善:エージェントスキルのテスト、測定、改良skill-creatorの改善:エージェントスキルのテスト、測定、改良 2026年1月26日あなたのお気に入りの作業ツールが、Claude内でインタラクティブコネクタになりました
製品発表あなたのお気に入りの作業ツールが、Claude内でインタラクティブコネクタになりましたあなたのお気に入りの作業ツールが、Claude内でインタラクティブコネクタになりましたあなたのお気に入りの作業ツールが、Claude内でインタラクティブコネクタになりましたあなたのお気に入りの作業ツールが、Claude内でインタラクティブコネクタになりました 2026年2月23日AIがCOBOL近代化のコスト障壁を打破するのをどのように支援するか
Claude CodeAIがCOBOL近代化のコスト障壁を打破するのをどのように支援するかAIがCOBOL近代化のコスト障壁を打破するのをどのように支援するかAIがCOBOL近代化のコスト障壁を打破するのをどのように支援するかAIがCOBOL近代化のコスト障壁を打破するのをどのように支援するか 2026年2月20日Claude Codeデスクトップ版への自動プレビュー、レビュー、マージの導入
Claude CodeClaude Codeデスクトップ版への自動プレビュー、レビュー、マージの導入Claude Codeデスクトップ版への自動プレビュー、レビュー、マージの導入Claude Codeデスクトップ版への自動プレビュー、レビュー、マージの導入Claude Codeデスクトップ版への自動プレビュー、レビュー、マージの導入Claudeで組織の運営方法を変革
開発者向けニュースレターを購読
製品アップデート、ハウツー、コミュニティスポットライトなど。毎月メールボックスにお届けします。
購読購読月次開発者ニュースレターを受け取りたい場合は、メールアドレスを入力してください。いつでも購読解除できます。
原文を表示
Bringing Code Review to Claude Code
Claude Code now has a thorough, agent team-based review system, modeled on the one we run at Anthropic. Available in research preview.
CategoryClaude CodeProduct announcements
ProductClaude Code
DateMarch 9, 2026
Reading time5min
ShareCopy linkhttps://claude.com/blog/code-review
Today we're introducing Code Review, which dispatches a team of agents on every PR to catch the bugs that skims miss, built for depth, not speed. It's the system we run on nearly every PR at Anthropic. Now in research preview for Team and Enterprise.
Managing the review bottleneck
Code output per Anthropic engineer has grown 200% in the last year. Code review has become a bottleneck, and we hear the same from customers every week. They tell us developers are stretched thin, and many PRs get skims rather than deep reads.
We needed a reviewer we could trust on every PR. Code Review is the result: deep, multi-agent reviews that catch bugs human reviewers often miss themselves. It's a more thorough (and more expensive) option than our existing Claude Code GitHub Action, which remains open source and available.
We run Code Review on nearly every PR at Anthropic. Before, 16% of PRs got substantive review comments. Now 54% do. It won't approve PRs — that's still a human call — but it closes the gap so reviewers can actually cover what's shipping.
When a PR is opened, Code Review dispatches a team of agents. The agents look for bugs in parallel, verify bugs to filter out false positives, and rank bugs by severity. The result lands on the PR as a single high-signal overview comment, plus in-line comments for specific bugs.
Reviews scale with the PR. Large or complex changes get more agents and a deeper read; trivial ones get a lightweight pass. Based on our testing, the average review takes around 20 minutes.
Code Review in action
We've been running Code Review internally for months: on large PRs (over 1,000 lines changed), 84% get findings, averaging 7.5 issues. On small PRs under 50 lines, that drops to 31%, averaging 0.5 issues. Engineers largely agree with what it surfaces: less than 1% of findings are marked incorrect.
In one case, a one-line change to a production service looked routine and was the kind of diff that normally gets a quick approval. But Code Review flagged it as critical. The change would have broken authentication for the service, a failure mode that’s easy to read past in the diff but obvious once pointed out. It was fixed before merge, and the engineer shared afterwards that they wouldn't have caught it on their own.
Early access customers have seen similar patterns. On a ZFS encryption refactor in TrueNAS's open-source middleware, Code Review surfaced a pre-existing bug in adjacent code: a type mismatch that was silently wiping the encryption key cache on every sync. It was a latent issue in code the PR happened to touch, the kind of thing a human reviewer scanning the changeset wouldn't immediately go looking for.
Cost and control
Code Review optimizes for depth and is more expensive than lighter-weight solutions like the Claude Code GitHub Action. Reviews are billed on token usage and generally average $15–25, scaling with PR size and complexity.
Admins have many ways to control spend and usage:
Monthly organization caps: Define total monthly spend across all reviews
Repository-level control: Enable reviews only on the repositories you choose
Analytics dashboard: Track PRs reviewed, acceptance rate, and total review costs
Getting started
Code Review is available now as a research preview in beta for Team and Enterprise plans.
For admins: Enable Code Review in your Claude Code settings, install the GitHub App, and select repositories you’d like to run reviews on.
For developers: Once enabled, reviews run automatically on new PRs. No configuration needed.
Explore the docs for more information.
PrevPrev0/5NextNexteBook
Explore more product news and best practices for teams building with Claude.
Improving skill-creator: Test, measure, and refine Agent Skills
Claude CodeImproving skill-creator: Test, measure, and refine Agent SkillsImproving skill-creator: Test, measure, and refine Agent SkillsImproving skill-creator: Test, measure, and refine Agent SkillsImproving skill-creator: Test, measure, and refine Agent Skills Jan 26, 2026Your favorite work tools are now interactive connectors inside Claude
Product announcementsYour favorite work tools are now interactive connectors inside ClaudeYour favorite work tools are now interactive connectors inside ClaudeYour favorite work tools are now interactive connectors inside ClaudeYour favorite work tools are now interactive connectors inside Claude Feb 23, 2026How AI helps break the cost barrier to COBOL modernization
Claude CodeHow AI helps break the cost barrier to COBOL modernizationHow AI helps break the cost barrier to COBOL modernizationHow AI helps break the cost barrier to COBOL modernizationHow AI helps break the cost barrier to COBOL modernization Feb 20, 2026Bringing automated preview, review, and merge to Claude Code on desktop
Claude CodeBringing automated preview, review, and merge to Claude Code on desktopBringing automated preview, review, and merge to Claude Code on desktopBringing automated preview, review, and merge to Claude Code on desktopBringing automated preview, review, and merge to Claude Code on desktopTransform how your organization operates with Claude
Get the developer newsletter
Product updates, how-tos, community spotlights, and more. Delivered monthly to your inbox.
SubscribeSubscribePlease provide your email address if you'd like to receive our monthly developer newsletter. You can unsubscribe at any time.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み