reviewer
Performs multi-perspective local code reviews (security, performance, logic) on diffs or files.
Install
mkdir -p .claude/skills/reviewer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13588" && unzip -o skill.zip -d .claude/skills/reviewer && rm skill.zipInstalls to .claude/skills/reviewer
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
reviewerエージェントにローカルの差分・ファイルをレビューさせる。バグ・セキュリティ・パフォーマンス・保守性・命名一貫性・リグレッション・データアクセス重複などの観点でレビューし VERDICT: PASS/FAIL を返す。「reviewerに見せて」「reviewer」「ローカルの差分を見て」といった要望に使う。PR番号・リモートブランチ・gh pr 経由のレビューは /review-pr を使うこと。ユーザーが /reviewer と入力したら必ずこのスキルを使う。Key capabilities
- →Identify the scope of code to review based on arguments
- →Determine the set of reviewer roles for parallel execution
- →Execute code review agents in a hybrid parallel manner
- →Integrate and present review verdicts from multiple agents
- →Summarize critical and high-severity findings
How it works
The skill identifies the review scope, dynamically selects reviewer roles, and then launches multiple subagents in parallel to perform reviews based on correctness, consistency, quality, security, and architecture. It then consolidates their verdicts and findings.
Inputs & outputs
When to use reviewer
- →Review uncommitted changes
- →Check code security locally
- →Perform style and quality check
About this skill
Reviewer
ローカルのコード変更を複数観点で読み取り専用レビューし、検証済みの指摘を1つの結果に統合する。
入力を解釈する
$reviewer に続くテキストをレビュー対象として扱う。次のオプションを認識する。
--all-reviewers: 5つの担当をすべて使う。--reviewers=<roles>: カンマ区切りで担当を明示する。使用可能な値はcorrectness,consistency,quality,security,architecture。
オプション以外の対象は次の順序で解釈する。
- ファイルまたはディレクトリなら、そのパスに限定する。
..を含むコミット範囲なら、その範囲を使う。- 解決可能なブランチまたはコミットなら、マージベースから
HEADまでを対象にする。 - 指定がなければ、追跡済み・未追跡を含むローカルの未コミット変更を対象にする。
まず git status --short と適切な git diff / git diff --cached / git merge-base を使って対象を確定する。未追跡ファイルは個別に読む。変更がなければ、その旨を伝えて終了する。
担当を選ぶ
明示指定があればその担当を使う。明示指定がなければ、変更内容から次を選ぶ。判断が曖昧なら多めに選ぶ。
correctnessは常に選ぶ。仕様違反、境界値、失敗経路、データ整合性、競合、回帰を調べる。consistencyは既存機能の拡張や既存パターンへの追加で選ぶ。近傍コード、命名、エラー処理、テスト慣習との不一致を調べる。qualityは新しい関数・型・分岐、または意味のあるロジック変更で選ぶ。複雑さ、重複、保守性、テスト可能性を調べる。securityは認証・認可、入力、SQL、秘密情報、暗号、ファイル、ネットワーク、並行処理、権限に触れる変更で選ぶ。悪用可能な経路と防御不足を調べる。architectureは新規ファイル、複数レイヤー、API・DBスキーマ・依存関係・責務境界に触れる変更で選ぶ。結合、境界、移行安全性を調べる。
並列レビューを実行する
サブエージェントを起動する直前に、次をユーザーへ短く宣言する。
Fan-Out Gate: <N> reviewers — <role list>. Starting in one parallel wave.
その後、選んだ担当ごとに独立したサブエージェントを起動する。すべてを起動し終えるまで結果待ちを始めない。同じ差分を渡し、各プロンプトに次の条件を含める。
- 担当名と上記の担当固有観点。
- 対象のパス、範囲、または差分の特定方法。
- 差分だけでなく、関連する周辺実装・呼び出し元・テストも読む。
- レビュー対象のファイルを変更しない。コミット、フォーマット、生成処理も行わない。
- スタイル上の好みではなく、変更によって生じる具体的で再現可能な問題を優先する。
- 各指摘を
P0〜P3、タイトル、根拠、影響、絶対パスと行番号、短い修正方針で返す。 - 問題がなければ
No findingsと明記する。
利用可能な並列エージェント機能を使う。モデルは原則として親から継承し、ユーザーが指定した場合だけ上書きする。
結果を統合する
全担当が完了してから、主エージェントが各指摘を実コードに照らして再検証する。誤検知を除き、同じ原因の指摘を統合し、重要度順に並べる。
重大度は次の基準を使う。
P0: 広範な停止、不可逆なデータ損失、重大な侵害など、直ちに対応が必要。P1: 通常利用で起き得る重大な誤動作、セキュリティ問題、移行事故。P2: 条件付きの不具合、限定的な回帰、保守上の実害。P3: 小さな不具合または低リスクの改善。
最終回答は次の順序にする。
VERDICT: FAIL(検証済みのP0またはP1がある場合)またはVERDICT: PASS。Findings。各指摘は重要度、簡潔な見出し、根拠、影響、クリック可能な絶対ファイルリンクを含める。Reviewer coverage。実行した担当と、問題なしだった担当を簡潔に示す。- 必要な場合だけ、前提や未検証事項を示す。
指摘がなければ No findings. と明記する。レビュー依頼だけではファイルへレポートを書き込まない。ユーザーが保存を明示した場合に限り、指定先または docs/reviews/ に保存する。
When not to use it
- →When reviewing PRs, remote branches, or via `gh pr`
- →When the target files for review are zero
- →When the `function_calls` block is split across multiple turns
Limitations
- →Subagent calls from within a subagent are not possible
- →The `function_calls` block must not be split across multiple turns
- →The number of launched agents must match the declared N
How it compares
This skill automates code review by dispatching multiple specialized AI agents in parallel to analyze local diffs, providing a structured verdict and findings, which differs from a manual, single-reviewer process.
Compared to similar skills
reviewer side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| reviewer (this skill) | 0 | 1mo | Review | Advanced |
| github-code-review | 13 | 2mo | Review | Advanced |
| reviewing-nextjs-16-patterns | 11 | 8mo | Review | Intermediate |
| agent-code-analyzer | 3 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
github-code-review
ruvnet
Comprehensive GitHub code review with AI-powered swarm coordination
reviewing-nextjs-16-patterns
djankies
Review code for Next.js 16 compliance - security patterns, caching, breaking changes. Use when reviewing Next.js code, preparing for migration, or auditing for violations.
agent-code-analyzer
ruvnet
Agent skill for code-analyzer - invoke with $agent-code-analyzer
code-review-ai-ai-review
sickn33
You are an expert AI-powered code review specialist combining automated static analysis, intelligent pattern recognition, and modern DevOps practices. Leverage AI tools (GitHub Copilot, Qodo, GPT-5, C
code-review-developer
anyproto
Context-aware routing to code review guidelines. Use when reviewing pull requests, providing code feedback, or discussing review standards.
codex-code-review
tyrchen
Perform comprehensive code reviews using OpenAI Codex CLI. This skill should be used when users request code reviews, want to analyze diffs/PRs, need security audits, performance analysis, or want automated code quality feedback. Supports reviewing staged changes, specific files, entire directories, or git diffs.