Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

building-agent-team-prompts建筑 Agent 团队提示

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

1,224

周安装

51

GitHub Stars

1

下载量

408
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:building-agent-team-prompts(建筑 Agent 团队提示)
来源仓库:https://github.com/frontboat/agent-teams
仓库路径:skills/building-agent-team-prompts
安装命令:
npx skills add https://github.com/frontboat/agent-teams --skill building-agent-team-prompts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/frontboat/agent-teams --skill building-agent-team-prompts

简介

building-agent-team-prompts 专注于 Agent 团队提示词的结构化设计与协作规范。

  • 强调每个 Agent 必须自包含上下文,明确分工、沟通机制与完成条件。
  • 适用于多工作流并行、交叉验证或复杂任务拆解场景下的团队协作。
  • 需避免将示例当作硬性规则,始终保留真实业务约束与失败回退策略。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Building Agent Team Prompts

Overview

Agent team prompts must be self-contained — teammates don't inherit your conversation history. Every piece of context a teammate needs must be in their spawn prompt or discoverable from the codebase.

Core principle: A good agent team prompt specifies WHO does WHAT on WHICH files, HOW they communicate, and WHEN they're done.

Before You Build the Prompt

Verify the task actually benefits from an agent team:

  • Multiple independent workstreams (review, research, non-overlapping implementation)
  • Competing hypotheses that benefit from parallel investigation
  • Cross-layer work where each layer is independently ownable

Don't use agent teams for: sequential tasks, work concentrated in a few files, or simple tasks where coordination overhead exceeds benefit. Use subagents or a single session instead.

Prompt Template

Every agent team prompt should cover these sections. Skip sections that don't apply.

1. Goal

One sentence: what is the team trying to accomplish?

2. Team Composition

For each teammate:

  • Name: descriptive, kebab-case (security-reviewer, backend-impl)
  • Role: one sentence describing their focus
  • Model: sonnet for routine/research tasks, opus for complex reasoning. Default to sonnet unless the task demands deep analysis.

Right-sizing: Prefer fewer teammates with more tasks over many single-task teammates. A team of 3 with 5 tasks each beats a team of 6 with 2 each. Only spawn a teammate when the work genuinely benefits from a separate context window.

Heuristic: Before spawning, estimate the work per teammate. If a teammate would have fewer than 3 tasks or less than 15 minutes of work, merge their responsibilities into another teammate's role instead.

3. Teammate Spawn Prompts

Each teammate gets a self-contained prompt including:

  • Full task context — what they need to know that isn't in CLAUDE.md
  • Specific instructions — what to investigate, build, or review
  • File ownership — which files/directories they own exclusively
  • Hands off — files owned by other teammates they must not modify
  • Output expectations — format, structure, where to write results

Critical: Teammates can't see your conversation. If the user explained something important earlier, include it in the spawn prompt.

Always include: Tell each teammate to check existing codebase patterns before building or reviewing. For implementation: "Before writing new code, check how similar features are implemented in the codebase and follow those patterns." For review: "Check project conventions and existing patterns to calibrate your review."

4. Task Breakdown

Define concrete tasks with:

  • Clear deliverable per task
  • Dependencies between tasks (what blocks what)
  • Assignment to a specific teammate
  • Target: 3-6 tasks per teammate

Don't just assign roles — break work into trackable tasks with the shared task list.

5. Communication Protocol

Specify when teammates should message each other:

  • Share findings: "If you discover X, message teammate-Y"
  • Cross-cutting concerns: "Flag breaking changes to all teammates"
  • Adversarial challenge: for debugging, teammates actively try to disprove each other's theories

If teammates don't need to communicate, say so explicitly — it saves tokens.

6. Coordination Settings

  • Delegate mode: Use when the lead should coordinate only, not implement. Recommended for 3+ teammates or when the lead would compete for files.
  • Plan approval: Require when teammates modify production code or make architectural decisions. Skip for read-only research/review.
  • Definition of done: State explicitly what constitutes completion.

7. Deliverables

  • What each teammate produces (with format)
  • What the lead synthesizes from teammate outputs
  • Final output (report, PR comments, implementation, etc.)

Task Type Patterns

Code Review

  • Scope reviewers by domain, not file count
  • Cross-cutting reviewers (security, testing) coordinate with domain reviewers
  • Structured output per finding: severity | file:line | description | suggestion
  • Lead synthesizes into single review summary

Feature Implementation

  • One teammate per layer (DB / API / frontend / tests)
  • Define shared interfaces explicitly — one teammate defines the API contract, others consume it
  • Require plan approval before implementation
  • Use delegate mode for the lead
  • Strict file ownership — no two teammates touch the same file

Debugging / Investigation

  • One teammate per hypothesis
  • Use adversarial structure: teammates challenge each other's theories via messages
  • Include a reproduction teammate if the bug is intermittent
  • Lead tracks which hypotheses survive scrutiny and synthesizes the conclusion

Research / Exploration

  • One teammate per research angle
  • Instruct teammates to ground findings in the actual codebase, not general knowledge
  • Define a synthesis plan: who writes the final report and in what format
  • Set scope boundaries to prevent endless research

File Ownership Rules

File conflicts are the #1 source of wasted work in agent teams.

  1. Every modified file has exactly one owner — if two teammates need it, one owns it and the other requests changes via messages
  2. Shared types/interfaces: one teammate defines them, others read only
  3. Tests: owned by whoever owns the code under test, or a dedicated test teammate who doesn't touch source
  4. Config files: one designated teammate

Quick Reference

ElementAsk yourself
Team sizeCan fewer teammates with more tasks do this?
ModelDoes this need Opus, or is Sonnet sufficient?
Delegate modeShould the lead avoid implementing? (yes for 3+)
Plan approvalAre teammates modifying production code?
CommunicationDo teammates need to share or challenge findings?
File ownershipCould two teammates touch the same file?
ScopeWhen is this team "done"?
DeliverablesWhat exactly does each teammate produce?

Common Mistakes

MistakeConsequenceFix
No file ownershipTeammates overwrite each otherAssign every modified file to one owner
Vague deliverablesInconsistent output qualitySpecify format per teammate
All teammates on Opus4x cost for Sonnet-level tasksDefault to Sonnet, upgrade selectively
No communication planSilos, missed cross-cutting insightsSpecify message triggers
Lead implements tooCompetes with teammates for filesEnable delegate mode
No scope boundaryResearch runs foreverDefine "done" explicitly
Too many teammatesCoordination overhead exceeds benefitFewer teammates, more tasks each
No plan approvalBad architectural decisions shipRequire for implementation tasks
No existing pattern checkTeammates reinvent what existsTell them to check how similar features work

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

33.16%
按下载量换算135

Codex

32.35%
按下载量换算132

Cursor

17.36%
按下载量换算71

Gemini CLI

9.15%
按下载量换算37

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/frontboat/agent-teams --skill building-agent-team-prompts 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills