task-coordination
Skill4 starsChanged 9 months agoMITView on GitHub
Patterns for using TaskCreate, TaskUpdate, TaskList, and TaskGet to coordinate multi-step work. Use when the user has a complex project with multiple steps, needs progress tracking, dependency management, or multi-agent task assignment.
In this repository78 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/claude-initial-setup.mdcCursor rule
- parallel-task-executionSkill
- subagent-patternsSkill
- agent-communicationSkill
- context-managementSkill
- multi-agent-orchestrationSkill
- deploy-strategiesSkill
- github-actions-guideSkill
- pipeline-patternsSkill
- anthropic-sdk-guideSkill
- prompt-engineeringSkill
- tool-use-patternsSkill
- automated-review-setupSkill
- pr-standardsSkill
- review-checklistSkill
- file-organizationSkill
- immutability-patternsSkill
- naming-conventionsSkill
- branching-strategySkill
- commit-conventionsSkill
- pr-workflowSkill
- migration-patternsSkill
- query-optimizationSkill
- schema-design-guideSkill
- error-tracingSkill
- log-analysisSkill
- systematic-debuggingSkill
- django-admin-customizationSkill
- django-orm-masterySkill
- drf-api-patternsSkill
- docker-compose-guideSkill
- dockerfile-best-practicesSkill
- multi-stage-buildsSkill
- express-error-handlingSkill
- middleware-patternsSkill
- rest-api-nodeSkill
- async-fastapiSkill
- dependency-injection-fastapiSkill
- pydantic-validationSkill
- concurrency-patterns-goSkill
- error-handling-goSkill
- idiomatic-goSkill
- automation-triggersSkill
- hook-recipesSkill
- pre-post-hooksSkill
- junit-testingSkill
- maven-gradle-guideSkill
- spring-boot-patternsSkill
- mcp-resource-patternsSkill
- mcp-server-creationSkill
- mcp-tool-designSkill
- context-optimizationSkill
- knowledge-persistenceSkill
- memory-patternsSkill
- caching-strategiesSkill
- lazy-loading-patternsSkill
- profiling-guideSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
Use addBlocks and addBlockedBy to express ordering constraints:
- Distinctive: line 126
Use TaskList to see overall status:
- Distinctive: line 137
Use TaskGet for full details on a specific task:
- Distinctive: line 159
After completing a task, check for newly unblocked work:
- Distinctive: line 202
Marking incomplete work as completed: Never set status to "completed" if tests fail, implementation is partial, or errors remain unresolved.
- Distinctive: line 203
Skipping TaskList after completion: Always check TaskList after completing a task.
- Distinctive: line 217
Dependencies: Use blockedBy/addBlocks to express ordering
- Distinctive: line 218
After completion: Always run TaskList to find unblocked work
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Task Coordination
The task system (TaskCreate, TaskUpdate, TaskList, TaskGet) provides structured tracking for multi-step projects. Use it to break down complex work, manage dependencies, assign owners, and track progress.
When to Use
- User has a complex feature with multiple implementation steps
- Multiple agents need coordinated work assignment
- User asks about task tracking, dependencies, or progress
- Project requires sequential phases with blocking dependencies
- User wants visibility into what is done and what remains
Core Patterns
Creating a Task Breakdown
Break complex work into discrete, actionable tasks:
TaskCreate:
subject: "Set up database schema for user profiles"
description: "Create migration files for users table with fields:
id, email, name, avatar_url, created_at, updated_at.
Use the existing migration framework in src/db/migrations/"
status: "pending"
TaskCreate:
subject: "Implement user profile API endpoints"
description: "Create CRUD endpoints: GET/POST/PUT/DELETE /api/users/:id
Follow existing route patterns in src/api/routes/"
status: "pending"
blockedBy: ["1"] # Depends on database schema
TaskCreate:
subject: "Add user profile UI components"
description: "Create ProfileCard, ProfileEditor, AvatarUpload components
in src/components/profile/"
status: "pending"
blockedBy: ["2"] # Depends on API endpointsTask Dependencies with blocks/blockedBy
Use addBlocks and addBlockedBy to express ordering constraints:
# Task 1: Database migration
# Task 2: API endpoints (blocked by 1)
# Task 3: UI components (blocked by 2)
# Task 4: E2E tests (blocked by 2 and 3)
TaskCreate:
subject: "Write E2E tests for user profiles"
status: "pending"
blockedBy: ["2", "3"] # Needs both API and UI
# Task 4 cannot start until tasks 2 AND 3 are completed.Alternatively, set dependencies from the blocking task's side:
TaskUpdate:
taskId: "1"
addBlocks: ["2", "3"] # Task 1 blocks tasks 2 and 3Status Tracking Workflow
Tasks follow a clear lifecycle:
pending --> in_progress --> completed
|
(or deleted)Claim and start a task:
TaskUpdate:
taskId: "1"
status: "in_progress"
owner: "CoreWorkflow"
activeForm: "Creating database migration"Complete a task:
TaskUpdate:
taskId: "1"
status: "completed"Owner Assignment for Multi-Agent Teams
Assign tasks to specific agents or team members:
TaskUpdate:
taskId: "1"
owner: "DatabaseAgent"
status: "in_progress"
TaskUpdate:
taskId: "2"
owner: "APIAgent"
status: "pending" # Still blocked, but assigned
TaskUpdate:
taskId: "3"
owner: "FrontendAgent"
status: "pending"Checking Progress
Use TaskList to see overall status:
TaskList:
# Returns:
# #1 [completed] Set up database schema (DatabaseAgent)
# #2 [in_progress] Implement user profile API (APIAgent)
# #3 [pending] Add user profile UI (FrontendAgent) - blocked by #2
# #4 [pending] Write E2E tests - blocked by #2, #3Use TaskGet for full details on a specific task:
TaskGet:
taskId: "2"
# Returns full description, comments, status, owner, blockersActive Form for Spinner Display
Set activeForm to show what is happening during in_progress:
TaskUpdate:
taskId: "2"
activeForm: "Implementing GET /api/users/:id endpoint"This shows a spinner with "Implementing GET /api/users/:id endpoint" in the UI.
Post-Completion Flow
After completing a task, check for newly unblocked work:
# 1. Complete current task
TaskUpdate:
taskId: "2"
status: "completed"
# 2. Check what is now unblocked
TaskList:
# #3 [pending] Add user profile UI - no longer blocked!
# #4 [pending] Write E2E tests - still blocked by #3
# 3. Claim the next available task
TaskUpdate:
taskId: "3"
status: "in_progress"
owner: "FrontendAgent"Task Granularity Guidelines
Right-sized tasks are:
- Completable in one focused session (15-60 minutes of work)
- Specific enough to verify completion
- Independent enough to have clear boundaries
# TOO COARSE:
"Build the entire authentication system"
# TOO FINE:
"Add import statement for bcrypt"
# RIGHT SIZE:
"Implement password hashing utility with bcrypt"
"Create login endpoint with JWT token generation"
"Add auth middleware for protected routes"Anti-Patterns
- No dependencies: Creating 10 tasks without dependency relationships leads to out-of-order execution. Always express ordering constraints.
- Marking incomplete work as completed: Never set status to "completed" if tests fail, implementation is partial, or errors remain unresolved. Keep as "in_progress" and create a new blocking task for the issue.
- Skipping TaskList after completion: Always check TaskList after completing a task. Dependencies may have unblocked new work that should be claimed immediately.
- Monolithic tasks: A single task covering an entire feature provides no progress visibility. Break it into 3-7 subtasks with clear completion criteria.
- Orphaned tasks: Tasks with no owner and no blocker that sit in "pending" forever. After creating tasks, assign owners or claim them.
Quick Reference
| Tool | Purpose | Key Fields |
| TaskCreate | Create new task | subject, description, status, blockedBy |
| TaskUpdate | Modify task | taskId, status, owner, activeForm, addBlocks, addBlockedBy |
| TaskList | See all tasks | (no params) |
| TaskGet | Full task details | taskId |
Status flow: pending -> in_progress -> completed (or deleted) Dependencies: Use blockedBy/addBlocks to express ordering After completion: Always run TaskList to find unblocked work Task size: 15-60 minutes of focused work per task
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

