首页/AI 智能体编排协作/task-coordination-strategies
T

task-coordination-strategies

by @wshobsonv
4.4(23)

专注于DevOps任务协调策略,实现智能自动化与多智能体编排,优化开发运维流程和效率。

devopsworkflow-orchestrationtask-schedulingdistributed-systemsmicroservicesGitHub
安装方式
npx skills add wshobson/agents --skill task-coordination-strategies
compare_arrows

Before / After 效果对比

1
使用前

过去,任务协调全靠人工,耗时费力且容易出错。不同代理各自为政,信息不畅导致效率低下,项目进度常受阻。

使用后

现在,智能自动化实现任务无缝衔接,多代理高效协作。工作流自动化,显著提升项目交付速度,大幅减少人工干预。

SKILL.md

task-coordination-strategies

Task Coordination Strategies

Strategies for decomposing complex tasks into parallelizable units, designing dependency graphs, writing effective task descriptions, and monitoring workload across agent teams.

When to Use This Skill

  • Breaking down a complex task for parallel execution

  • Designing task dependency relationships (blockedBy/blocks)

  • Writing task descriptions with clear acceptance criteria

  • Monitoring and rebalancing workload across teammates

  • Identifying the critical path in a multi-task workflow

Task Decomposition Strategies

By Layer

Split work by architectural layer:

  • Frontend components

  • Backend API endpoints

  • Database migrations/models

  • Test suites

Best for: Full-stack features, vertical slices

By Component

Split work by functional component:

  • Authentication module

  • User profile module

  • Notification module

Best for: Microservices, modular architectures

By Concern

Split work by cross-cutting concern:

  • Security review

  • Performance review

  • Architecture review

Best for: Code reviews, audits

By File Ownership

Split work by file/directory boundaries:

  • src/components/ — Implementer 1

  • src/api/ — Implementer 2

  • src/utils/ — Implementer 3

Best for: Parallel implementation, conflict avoidance

Dependency Graph Design

Principles

  • Minimize chain depth — Prefer wide, shallow graphs over deep chains

  • Identify the critical path — The longest chain determines minimum completion time

  • Use blockedBy sparingly — Only add dependencies that are truly required

  • Avoid circular dependencies — Task A blocks B blocks A is a deadlock

Patterns

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 ─┘

Using blockedBy/blocks

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

Task Description Best Practices

Every task should include:

  • Objective — What needs to be accomplished (1-2 sentences)

  • Owned Files — Explicit list of files/directories this teammate may modify

  • Requirements — Specific deliverables or behaviors expected

  • Interface Contracts — How this work connects to other teammates' work

  • Acceptance Criteria — How to verify the task is done correctly

  • Scope Boundaries — What is explicitly out of scope

Template

## 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

Workload Monitoring

Indicators of Imbalance

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

Rebalancing Steps

  • Call TaskList to assess current state

  • Identify idle or overloaded teammates

  • Use TaskUpdate to reassign tasks

  • Use SendMessage to notify affected teammates

  • Monitor for improved throughput

Weekly Installs2.1KRepositorywshobson/agentsGitHub Stars31.5KFirst SeenFeb 5, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled ongemini-cli1.7Kopencode1.7Kcodex1.7Kclaude-code1.6Kcursor1.6Kgithub-copilot1.5K

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量5.6K
评分4.4 / 5.0
版本
更新日期2026年5月22日
对比案例1 组

用户评分

4.4(23)
5
17%
4
48%
3
30%
2
4%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月17日
最后更新2026年5月22日