From arch-review
Analyzes any codebase's architecture with 6 specialist agents (perf/scale, reliability, security, ops/DX, data/deps + Codex cross-review). Agents debate risks, fragile spots, improvements for audits/refactors.
How this skill is triggered — by the user, by Claude, or both
Slash command
/arch-review:arch-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
6 つの専門エージェントがコードベースを多角的に分析し、議論を通じてリスクと改善点を洗い出す。
6 つの専門エージェントがコードベースを多角的に分析し、議論を通じてリスクと改善点を洗い出す。
Step 1: ヒアリング(対象ディレクトリ・重点観点の確認)
Step 2: コードベース偵察(リーダーがプロジェクト構造を把握)
Step 3: チーム起動 & 並列分析(Round 1 - 6体が独立に分析)
Step 4: クロスレビュー議論(Round 2-3 - 反論・補足・合意形成)
Step 5: レポート統合 & 出力
Step 6: クリーンアップ
以下を確認する(不明ならユーザーに質問):
リーダー(メインの Claude)がプロジェクト構造を走査する:
ls でトップレベル構造を確認package.json, tsconfig.json, Cargo.toml, go.mod 等の設定ファイルを Readプロジェクトコンテキスト:
- プロジェクト名: {name}
- 言語/フレームワーク: {tech stack}
- ディレクトリ構成: {tree overview}
- 主要エントリポイント: {paths}
- 設定ファイル: {paths}
- テストの有無: {yes/no, framework}
- 特記事項: {CLAUDE.md や README から得た情報}
TeamCreate で arch-review チームを作成。6 体のエージェントを 1 つのメッセージで並列に TaskCreate で起動する。
| # | name | 担当 | subagent_type | 分析対象 |
|---|---|---|---|---|
| 1 | perf-scale-analyst | パフォーマンス + スケーラビリティ | arch-review:perf-scale-analyst | ボトルネック、レイテンシ、密結合、スケール限界 |
| 2 | reliability-analyst | 信頼性 + デグレ耐性 | arch-review:reliability-analyst | テスト不足、型安全性、壊れやすい箇所、エラーハンドリング |
| 3 | security-analyst | セキュリティ | arch-review:security-analyst | インジェクション、認証/認可、機密情報、入力検証 |
| 4 | ops-dx-analyst | 運用 + DX | arch-review:ops-dx-analyst | ログ、可観測性、デバッグ性、コード規約、命名 |
| 5 | data-deps-analyst | データ整合性 + 依存関係 | arch-review:data-deps-analyst | 状態管理、キャッシュ、ライブラリ版管理、EOL 依存 |
| 6 | codex-reviewer | クロスカットレビュー | general-purpose | Codex CLI で横断分析、見落とし検出 |
TaskCreate で 8 つのタスクを作成:
perf-scale-analyst: パフォーマンス + スケーラビリティ分析(依存なし)reliability-analyst: 信頼性 + デグレ耐性分析(依存なし)security-analyst: セキュリティ分析(依存なし)ops-dx-analyst: 運用 + DX 分析(依存なし)data-deps-analyst: データ整合性 + 依存関係分析(依存なし)codex-reviewer: Codex によるクロスカット分析(依存なし)addBlockedBy: ["1","2","3","4","5","6"])addBlockedBy: ["7"])subagent_type: "arch-review:{role-name}"
team_name: "arch-review"
mode: "bypassPermissions"
run_in_background: true
subagent_type: "general-purpose"
team_name: "arch-review"
mode: "bypassPermissions"
run_in_background: true
{project-dir}/docs/.arch-review-workspace/{role-name}-findings.md全エージェントの Round 1 分析が完了したら、クロスレビューを開始する。
各エージェントに他の全 findings ファイルのパスを SendMessage で通知し、以下を指示:
全エージェントの議論が収束したら、リーダーが統合レポートを作成する。
docs/arch-review-YYYY-MM-DD.md に Write で保存rm -rf docs/.arch-review-workspace/shutdown_request を SendMessage で送信TeamDelete で arch-review チームを削除npx claudepluginhub sean-sunagaku/claude-code-plugin --plugin arch-reviewAnalyzes codebase architecture via multi-agent specialists on structure, coupling, integration, error handling, security; verifies findings, reports strengths and flaws with evidence.
Performs systematic architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports and prioritized recommendations.
Deep architectural review of a platform or product — cross-references code against claims, maps failure modes, evaluates scaling bottlenecks, and produces a decision-grade handoff document with ADRs. Use when: reviewing an existing system for scaling readiness, performing a CTO handoff, evaluating platform architecture for enterprise readiness, or auditing a codebase before a major migration. Triggers: architecture review, scaling review, platform review, CTO handoff, system audit, scaling analysis, architecture assessment, production readiness.