task-coordination-strategies by wshobson/agents
npx skills add https://github.com/wshobson/agents --skill task-coordination-strategies将复杂任务分解为可并行单元、设计依赖关系图、编写有效任务描述以及监控智能体团队工作负载的策略。
按架构层拆分工作:
最适用于:全栈功能、垂直切片
按功能组件拆分工作:
最适用于:微服务、模块化架构
按横切关注点拆分工作:
最适用于:代码审查、审计
按文件/目录边界拆分工作:
src/components/ — 实现者 1src/api/ — 实现者 2广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
src/utils/ — 实现者 3最适用于:并行实现、避免冲突
独立(最佳并行性):
Task A ─┐
Task B ─┼─→ Integration
Task C ─┘
顺序(必要依赖关系):
Task A → Task B → Task C
菱形(混合):
┌→ Task B ─┐
Task A ─┤ ├→ Task D
└→ Task C ─┘
TaskCreate: { subject: "Build API endpoints" } → Task #1
TaskCreate: { subject: "Build frontend components" } → Task #2
TaskCreate: { subject: "Integration testing" } → Task #3
TaskUpdate: { taskId: "3", addBlockedBy: ["1", "2"] } → #3 waits for #1 and #2
每个任务应包含:
## Objective
Build the user authentication API endpoints.
## Owned Files
- src/api/auth.ts
- src/api/middleware/auth-middleware.ts
- src/types/auth.ts (shared — read only, do not modify)
## Requirements
- POST /api/login — accepts email/password, returns JWT
- POST /api/register — creates new user, returns JWT
- GET /api/me — returns current user profile (requires auth)
## Interface Contract
- Import User type from src/types/auth.ts (owned by implementer-1)
- Export AuthResponse type for frontend consumption
## Acceptance Criteria
- All endpoints return proper HTTP status codes
- JWT tokens expire after 24 hours
- Passwords are hashed with bcrypt
## Out of Scope
- OAuth/social login
- Password reset flow
- Rate limiting
| 信号 | 含义 | 应对措施 |
|---|---|---|
| 团队成员空闲,其他人忙碌 | 分配不均 | 重新分配待处理任务 |
| 团队成员卡在单个任务上 | 可能存在阻塞 | 检查并提供帮助 |
| 所有任务被阻塞 | 依赖关系问题 | 首先解决关键路径 |
| 一个团队成员的任务量是其他人的 3 倍 | 过载 | 拆分任务或重新分配 |
TaskList 评估当前状态TaskUpdate 重新分配任务SendMessage 通知受影响的团队成员每周安装量
2.4K
代码仓库
GitHub 星标数
32.2K
首次出现
Feb 5, 2026
安全审计
安装于
gemini-cli2.0K
opencode2.0K
codex1.9K
claude-code1.9K
cursor1.8K
github-copilot1.8K
Strategies for decomposing complex tasks into parallelizable units, designing dependency graphs, writing effective task descriptions, and monitoring workload across agent teams.
Split work by architectural layer:
Best for : Full-stack features, vertical slices
Split work by functional component:
Best for : Microservices, modular architectures
Split work by cross-cutting concern:
Best for : Code reviews, audits
Split work by file/directory boundaries:
src/components/ — Implementer 1src/api/ — Implementer 2src/utils/ — Implementer 3Best for : Parallel implementation, conflict avoidance
Independent (Best parallelism) :
Task A ─┐
Task B ─┼─→ Integration
Task C ─┘
Sequential (Necessary dependencies) :
Task A → Task B → Task C
Diamond (Mixed) :
┌→ Task B ─┐
Task A ─┤ ├→ Task D
└→ Task C ─┘
TaskCreate: { subject: "Build API endpoints" } → Task #1
TaskCreate: { subject: "Build frontend components" } → Task #2
TaskCreate: { subject: "Integration testing" } → Task #3
TaskUpdate: { taskId: "3", addBlockedBy: ["1", "2"] } → #3 waits for #1 and #2
Every task should include:
## Objective
Build the user authentication API endpoints.
## Owned Files
- src/api/auth.ts
- src/api/middleware/auth-middleware.ts
- src/types/auth.ts (shared — read only, do not modify)
## Requirements
- POST /api/login — accepts email/password, returns JWT
- POST /api/register — creates new user, returns JWT
- GET /api/me — returns current user profile (requires auth)
## Interface Contract
- Import User type from src/types/auth.ts (owned by implementer-1)
- Export AuthResponse type for frontend consumption
## Acceptance Criteria
- All endpoints return proper HTTP status codes
- JWT tokens expire after 24 hours
- Passwords are hashed with bcrypt
## Out of Scope
- OAuth/social login
- Password reset flow
- Rate limiting
| Signal | Meaning | Action |
|---|---|---|
| Teammate idle, others busy | Uneven distribution | Reassign pending tasks |
| Teammate stuck on one task | Possible blocker | Check in, offer help |
| All tasks blocked | Dependency issue | Resolve critical path first |
| One teammate has 3x others | Overloaded | Split tasks or reassign |
TaskList to assess current stateTaskUpdate to reassign tasksSendMessage to notify affected teammatesWeekly Installs
2.4K
Repository
GitHub Stars
32.2K
First Seen
Feb 5, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli2.0K
opencode2.0K
codex1.9K
claude-code1.9K
cursor1.8K
github-copilot1.8K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
App Store Connect CLI 发布流程指南:asc-release-flow 技能详解与自动化提交
1,200 周安装
App Store Connect 提交健康检查指南 - 减少审核失败,监控应用状态
1,200 周安装
Xcode构建与导出指南:使用asc-xcode-build自动化iOS/macOS应用上传App Store
1,200 周安装
AI事实核查工具 - 专业级信息验证助手 | 识别虚假信息,评估证据可信度
1,200 周安装
i18n国际化与本地化最佳实践指南:React、Next.js、Python多语言开发
1,200 周安装
Nest.js专家:企业级Node.js应用架构、依赖注入、测试与数据库集成解决方案
1,200 周安装