subagent-orchestration
並行協調多個 AI 子代理
管理多個 AI 子代理可能導致衝突的變更和範圍蔓延。此技能提供結構化指引,用於編排具有明確邊界、檔案範圍和任務隔離的並行代理工作流程。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“subagent-orchestration”。 orchestrate agents: Review authentication flow and review recent changes
预期结果:
- 建議:並行子代理執行
- 代理 1 範圍:探索 auth/ 目錄中的身份驗證流程
- 代理 2 範圍:審查 src/auth/、tests/auth/ 中的近期身份驗證變更
- 不得觸碰的檔案:src/payment/、src/user/
正在使用“subagent-orchestration”。 launch multiple agents in parallel: Analyze API structure and review database schema
预期结果:
- 建議對獨立任務進行並行執行
- 代理 1 範圍:分析 src/api/ 中的 API 結構,包括路由、控制器
- 代理 2 範圍:審查 db/、models/ 目錄中的資料庫架構
- 不得觸碰的檔案:src/ui/、tests/e2e/
正在使用“subagent-orchestration”。 coordinate subagents: Refactor authentication module with frontend updates
预期结果:
- 建議順序執行 - 任務具有相依性
- 代理 1 應首先執行:重構 src/auth/ 中的身份驗證模組
- 代理 1 完成後:在 src/ui/auth/ 中套用前端更新
- 代理 1 期間不得觸碰的檔案:src/ui/、tests/
安全审计
安全This skill is a pure documentation resource containing only markdown guidelines for coordinating subagent workflows. No code execution, network access, file operations, or external command capabilities exist. All 28 static findings are false positives caused by pattern matching on benign text like 'orchestrate' and workflow terminology. This is not executable code.
风险因素
🌐 网络访问 (1)
⚙️ 外部命令 (1)
质量评分
你能构建什么
並行程式碼審查
執行多個子代理以同時審查程式碼庫的不同模組
獨立功能開發
協調子代理在不發生衝突的情況下開發獨立功能
分散式分析
並行分析不同的系統元件以做出架構決策
试试这些提示
orchestrate agents: Task: [description]. Files to modify: [list]. Files NOT to touch: [list]. Constraints: [rules].
launch multiple agents in parallel: Agent 1: Task [A], modify [files], don't touch [files]. Agent 2: Task [B], modify [files], don't touch [files].
coordinate subagents: Task [X]. Reference docs: [@file1, @file2]. Files: [modify], [exclude]. Constraints: [requirements].
orchestrate agents with scope: Task [name]. Files to modify: [exact paths]. Files NOT to touch: [specific exclusions]. Business rules: [list]. Technical requirements: [list]. Reference: [@docs].
最佳实践
- 始終為每個子代理定義明確的檔案邊界
- 指定不得觸碰的檔案以防止意外修改
- 使用 @file 引用為子代理提供相關上下文
避免
- 模糊的檔案規格,例如「更新相關檔案」
- 缺少排除項目,允許子代理修改不相關的程式碼
- 偽裝成並行任務的順序相依性