team-composition-patterns
できること
このツールは、ある作業に最適なAIアシスタントのチームを組むのに役立ちます。作業の複雑さに応じて何人のアシスタントを使うべきかを提案し、コードレビュー、デバッグ、新機能の作成など、作業に適したタイプを紹介します。
使う場面
- ✓作業に必要なアシスタントの人数を決めるとき。
- ✓あらかじめ用意されたチームの種類(レビュー、デバッグ、機能開発)から選ぶとき。
- ✓各役割に適したタイプのアシスタントを選び、必要なツールを確実に持たせるとき。
スキルのリンク
https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/team-composition-patterns/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“フロントエンドとバックエンドの両方に関わる新機能を作る必要があります。どのようなチームを組めばよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは、作業の複雑さに基づいた簡単なルールで、チームの人数を提案します。また、よくある作業向けの定型のチーム構成を用意しており、各役割にどのタイプのアシスタント(必要なツール付き)を使うべきかを案内します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Team Composition Patterns
Best practices for composing multi-agent teams, selecting team sizes, choosing agent types, and configuring display modes for Claude Code's Agent Teams feature.
When to Use This Skill
- Deciding how many teammates to spawn for a task
- Choosing between preset team configurations
- Selecting the right agent type (subagent_type) for each role
- Configuring teammate display modes (tmux, iTerm2, in-process)
- Building custom team compositions for non-standard workflows
Team Sizing Heuristics
| Complexity | Team Size | When to Use |
|---|---|---|
| Simple | 1-2 | Single-dimension review, isolated bug, small feature |
| Moderate | 2-3 | Multi-file changes, 2-3 concerns, medium features |
| Complex | 3-4 | Cross-cutting concerns, large features, deep debugging |
| Very Complex | 4-5 | Full-stack features, comprehensive reviews, systemic issues |
Rule of thumb: Start with the smallest team that covers all required dimensions. Adding teammates increases coordination overhead.
Preset Team Compositions
Review Team
- Size: 3 reviewers
- Agents: 3x
team-reviewer - Default dimensions: security, performance, architecture
- Use when: Code changes need multi-dimensional quality assessment
Debug Team
- Size: 3 investigators
- Agents: 3x
team-debugger - Default hypotheses: 3 competing hypotheses
- Use when: Bug has multiple plausible root causes
Feature Team
- Size: 3 (1 lead + 2 implementers)
- Agents: 1x
team-lead+ 2xteam-implementer - Use when: Feature can be decomposed into parallel work streams
Fullstack Team
- Size: 4 (1 lead + 3 implementers)
- Agents: 1x
team-lead+ 1x frontendteam-implementer+ 1x backendteam-implementer+ 1x testteam-implementer - Use when: Feature spans frontend, backend, and test layers
Research Team
- Size: 3 researchers
- Agents: 3x
general-purpose - Default areas: Each assigned a different research question, module, or topic
- Capabilities: Codebase search (Grep, Glob, Read), web search (WebSearch, WebFetch)
- Use when: Need to understand a codebase, research libraries, compare approaches, or gather information from code and web sources in parallel
Security Team
- Size: 4 reviewers
- Agents: 4x
team-reviewer - Default dimensions: OWASP/vulnerabilities, auth/access control, dependencies/supply chain, secrets/configuration
- Use when: Comprehensive security audit covering multiple attack surfaces
Migration Team
- Size: 4 (1 lead + 2 implementers + 1 reviewer)
- Agents: 1x
team-lead+ 2xteam-implementer+ 1xteam-reviewer - Use when: Large codebase migration (framework upgrade, language port, API version bump) requiring parallel work with correctness verification
Agent Type Selection
When spawning teammates with the Agent tool, choose subagent_type based on what tools the teammate needs:
| Agent Type | Tools Available | Use For |
|---|---|---|
general-purpose |
All tools (Read, Write, Edit, Bash, etc.) | Implementation, debugging, any task requiring file changes |
Explore |
Read-only tools (Read, Grep, Glob) | Research, code exploration, analysis |
Plan |
Read-only tools | Architecture planning, task decomposition |
agent-teams:team-reviewer |
Read/search/Bash plus TaskList/TaskGet/TaskUpdate/SendMessage | Code review with structured findings |
agent-teams:team-debugger |
Read/search/Bash plus TaskList/TaskGet/TaskUpdate/SendMessage | Hypothesis-driven investigation |
agent-teams:team-implementer |
Read/Write/Edit/search/Bash plus TaskList/TaskGet/TaskUpdate/SendMessage | Building features within file ownership boundaries |
…
よくある質問
「チーム人数の目安(ヒューリスティクス)」とは何ですか?
アシスタントを何人使うかを決めるための実用的なルールのことです。例えば、簡単な作業なら1〜2人、非常に複雑な作業なら4〜5人が必要になる場合があります。
「定型のチーム構成」とは何ですか?
よくある作業のために、あらかじめ組まれたチームのテンプレートです。例えば、コードを確認する「レビューチーム」や、バグを見つける「デバッグチーム」などがあります。
なぜ適切な「エージェントの種類」を選ぶことが重要なのですか?
アシスタントの種類によって使えるツールが異なるためです。適切な種類を選ぶことで、コードを書く、情報を読むだけにとどめるなど、役割を果たすために必要な権限とツールを確実に持たせることができます。
詳細
作者による元の説明
Design optimal agent team compositions with sizing heuristics, preset configurations, and agent type selection. Use this skill when deciding how many agents to spawn for a task, when choosing between a review team versus a feature team versus a debug team, when selecting the correct subagent_type for each role to ensure agents have the tools they need, when configuring display modes (tmux, iTerm2,
repo: wshobson/agents
人気
- GitHubのスター
- 41k
- ランキング
- #6632
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
screen-reader-testing
41kエージェントにスクリーンリーダーを使ってWebサイトをテストさせ、アクセシビリティを確認します。
wcag-audit-patterns
41kエージェントがWebサイトのアクセシビリティを監査し、WCAGガイドラインに沿って問題を修正できるようにします。
multi-reviewer-patterns
41kエージェントが複数のコードレビューを並行して調整できるようにします。指摘事項の重複を排除し、レポートにまとめます。
parallel-debugging
41kエージェントが並行調査と根本原因分析を使って、複雑な問題をデバッグできるようにします。