跳到正文
Skillpedia
任务与项目41k · #6632

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/team-composition-patterns/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 + 2x team-implementer
  • Use when: Feature can be decomposed into parallel work streams

Fullstack Team

  • Size: 4 (1 lead + 3 implementers)
  • Agents: 1x team-lead + 1x frontend team-implementer + 1x backend team-implementer + 1x test team-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 + 2x team-implementer + 1x team-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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能