Agent Team Dev 标志

Agent Team Dev

社区
YuxiaoWang-520
agent-team-dev

使用精简的子智能体团队(最多 4 个子智能体),通过明确的角色分工和严格的质量门槛来协调编码任务。适用于需要并行设计、实现、测试和审查交接的任务;正确性优先,其次是效率,最后是 Token 优化。

Add to TypingMind

概览

发布者YuxiaoWang-520
代码仓库harness-craft
技能名称agent-team-dev
星标数
73
复刻数
5
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 YuxiaoWang-520 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Agent Team Dev AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/YuxiaoWang-520/harness-craft/tree/main/skills/agent-team-dev
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/YuxiaoWang-520/harness-craft.git /tmp/harness-craft
mkdir -p .claude/skills
cp -r /tmp/harness-craft/skills/agent-team-dev .claude/skills/agent-team-dev
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Agent Team Dev,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Agent Team Dev。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Agent Team Dev 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Agent Team Dev

Run coding as a compact accountable team: one Team Lead in main thread, plus up to 4 sub-agents.

Priority order for all decisions:

  1. Correctness and requirement fulfillment.
  2. Execution efficiency and cycle time.
  3. Token/cost optimization (only when it does not reduce 1 or 2).

Team Topology

Keep the main thread as Team Lead. Add up to 4 sub-agents from the roles below.

RoleAgent TypeOwnershipOutput
Team Lead (main thread)n/aTask contract, delegation plan, integration, final verificationIntegrated solution and final report
Solution ArchitectexplorerRead-only analysisDesign brief, file impact map, execution plan
Feature EngineerworkerProduction code files onlyMinimal patch implementing behavior
Test EngineerworkerTests, fixtures, test config onlyFailing-then-passing tests and test notes
Reviewer/VerifierexplorerRead-only reviewRisk-ranked findings and release recommendation

Real-World Problems This Skill Solves

  • Scope drift across agents: fix with task contract + explicit non-goals.
  • Merge conflicts from overlapping edits: fix with disjoint file ownership.
  • Quality regressions from rushed parallel work: fix with staged verification and independent review.
  • Slow progress from over-delegation: fix with mode-based staffing and round limits.
  • Unnecessary token waste from repeated analysis: fix with one canonical architecture brief and short delta updates.

Activation Checklist

  1. Write a task contract before delegation.
  2. Choose the collaboration mode that best protects correctness for current risk.
  3. Assign disjoint file ownership per sub-agent.
  4. Define stop conditions (round cap, no-op cutoff, escalation triggers).
  5. Spawn only sidecar work in parallel; keep immediate blockers in main thread.
  6. Enforce quality gates before final delivery.

Task Contract Format

Create this in the main thread first:

markdown
Objective:
Non-goals:
Constraints:
Definition of done:
Target files/modules:
Verification commands:
Risk level: low | medium | high
Collaboration mode:
Round cap:
Output budget:

Collaboration Modes (Token-Aware)

  • Mode A: Fast Patch (0-1 sub-agents): small low-risk change, clear implementation path.
  • Mode B: Build + Test (2 sub-agents): behavior + tests can run in parallel.
  • Mode C: Full Safety (3-4 sub-agents): high-risk change needs architecture and independent review.
  • Prefer the smallest mode that still protects correctness.
  • Escalate mode immediately when correctness risk is non-trivial.
  • Never exceed 4 active sub-agents.

Delegation Protocol

Send every sub-agent a scoped work packet:

markdown
Role:
Objective:
Owned files/directories:
Do not edit:
Inputs:
Deliverables:
Validation to run:
Output budget:

For all worker roles, include this sentence:

text
You are not alone in the codebase. Do not revert edits you did not make; adapt to existing changes.

Output Contract (Keep Responses Compact)

  • Solution Architect: <=12 bullets, include file impact map and top 3 risks only.
  • Feature Engineer: changed file list + <=8 bullets + commands run.
  • Test Engineer: changed test list + covered scenarios + pass/fail.
  • Reviewer/Verifier: findings by severity, max 10 items total, include file references.
  • Keep reports concise, but include all details required to validate correctness.

Execution Sequence

  1. Run architecture pass (if needed) with Solution Architect.
  2. Run Feature Engineer and Test Engineer in parallel with non-overlapping write scopes.
  3. Integrate patches in main thread and resolve conflicts centrally.
  4. Run Reviewer/Verifier after integration for an independent pass.
  5. Execute verification commands in main thread and close unresolved findings.
  6. Stop when quality gates pass or escalate if blocked.

Round policy:

  • Default round cap: 2 delegation rounds.
  • Allow a 3rd round only for unresolved high-severity issues.
  • If two consecutive sub-agent turns produce no actionable delta, stop delegating and continue in main thread.
  • Override round caps whenever additional iteration is required to satisfy quality gates.

Boundary Enforcement

  • Enforce file-level ownership before spawn and before merge.
  • Reject and re-scope any patch that edits files outside ownership.
  • Keep integration centralized in Team Lead; sub-agents do not self-merge each other.
  • Use Do not edit paths for shared infrastructure files unless explicitly assigned.

Quality Gates

Do not mark complete until all gates pass:

  1. Behavior gate: implementation satisfies task contract.
  2. Test gate: relevant tests pass; new behavior has coverage.
  3. Regression gate: no unrelated breakage in touched flows.
  4. Review gate: Reviewer/Verifier has no unaddressed high-severity findings.
  5. Evidence gate: final report includes changed files, commands run, and residual risks.

Token and Throughput Guardrails

  • These guardrails are secondary to correctness and required validation.
  • Reuse prior artifacts; do not ask multiple agents to rediscover the same context.
  • Use delta-first handoffs: only what changed since last checkpoint.
  • Prefer one strong scoped prompt over multiple iterative clarifications.
  • Use wait_agent only when the main thread is blocked on that output.
  • Reuse existing sub-agent threads for follow-ups; avoid unnecessary respawns.
  • Close idle agents once their output is integrated.
  • Skip architecture/review roles on trivial low-risk edits where they add no value.

Escalation Rules

  • Escalate to user only for missing credentials, destructive irreversible operations, legal/policy risk, or contradictory requirements.
  • If assumptions are needed, choose the safest reversible option and document it.
  • If sub-agent outputs conflict, Team Lead reconciles and keeps a single source of truth in main thread.

Anti-Patterns

  • Do not let multiple sub-agents edit the same files unless explicitly planned.
  • Do not parallelize tasks when the second task depends on the first task's result.
  • Do not skip independent review on high-risk changes.
  • Do not keep agents running without clear ownership or pending work.
  • Do not request full restatements of repo context in every handoff.

Reference

Read references/operating-contract.md for role-specific prompt templates, severity rubric, and a full runbook.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Agent Team Dev AI 技能有什么作用?

使用精简的子智能体团队(最多 4 个子智能体),通过明确的角色分工和严格的质量门槛来协调编码任务。适用于需要并行设计、实现、测试和审查交接的任务;正确性优先,其次是效率,最后是 Token 优化。

为什么在 TypingMind 中使用 Agent Team Dev?

因为您只需安装一次,就能搭配任何模型使用。Agent Team Dev 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Agent Team Dev?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/YuxiaoWang-520/harness-craft/tree/main/skills/agent-team-dev。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Agent Team Dev?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Agent Team Dev 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Agent Team Dev 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Agent Team Dev AI 技能免费吗?

YuxiaoWang-520 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇