Claude Codeにコードレビュー機能を導入
本文の状態
日本語全文を表示中
詳細モードで約7分の本文を読めます。
同じ出来事の情報源
6媒体で確認
Claude Blog · CyberAgent Developers Blog · Anthropic News · InfoQ · Simon Willison Blog · The Decoder
各社の報じ方を比較 ↓Anthropicが、AIプログラミングアシスタント「Claude Code」にコードレビュー機能を追加した。この機能は、開発者が書いたコードの品質向上とバグ発見を支援する。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
タイトル: 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.
同じ出来事を6媒体で確認
同じ出来事を扱う別媒体の記事です。見出しと公開時刻を比較できます。
関連記事
News to Guide
ニュースの次に確認する
発表内容を、現在の料金や仕様と照らし合わせられる関連ガイドです。
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み