Performs parallel automated reviews across functional, security, and architectural perspectives to provide deep, multi-faceted feedback.
Install
mkdir -p .claude/skills/agent-reviewer-ynitto && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18506" && unzip -o skill.zip -d .claude/skills/agent-reviewer-ynitto && rm skill.zipInstalls to .claude/skills/agent-reviewer-ynitto
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.
入力された成果物を分析し、適切な perspectives を自律選択してサブエージェントを並列起動し、集約レビューを返す。「レビューして」「コードを確認して」「設計をレビューして」「ドキュメントをチェックして」「品質確認して」などの依頼で発動。sprint-reviewer は含まない。Key capabilities
- →Analyze artifacts by selecting perspectives
- →Launch sub-agents in parallel for each perspective
- →Aggregate review results from multiple sub-agents
- →Generate a complete review report
- →Determine overall verdict based on sub-agent findings
How it works
The skill analyzes input artifacts, selects appropriate perspectives, and launches itself as a sub-agent in parallel for each perspective. It then aggregates the results from all sub-agents into a single report.
Inputs & outputs
When to use agent-reviewer
- →Reviewing code for architectural flaws
- →Conducting security audits
- →Checking documentation quality
About this skill
agent-reviewer
入力された成果物を分析して適切な perspectives を選択し、perspective ごとに自身をサブエージェントとして並列起動して結果を集約する。
パス解決
このSKILL.mdが置かれているディレクトリを SKILL_DIR とする。
各 perspective の手順は ${SKILL_DIR}/references/ 以下の参照ファイルに定義されている。
perspectives と参照ファイルの対応
| perspective | 参照ファイル | 主な対象 |
|---|---|---|
functional | ${SKILL_DIR}/references/functional.md | プロダクションコードの正確性・堅牢性 |
ai-antipattern | ${SKILL_DIR}/references/ai-antipattern.md | AI 生成コード特有の問題 |
architecture | ${SKILL_DIR}/references/architecture.md | モジュール・レイヤー間の構造 |
security | ${SKILL_DIR}/references/security.md | OWASP Top 10・脆弱性・差分SAST |
design | ${SKILL_DIR}/references/design.md | クラス・モジュール設計・SOLID |
test | ${SKILL_DIR}/references/test.md | テストコードの品質・網羅性 |
document | ${SKILL_DIR}/references/document.md | 要件定義書・設計書・仕様書 |
実行プロトコル
Step 1: perspectives の選択と並列起動
⛔ STOP —
runSubagentを今すぐ起動する集約レビューはサブエージェントが行う。このインスタンス自身は直接レビューしない。 perspectives を決定したら即座に
runSubagentを呼び出すこと。
対象ファイル・依頼内容から perspectives を決定し、同一ターン内で全 perspective の runSubagent をまとめて起動する:
| 対象・依頼内容 | 使用する perspectives |
|---|---|
| プロダクションコード(汎用) | functional, ai-antipattern, architecture |
| プロダクションコード + テストファイル混在 | functional, ai-antipattern, architecture, test |
| セキュリティ関連コード(認証・DB・API・入力処理) | functional, ai-antipattern, architecture, security |
| テストコードのみ | test |
| セキュリティ診断・セキュリティレビュー | security |
| クラス・モジュール設計 | design, architecture |
| ドキュメント・仕様書・設計書 | document |
起動テンプレート(各 perspective ごとに runSubagent 1 件。全件を同一ターン内で開始する):
agent-reviewer スキルで以下をレビューしてください。
手順: まず agent-reviewer スキルの SKILL.md(${SKILL_DIR}/SKILL.md)を読んで手順に従ってください。
perspective: [選択した perspective]
レビュー対象:
変更ファイル: [対象ファイルの一覧]
コンテキスト(あれば):
[依頼内容・背景]
注意: ユーザーへの確認・対話は行わず、レビューのみ実施すること。
全サブエージェントの完了を待ち、Step 3(集約)へ進む。
Step 2: 単一 perspective のレビュー実行(内部サブエージェント用)
- 内部的に指定された perspective に対応する参照ファイルを読み込む
- 参照ファイルの手順に従ってレビューを実施する
- 参照ファイルで定義された出力形式・判定スキーマで結果を返す
Step 3: 集約
各 perspective は 共通の判定スキーマ を返す:
verdict:LGTM | REQUEST_CHANGESseverity_summary:critical/warning/suggestionblocking_issues[*].severity:Critical | Warning
集約判定ルール:
- 全 perspective が LGTM → 総合判定: LGTM ✅
- いずれかが Request Changes → 総合判定: Request Changes ❌(最も厳しい判定を採用)
集約レポートフォーマット:
## 総合レビュー結果: [LGTM ✅ | Request Changes ❌]
### 実施した perspectives
| perspective | 判定 | Critical | Warning | Suggestion |
|---|---|---|---|---|
| functional | LGTM ✅ / Request Changes ❌ | 0 | 0 | 0 |
| ai-antipattern | ... | | | |
| architecture | ... | | | |
### 重大な指摘(Critical / Warning)
#### [perspective] より
- [severity]: [summary] — [location]
(指摘なしの場合は「なし」)
集約スキーマ(<!-- verdict-json --> で囲んで出力):
{
"skill": "agent-reviewer",
"verdict": "LGTM | REQUEST_CHANGES",
"blocking": false,
"perspectives_executed": ["functional", "ai-antipattern", "architecture"],
"perspective_results": [
{
"perspective": "functional",
"verdict": "LGTM | REQUEST_CHANGES",
"blocking": false,
"severity_summary": {"critical": 0, "warning": 0, "suggestion": 0}
}
],
"aggregated_blocking_issues": [
{
"from_perspective": "functional",
"severity": "Critical | Warning",
"summary": "問題の要約(1行)",
"location": "ファイル名:行番号"
}
]
}
スクリプト
${SKILL_DIR}/scripts/ に以下のユーティリティスクリプトが含まれる。
| スクリプト | 用途 |
|---|---|
diff_analyzer.py | git diff 出力を解析し、レビュー対象ファイルと変更行を構造化する |
pr_comment_formatter.py | レビュー結果 JSON を GitHub PR コメント用 Markdown に変換する |
diff_analyzer.py の使い方:
# diff を解析してレビューコンテキストを出力
git diff HEAD~1 | python ${SKILL_DIR}/scripts/diff_analyzer.py
# サマリーのみ表示
git diff | python ${SKILL_DIR}/scripts/diff_analyzer.py --summary
# JSON 形式で出力
git diff HEAD~1 | python ${SKILL_DIR}/scripts/diff_analyzer.py --json
pr_comment_formatter.py の使い方:
# レビュー結果 JSON を PR コメント形式に変換
python ${SKILL_DIR}/scripts/pr_comment_formatter.py --file review_result.json
# stdin から読み込み
echo '{...}' | python ${SKILL_DIR}/scripts/pr_comment_formatter.py
ガードレール
| 制限 | 値 |
|---|---|
| 外部呼び出し時の mode | 集約レビューのみ |
| 並列起動上限 | 最大4 perspectives |
| スキップ | 禁止(指定 / 選択された perspective は必ず実施) |
When not to use it
- →When the request is for sprint-reviewer functionality
- →When direct review by the main agent instance is required
- →When more than 4 perspectives need to be run in parallel
Limitations
- →The skill does not include sprint-reviewer functionality
- →The main instance does not directly perform reviews
- →Parallel launch is limited to a maximum of 4 perspectives
How it compares
This skill orchestrates multiple specialized sub-agents to perform parallel reviews based on different perspectives, rather than a single agent performing a sequential review.
Compared to similar skills
agent-reviewer side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| agent-reviewer (this skill) | 0 | 1mo | Review | Intermediate |
| agent-code-review-swarm | 3 | 5mo | Review | Intermediate |
| audit-project | 0 | 3mo | Review | Advanced |
| claude-automation-recommender | 47 | 2mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by ynitto
View all by ynitto →You might also like
agent-code-review-swarm
ruvnet
Agent skill for code-review-swarm - invoke with $agent-code-review-swarm
audit-project
agent-sh
Use when user asks to 'review my code', 'audit the codebase', 'run code review', 'check for issues', 'find bugs', 'security review', 'performance review', or wants multi-agent iterative review. Spawns role-based reviewers (code-quality-reviewer, security-expert, performance-engineer, test-quality-gu
claude-automation-recommender
anthropics
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what Claude Code features they should use.
github-code-review
ruvnet
Comprehensive GitHub code review with AI-powered swarm coordination
reviewing-code
CaptainCrouton89
Systematically evaluate code changes for security, correctness, performance, and spec alignment. Use when reviewing PRs, assessing code quality, or verifying implementation against requirements.
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.