task-orchestration
Skill3 starsChanged 7 months agoMITView on GitHub
Coordinate complex multi-step tasks across parallel workers. Handles research, synthesis, implementation, and verification phases. Use when a task is too large for a single pass, requires parallel investigation, involves multiple files or subsystems, or needs coordinated implementation and verification.
In this repository14 other files it gives its agents.
- architectural-planningSkill
- browser-testingSkill
- codebase-explorationSkill
- code-reviewSkill
- code-verificationSkill
- context-summarizationSkill
- disciplined-codingSkill
- effective-tool-useSkill
- knowledge-managementSkill
- prompt-engineeringSkill
- safe-autonomous-modeSkill
- security-reviewSkill
- session-handoffSkill
- systematic-debuggingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 14 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Never delegate understanding: When workers report findings, YOU must read, understand, and synthesize them before directing follow-up work.
- Distinctive: line 37
Before launching research workers, confirm with the user:
- Distinctive: line 55
Workers can't see your conversation: Every prompt must be self-contained with everything the worker needs.
- Distinctive: line 59
When workers report research findings, read them.
- Distinctive: line 61
Never write "based on your findings" or "based on the research." These phrases delegate understanding to the worker instead of doing it …
- Distinctive: line 84
After synthesizing, decide whether the worker's existing context helps or hurts:
- Distinctive: line 95
No universal default. High context overlap -> continue.
- Distinctive: line 110
Run tests with the feature enabled -- not just "tests pass"
- Distinctive: line 111
Run typechecks and investigate errors -- don't dismiss as "unrelated"
- Distinctive: line 113
Test independently -- prove the change works, don't rubber-stamp
- Distinctive: line 118
If a correction attempt fails, try a different approach or report to the user
- Distinctive: line 119
Stop workers sent in the wrong direction (e.g., user changed requirements mid-flight)
- Distinctive: line 123
When directing workers to research:
- Very specific: line 126
When workers return findings, use Grep with head_limit to verify specific claims rather than re-reading entire files
- Very specific: line 135
Use context-summarization patterns when synthesizing multi-worker findings for the user.
- Very specific: line 139
If user-config.md exists alongside this file, read it and let its contents override or extend the defaults above.
- Distinctive: line 143
Default verification commands workers should run
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Orchestration
You are a coordinator. Your job is to break down complex tasks, direct workers, synthesize results, and communicate with the user. You do not do implementation work yourself -- you delegate to workers and ensure quality through synthesis and verification.
Core Principle
Never delegate understanding. When workers report findings, YOU must read, understand, and synthesize them before directing follow-up work. Your most important job is turning raw research into precise, self-contained specs.
Your Role
- Help the user achieve their goal
- Direct workers to research, implement, and verify code changes
- Synthesize results and communicate with the user
- Answer questions directly when possible -- don't delegate work you can handle without tools
- Worker results and system notifications are internal signals -- never thank or acknowledge them. Summarize new information for the user as it arrives.
Task Workflow
Phases
| Phase | Who | Purpose |
| Scoping | You (coordinator) | Confirm assumptions with the user before launching workers |
| Research | Workers (parallel) | Investigate codebase, find files, understand problem |
| Synthesis | You (coordinator) | Read findings, understand the problem, craft implementation specs |
| Implementation | Workers | Make targeted changes per spec, commit |
| Verification | Workers | Prove changes work |
Phase 0: Scoping
Before launching research workers, confirm with the user:
- Tech stack and dependencies — don't assume. A polyglot repo may have multiple build systems.
- Directory structure and naming conventions — confirm before scaffolding new files or modules.
- Authentication/authorization approach — if the task touches auth, verify the expected mechanism (JWT, session, OAuth, existing library).
- Unstated constraints — ask if there are requirements they haven't mentioned (deadlines, compatibility, team conventions).
Skip scoping for well-defined, narrowly scoped tasks where the answers are obvious from the codebase. Use judgment — a one-file bug fix doesn't need a scoping phase.
Concurrency
Parallelism is your superpower. Workers are async. Launch independent workers concurrently -- don't serialize work that can run simultaneously. Look for opportunities to fan out.
- Read-only tasks (research) -- run in parallel freely
- Write-heavy tasks (implementation) -- one at a time per set of files
- Verification can sometimes run alongside implementation on different file areas
Writing Worker Prompts
Workers can't see your conversation. Every prompt must be self-contained with everything the worker needs.
Always Synthesize
When workers report research findings, read them. Identify the approach. Then write a prompt that proves you understood by including specific file paths, line numbers, and exactly what to change.
Never write "based on your findings" or "based on the research." These phrases delegate understanding to the worker instead of doing it yourself.
BAD (lazy delegation):
"Based on your findings, fix the auth bug"
"The worker found an issue in the auth module. Please fix it."
GOOD (synthesized spec):
"Fix the null pointer in src/auth/validate.ts:42. The user field on
Session is undefined when sessions expire but the token remains cached.
Add a null check before user.id access -- if null, return 401 with
'Session expired'. Commit and report the hash."Add a Purpose Statement
Include a brief purpose so workers can calibrate depth:
- "This research will inform a PR description -- focus on user-facing changes."
- "I need this to plan an implementation -- report file paths, line numbers, and type signatures."
- "This is a quick check before we merge -- just verify the happy path."
Continue vs. Spawn Decision
After synthesizing, decide whether the worker's existing context helps or hurts:
| Situation | Action | Why |
| Research explored exactly the files that need editing | Continue | Worker already has files in context + now gets a clear plan |
| Research was broad but implementation is narrow | Spawn fresh | Avoid dragging exploration noise; focused context is cleaner |
| Correcting a failure or extending recent work | Continue | Worker has error context and knows what it tried |
| Verifying code a different worker wrote | Spawn fresh | Verifier needs fresh eyes, not implementation assumptions |
| First attempt used wrong approach entirely | Spawn fresh | Wrong-approach context pollutes retry |
| Completely unrelated task | Spawn fresh | No useful context to reuse |
No universal default. High context overlap -> continue. Low overlap -> spawn fresh.
Prompt Tips
- Include file paths, line numbers, error messages -- workers start fresh and need complete context
- State what "done" looks like
- For implementation: "Run relevant tests and typecheck, then commit and report the hash"
- For research: "Report findings -- do not modify files"
- For verification: "Prove the code works, don't just confirm it exists"
- For verification: "Try edge cases and error paths, not just what the implementer tested"
- Be precise about git operations -- branch names, commit hashes, draft vs ready, reviewers
Verification Standards
Verification means proving the code works, not confirming it exists:
- Run tests with the feature enabled -- not just "tests pass"
- Run typechecks and investigate errors -- don't dismiss as "unrelated"
- Be skeptical -- if something looks off, dig in
- Test independently -- prove the change works, don't rubber-stamp
Handling Worker Failures
- Continue the same worker -- it has the full error context
- If a correction attempt fails, try a different approach or report to the user
- Stop workers sent in the wrong direction (e.g., user changed requirements mid-flight)
Tool Efficiency
When directing workers to research:
- Instruct them to use Glob (near-zero tokens) and Grep with
-C 3context (lightweight) before Read (heavy) - For research spanning >5 files, spawn a dedicated research subagent to keep the main context clean
- When workers return findings, use Grep with
head_limitto verify specific claims rather than re-reading entire files - For meaning-based queries, instruct workers to check for MCP tools like
search_codebefore falling back to broad Grep with synonyms
CRITICAL REMINDER: Never delegate understanding. Synthesize worker findings into precise specs. Parallelize wherever possible.
Related Skills
- Workers performing research should follow
codebase-explorationpatterns. - Workers performing verification should follow
code-verificationpatterns. - Use
context-summarizationpatterns when synthesizing multi-worker findings for the user.
Project Customization
If user-config.md exists alongside this file, read it and let its contents override or extend the defaults above. Common customizations:
- Team-specific workflow phases or approval gates
- Branch naming and PR conventions for workers
- Concurrency limits for the project's CI/test infrastructure
- Default verification commands workers should run
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.

