task-coordination-strategies

wshobson/agents · updated Apr 8, 2026

$npx skills add https://github.com/wshobson/agents --skill task-coordination-strategies
0 commentsdiscussion
summary

Decompose complex tasks, design dependency graphs, and coordinate multi-agent work with structured task descriptions.

  • Provides four decomposition strategies: by architectural layer, functional component, cross-cutting concern, or file ownership to parallelize work effectively
  • Includes dependency graph patterns (independent, sequential, diamond) with principles for minimizing chain depth and identifying critical paths
  • Offers task description template covering objective, owned files, r
skill.md

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

  1. Minimize chain depth — Prefer wide, shallow graphs over deep chains
  2. Identify the critical path — The longest chain determines minimum completion time
  3. Use blockedBy sparingly — Only add dependencies that are truly required
  4. 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:

  1. Objective — What needs to be accomplished (1-2 sentences)
  2. Owned Files — Explicit list of files/directories this teammate may modify
  3. Requirements — Specific deliverables or behaviors expected
  4. Interface Contracts — How this work connects to other teammates' work
  5. Acceptance Criteria — How to verify the task is done correctly
  6. 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

  1. Call TaskList to assess current state
  2. Identify idle or overloaded teammates
  3. Use TaskUpdate to reassign tasks
  4. Use SendMessage to notify affected teammates
  5. Monitor for improved throughput

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.544 reviews
  • Ganesh Mohane· Dec 24, 2024

    Registry listing for task-coordination-strategies matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Shikha Mishra· Dec 20, 2024

    task-coordination-strategies is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Maya Li· Dec 16, 2024

    We added task-coordination-strategies from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Fatima Ndlovu· Dec 12, 2024

    Solid pick for teams standardizing on skills: task-coordination-strategies is focused, and the summary matches what you get after install.

  • Sakshi Patil· Nov 15, 2024

    task-coordination-strategies reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Amelia Thompson· Nov 7, 2024

    Keeps context tight: task-coordination-strategies is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Zaid Gupta· Nov 3, 2024

    task-coordination-strategies has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Chen Khanna· Oct 26, 2024

    task-coordination-strategies has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Noah Torres· Oct 22, 2024

    Keeps context tight: task-coordination-strategies is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Chaitanya Patil· Oct 6, 2024

    I recommend task-coordination-strategies for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

showing 1-10 of 44

1 / 5