Chuyển đến nội dung
Skillpedia
Công việc và dự án41k · #6632

team-composition-patterns

Skill này làm gì

Công cụ này giúp bạn lập nhóm trợ lý AI tốt nhất cho một tác vụ. Nó gợi ý số lượng trợ lý nên dùng và loại nào phù hợp nhất với công việc, như rà soát mã, gỡ lỗi hoặc tạo tính năng mới.

Khi nào nên dùng

  • ✓Khi quyết định cần bao nhiêu trợ lý cho một tác vụ.
  • ✓Khi chọn giữa các loại nhóm được định sẵn (rà soát, gỡ lỗi, tính năng).
  • ✓Khi chọn đúng loại trợ lý cho từng vai trò, đảm bảo họ có đủ công cụ cần thiết.

Liên kết skill

https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/team-composition-patterns/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/team-composition-patterns/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi cần tạo một tính năng mới gồm cả front-end và back-end. Tôi nên lập nhóm loại nào?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các quy tắc đơn giản dựa trên độ phức tạp của tác vụ để gợi ý quy mô nhóm. Nó cũng cung cấp các cấu hình sẵn cho các loại công việc phổ biến và hướng dẫn chọn loại trợ lý (với các công cụ cụ thể) cho từng vai trò.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

…

Câu hỏi thường gặp

“Team sizing heuristics” là gì?

Đây là các quy tắc thực tế để quyết định số lượng trợ lý. Ví dụ, tác vụ đơn giản có thể cần 1-2 trợ lý, còn tác vụ rất phức tạp có thể cần 4-5.

“Preset team compositions” là gì?

Đây là các mẫu nhóm được lắp sẵn cho các tác vụ phổ biến, như “Review Team” để rà soát mã hoặc “Debug Team” để tìm lỗi.

Vì sao cần chọn đúng “agent type”?

Mỗi loại trợ lý có các công cụ khác nhau. Chọn đúng loại đảm bảo trợ lý có đủ quyền và công cụ để làm vai trò của mình, như viết mã hoặc chỉ đọc thông tin.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6632
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự