Decompose complex tasks, design dependency graphs
Task coordination strategies

Decompose complex tasks, design dependency graphs, and coordinate multi-agent work with proper task descriptions and workload balancing. Use this skill when breaking down work for agent teams, managing task dependencies, or monitoring…
--- name: task-coordination-strategies description: Decompose complex tasks, design dependency graphs, and coordinate multi-agent work with proper task descriptions and workload balancing. Use this skill when breaking down work for agent teams, managing task dependencies, or monitoring team progress. version: 1.0.2 --- # 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
Overview
Strategies for decomposing complex tasks into parallelizable units, designing dependency graphs, writing effective task descriptions, and monitoring workload across agent teams.
Manual install (npx, ZIP)
npx skills add wshobson/agents --skill task-coordination-strategies -g -a claude-codemkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/wshobson/agents/tar.gz/4236bb91f839 \
| tar -xz -C ~/.claude/skills --strip-components=4 agents-4236bb91f839/plugins/agent-teams/skills/task-coordination-strategiesNew-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/f0af0b6261255613e7b0/task-coordination-strategies.zip" -OutFile "$env:TEMP\task-coordination-strategies.zip"; Expand-Archive "$env:TEMP\task-coordination-strategies.zip" -DestinationPath "$HOME\.claude\skills" -ForceConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md4.6 KBreferences/2 files · 5.3 KB
Read the files here
Show the full text164 lines
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 1src/api/— Implementer 2src/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
TaskListto assess current state - Identify idle or overloaded teammates
- Use
TaskUpdateto reassign tasks - Use
SendMessageto notify affected teammates - Monitor for improved throughput
| 1 | |
| 2 | name task-coordination-strategies |
| 3 | description Decompose complex tasks, design dependency graphs, and coordinate multi-agent work with proper task descriptions and workload balancing. Use this skill when breaking down work for agent teams, managing task dependencies, or monitoring team progress. |
| 4 | version 1.0.2 |
| 5 | |
| 6 | |
| 7 | # Task Coordination Strategies |
| 8 | |
| 9 | Strategies for decomposing complex tasks into parallelizable units, designing dependency graphs, writing effective task descriptions, and monitoring workload across agent teams. |
| 10 | |
| 11 | ## When to Use This Skill |
| 12 | |
| 13 | Breaking down a complex task for parallel execution |
| 14 | Designing task dependency relationships (blockedBy/blocks) |
| 15 | Writing task descriptions with clear acceptance criteria |
| 16 | Monitoring and rebalancing workload across teammates |
| 17 | Identifying the critical path in a multi-task workflow |
| 18 | |
| 19 | ## Task Decomposition Strategies |
| 20 | |
| 21 | ### By Layer |
| 22 | |
| 23 | Split work by architectural layer: |
| 24 | |
| 25 | Frontend components |
| 26 | Backend API endpoints |
| 27 | Database migrations/models |
| 28 | Test suites |
| 29 | |
| 30 | **Best for**: Full-stack features, vertical slices |
| 31 | |
| 32 | ### By Component |
| 33 | |
| 34 | Split work by functional component: |
| 35 | |
| 36 | Authentication module |
| 37 | User profile module |
| 38 | Notification module |
| 39 | |
| 40 | **Best for**: Microservices, modular architectures |
| 41 | |
| 42 | ### By Concern |
| 43 | |
| 44 | Split work by cross-cutting concern: |
| 45 | |
| 46 | Security review |
| 47 | Performance review |
| 48 | Architecture review |
| 49 | |
| 50 | **Best for**: Code reviews, audits |
| 51 | |
| 52 | ### By File Ownership |
| 53 | |
| 54 | Split work by file/directory boundaries: |
| 55 | |
| 56 | `src/components/` — Implementer 1 |
| 57 | `src/api/` — Implementer 2 |
| 58 | `src/utils/` — Implementer 3 |
| 59 | |
| 60 | **Best for**: Parallel implementation, conflict avoidance |
| 61 | |
| 62 | ## Dependency Graph Design |
| 63 | |
| 64 | ### Principles |
| 65 | |
| 66 | **Minimize chain depth** — Prefer wide, shallow graphs over deep chains |
| 67 | **Identify the critical path** — The longest chain determines minimum completion time |
| 68 | **Use blockedBy sparingly** — Only add dependencies that are truly required |
| 69 | **Avoid circular dependencies** — Task A blocks B blocks A is a deadlock |
| 70 | |
| 71 | ### Patterns |
| 72 | |
| 73 | **Independent (Best parallelism)**: |
| 74 | |
| 75 | |
| 76 | Task A ─┐ |
| 77 | Task B ─┼─→ Integration |
| 78 | Task C ─┘ |
| 79 | |
| 80 | |
| 81 | **Sequential (Necessary dependencies)**: |
| 82 | |
| 83 | |
| 84 | Task A → Task B → Task C |
| 85 | |
| 86 | |
| 87 | **Diamond (Mixed)**: |
| 88 | |
| 89 | |
| 90 | ┌→ Task B ─┐ |
| 91 | Task A ─┤ ├→ Task D |
| 92 | └→ Task C ─┘ |
| 93 | |
| 94 | |
| 95 | ### Using blockedBy/blocks |
| 96 | |
| 97 | |
| 98 | TaskCreate: { subject: "Build API endpoints" } → Task #1 |
| 99 | TaskCreate: { subject: "Build frontend components" } → Task #2 |
| 100 | TaskCreate: { subject: "Integration testing" } → Task #3 |
| 101 | TaskUpdate: { taskId: "3", addBlockedBy: ["1", "2"] } → #3 waits for #1 and #2 |
| 102 | |
| 103 | |
| 104 | ## Task Description Best Practices |
| 105 | |
| 106 | Every task should include: |
| 107 | |
| 108 | **Objective** — What needs to be accomplished (1-2 sentences) |
| 109 | **Owned Files** — Explicit list of files/directories this teammate may modify |
| 110 | **Requirements** — Specific deliverables or behaviors expected |
| 111 | **Interface Contracts** — How this work connects to other teammates' work |
| 112 | **Acceptance Criteria** — How to verify the task is done correctly |
| 113 | **Scope Boundaries** — What is explicitly out of scope |
| 114 | |
| 115 | ### Template |
| 116 | |
| 117 | |
| 118 | ## Objective |
| 119 | Build the user authentication API endpoints. |
| 120 | |
| 121 | ## Owned Files |
| 122 | - src/api/auth.ts |
| 123 | - src/api/middleware/auth-middleware.ts |
| 124 | - src/types/auth.ts (shared — read only, do not modify) |
| 125 | |
| 126 | ## Requirements |
| 127 | - POST /api/login — accepts email/password, returns JWT |
| 128 | - POST /api/register — creates new user, returns JWT |
| 129 | - GET /api/me — returns current user profile (requires auth) |
| 130 | |
| 131 | ## Interface Contract |
| 132 | - Import User type from src/types/auth.ts (owned by implementer-1) |
| 133 | - Export AuthResponse type for frontend consumption |
| 134 | |
| 135 | ## Acceptance Criteria |
| 136 | - All endpoints return proper HTTP status codes |
| 137 | - JWT tokens expire after 24 hours |
| 138 | - Passwords are hashed with bcrypt |
| 139 | |
| 140 | ## Out of Scope |
| 141 | - OAuth/social login |
| 142 | - Password reset flow |
| 143 | - Rate limiting |
| 144 | |
| 145 | |
| 146 | ## Workload Monitoring |
| 147 | |
| 148 | ### Indicators of Imbalance |
| 149 | |
| 150 | | Signal | Meaning | Action | |
| 151 | | -------------------------- | ------------------- | --------------------------- | |
| 152 | | Teammate idle, others busy | Uneven distribution | Reassign pending tasks | |
| 153 | | Teammate stuck on one task | Possible blocker | Check in, offer help | |
| 154 | | All tasks blocked | Dependency issue | Resolve critical path first | |
| 155 | | One teammate has 3x others | Overloaded | Split tasks or reassign | |
| 156 | |
| 157 | ### Rebalancing Steps |
| 158 | |
| 159 | Call `TaskList` to assess current state |
| 160 | Identify idle or overloaded teammates |
| 161 | Use `TaskUpdate` to reassign tasks |
| 162 | Use `SendMessage` to notify affected teammates |
| 163 | Monitor for improved throughput |
| 164 |
Details
- Version
- 1.0.2
- Updated
- Sep 21, 2026
- License
- MIT
- Stars on the repo
- ★ 39,857
- Checked
- Source
- wshobson/agents ↗
- Creator
- wshobson · 179 listings
Similar skills
See all →
SkillGuides stable API and interface design
MCPPulls up-to-date, version-specific library docsContext7
SkillFetch up-to-date documentation and code examples for anyContext7 Documentation Lookup
SkillHow to use the Adaptyv Bio Foundry API and Python SDK
SkillMaster C/.NET backend development patterns for building
SkillGuides the usage of Gemini Interactions API on GeminiGemini Interactions API SkillMore from wshobson
SkillMaster C/.NET backend development patterns for building
SkillImplement WCAG 2.2 compliant interfaces with mobileAccessibility compliance
SkillMaster Material Design 3 and Jetpack Compose patternsAndroid Mobile Design
SkillMigrate from AngularJS to Angular using hybrid modeAngular migration
SkillUnderstand anti-reversing, obfuscationAnti reversing techniques
SkillBuild production Apache Airflow DAGs with best practicesApache Airflow DAG Patterns