task-coordination-strategies
π―SkillA guide for splitting a big coding job into smaller tasks that a team of AI agents can work on at the same time. It covers which tasks must wait for others, how to write clear task notes, and how to keep the work evenly shared.
Installation
npx skills add wshobson/agents --skill task-coordination-strategiesRun it in a terminal; it asks which AI coding tools to install it for (Claude Code, Codex, Cursor and more).
Uses skills.sh Β· Node.js 22.20+
After installing
Ask for related work and the agent uses it on its own, or call it yourself.
/task-coordination-strategiesInstall by hand
Copy the whole skill folder from GitHub to the place below. Copying only SKILL.md can leave out files the skill uses.
Open the skill folder β- This project
.claude/skills/task-coordination-strategies/ - All projects
~/.claude/skills/task-coordination-strategies/
These paths are for Claude Code. For other tools, the command above puts it in the right place.
What this skill does
Overview
This skill helps you plan work for a team of AI agents. It shows how to break a large job into smaller tasks that can run side by side. It also explains how to set the order when one task must wait for another.
Key Features
- Split work by app layer, by feature, by type of review, or by which files each agent owns.
- Mark which tasks must wait for others, using a simple "blocked by" link between tasks.
- Find the longest chain of waiting tasks, which decides how soon everything can finish.
- Write each task with a goal, owned files, requirements, a "done when" check, and what is out of scope.
- Spot agents that are idle or overloaded and move tasks between them.
Who is this for?
This is for people who run several AI agents together on one project. It is useful when a feature is too big for one agent. It also helps when agents keep editing the same files or waiting on each other.
Summarized by AI from this skill's SKILL.md. Suggest a better one
SKILL.md
View on GitHub β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.
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
More from this repository10
Helps you build a consistent look for your app with Tailwind CSS v4. It sets up shared colors, sizes, dark mode and reusable components so every screen matches.
A guide to TypeScript's advanced type features, which describe the shape of your data so mistakes are caught before the code runs. It covers reusable types, types that change based on rules, and built-in helper types, with short examples.
Guidance for building reliable server-side apps with Node.js, using Express or Fastify. It covers login, error handling, databases, API design and a list of proven best practices.
Intelligent automation and multi-agent orchestration for Claude Code
Claude Code plugin for AI-powered framework migration workflows, coordinating specialized agents to plan and execute transitions between technology stacks as part of the wshobson/agents marketplace.
A Claude Code plugin for payment system integration covering Stripe, PayPal, and billing platforms with checkout flows, subscription management, and webhook handling in the wshobson/agents ecosystem.
A Claude Code plugin bundling core development tools and agents for everyday tasks like debugging and code generation, part of the wshobson/agents marketplace with 73 focused plugins.
Claude Code plugin for observability and monitoring including logging, metrics, distributed tracing, and alerting, part of the wshobson/agents marketplace with 73 focused plugins.
A Claude Code plugin providing specialized AI agents for deployment strategy planning and execution, covering blue-green deployments, canary releases, rolling updates, and zero-downtime patterns.
Claude Code plugin for JVM language development including Java, Kotlin, and Scala with specialized agents for idiomatic patterns, build tools, and runtime optimization in the wshobson/agents marketplace.