Communitygithub.com

團隊代理協調

透過工作項目、所有權、代理看板、合併閘門及控制面板交接,執行基於團隊的代理協調。在需要協調代理團隊,涉及工作項目、所有權、看板與合併閘門時使用。

團隊代理協調 是什麼?

這個名為「團隊代理協調」的技能,旨在將多位 AI 代理視為一個團隊來管理,而非單一助手,以實現可靠、可擴展的多代理工作流程。它透過結構化的協調模型解決常見的混亂問題,例如「代理混戰」(多代理同時運行但缺乏明確擁有者)或「無形工作」(有用的結果僅存在於對話記錄中)。該技能定義了一套完整的營運模型,包括明確的擁有者、範圍界限、狀態管理(從待辦事項到已封存)、證據要求以及嚴格的合併閘門。此技能與 Claude Code、Codex 和 Devin 等代理平台高度相容,並透過代理看板(一種類似 Scrum 看板的視覺化管理工具)和集中式控制面板來管理跨會話的工作。工作流程從「塑形看板」開始,接著選擇執行模式(如動態工作流程、tmux/zellij 窗格或外部桌面編排器),然後進行任務分配、執行、依序審查、審慎合併,最後將可重複的模式提煉成可共用的技能。它特別適合需要多個代理、工具、分支或工作目錄協作的專案,例如大型功能開發或跨領域產品迭代。

相容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/tree/main/skills/team-agent-orchestration

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

團隊代理協調 是做什麼的?

當代理以團隊而非單一助手的形式管理時,使用此技能。目標是讓基於團隊的協調變得可靠:清晰的工作項目、明確的所有權、代理看板狀態、分支隔離、控制面板可見性以及合併閘門。

何時啟用

  • 任務涉及多個代理、工具、框架、分支或工作目錄。
  • 使用者提及團隊協調、代理看板、小隊、指揮、控制面板、經理、桌面應用程式、Zellij、tmux、Hermes、Devin、Codex、Claude Code 或多代理工作。
  • 專案需要跨人員和代理共享的工作流程狀態。
  • 現有的代理扇出模式雖有產出,但無法產生可合併的成品。

營運模式

將每個代理視為擁有狹義合約的團隊成員:

  • 擁有者:對工作項目負責的人員或代理。
  • 範圍:檔案、分支、工具使用範圍及禁止區域。
  • 狀態:待辦事項、就緒、執行中、審查中、受阻、已合併或已封存。
  • 證據:測試、螢幕截圖、日誌、審查記錄或評估報告。
  • 合併閘門:允許整合的明確條件。

代理看板

當工作需要在不同會話間可視化時,使用代理看板。

欄位含義離開條件
待辦事項未成形的工作項目候選寫好驗收標準
就緒已成形且可指派已指派擁有者與分支/工作目錄
執行中代理正在積極工作存在交接產物與已變更的檔案
審查中工作已完成但尚未合併測試、差異審查與風險檢查通過
受阻需要外部輸入或閘門失敗阻礙原因有指定擁有者與下一步行動
已合併已整合到主線PR 已合併或本地 main 已更新
已封存不再相關記錄原因

每張卡片應符合以下結構:

{
  "id": "agent-card-001",
  "title": "建立動態工作流程技能",
  "owner": "codex",
  "state": "executing",
  "branch": "product/dynamic-workflow-team-orchestration",
  "worktree": ".",
  "acceptance": [
    "技能已存在",
    "測試涵蓋所需概念",
    "內容產物包含影片和文章角度"
  ],
  "merge_gate": "lint、重點測試與目錄檢查通過",
  "handoff": "path/to/handoff.md"
}

基於團隊的協調流程

  1. 塑形看板:將模糊的構想轉化為帶有擁有者和合併閘門的工作項目。
  2. 選擇執行模式:單代理、動態工作流程模式、dmux/tmux、工作目錄扇出或外部桌面協調器。
  3. 指派範圍:每張卡片一個擁有者、明確的檔案範圍,且在沒有整合者的情況下避免重疊寫入。
  4. 運行代理:每個代理不僅產出程式碼,還要撰寫證據與交接備註。
  5. 依序審查:先測試,再進行差異審查、安全/風險檢查,最後是內容/產品打磨。
  6. 審慎合併:一位整合者解決衝突,並更新控制面板或狀態產物。
  7. 提取可重用技能:如果卡片模式重複出現,將其提升到 skills/ 目錄中。

控制面板需求

一個實用的團隊協調控制面板應顯示:

  • 活躍的工作項目及其代理看板狀態。
  • 擁有者、框架、分支、工作目錄以及最後一次心跳。
  • 交接產物、測試、螢幕截圖與 PR 的連結。
  • 依擁有者分組的阻礙項目及其解決行動。
  • 基於閘門而非感覺的合併就緒狀態。
  • 應成為共享技能的可重用工作流程候選。

在操作者能夠回答以下問題之前,不要增加更多的自動化:誰擁有這個?什麼變更了?哪個閘門失敗了?什麼可以安全地合併?

動態工作流程相容性

當一個卡片需要動態工作流程模式時:

  • 將任務層級的框架置於卡片擁有者之下。
  • 將輸入和輸出儲存在卡片上。
  • 在從執行中移至審查中之前,需要一次評估。
  • 僅在重複使用後,才將框架提升為共享技能。

需要注意的故障模式

  • 代理混戰:多個代理在運行,但沒有擁有者或合併閘門。
  • 無形工作:有用的輸出僅存在於對話記錄中。
  • 看板形式主義:有看板,但卡片沒有驗收標準。
  • 重疊寫入:平行代理在沒有工作目錄的情況下編輯相同檔案。
  • 無產品產物:流程產生了文件,但沒有可執行或可發布的成果。

輸出標準

每次協調工作完成後應產出:

  • 看板/卡片變更。
  • 已合併或待處理的分支。
  • 測試與評估證據。
  • 帶有擁有者與下一步行動的阻礙項目。
  • 新的共享技能候選。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

相關技能