Team agent orchestration

From aaione/everything-claude-code-zh · View interactive version

Team agent orchestration is an AI agent skill from the GitHub repository aaione/everything-claude-code-zh. 使用 work items、ownership、agent Kanban、merge gates 和 control pane handoffs 运行团队式智能体编排。

How to use this skill

Skill file

Team Agent Orchestration

当智能体像团队而不是单个助手一样被管理时,使用此技能。目标是让团队式编排可靠:清晰 work items、明确 ownership、agent Kanban 状态、branch 隔离、control pane 可见性和 merge gates。

何时激活

运行模型

把每个智能体当成有窄合同的队友:

Agent Kanban

当工作必须跨会话可见时,使用 agent Kanban。

| 列 | 含义 | 退出标准 |

| --- | --- | --- |

| Backlog | 候选 work item,尚未成形 | 已写 acceptance criteria |

| Ready | 已成形,可分配 | 已分配 owner 和 branch/worktree |

| Running | 智能体正在工作 | 存在 handoff artifact 和 changed files |

| Review | 工作完成但未合并 | tests、diff review 和 risk check 通过 |

| Blocked | 需要外部输入或 gate 失败 | blocker 有 owner 和 next action |

| Merged | 已集成到 mainline | PR merged 或本地 main 已更新 |

| Archived | 不再相关 | 已记录原因 |

每张卡片应符合此 schema:

{
  "id": "agent-card-001",
  "title": "Build dynamic workflow skill",
  "owner": "codex",
  "state": "running",
  "branch": "product/dynamic-workflow-team-orchestration",
  "worktree": ".",
  "acceptance": [
    "Skill exists",
    "Tests cover required concepts",
    "Content artifact contains video and article angles"
  ],
  "merge_gate": "lint, focused tests, and catalog check pass",
  "handoff": "path/to/handoff.md"
}

团队式编排流程

  1. Shape the board:把模糊目标转成带 owner 和 merge gates 的 work items。
  2. Pick execution mode:选择 single-agent、dynamic workflow mode、dmux/tmux、worktree fan-out 或外部 desktop orchestrator。
  3. Assign boundaries:每张卡一个 owner,文件范围清楚;没有 integrator 时避免重叠写入。
  4. Run agents:每个智能体写 evidence 和 handoff notes,而不只是代码。
  5. Review in sequence:先 tests,再 diff review,再 security/risk checks,最后 content/product polish。
  6. Merge deliberately:由一个 integrator 解决冲突并更新 control pane 或 status artifact。
  7. Extract reusable skill:如果卡片模式重复,把它提升到 skills/。

Control Pane 要求

有用的团队编排 control pane 应显示:

在操作者能回答这些问题前,不要增加更多自动化:谁拥有它、改了什么、哪个 gate 失败、什么能安全合并?

Dynamic Workflow 兼容性

当卡片需要 dynamic workflow mode:

需要警惕的失败模式

输出标准

每次编排 pass 结束时包含:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.