task-decomposer
Skill7 starsChanged 43 days agoMITView on GitHub
Break down large, complex, or ambiguous tasks into independent subtasks with dependency maps, execution order, and success criteria. Plan first, then execute step by step. Triggers on 'how should I do this', 'where do I start', 'plan the project', 'break it down', 'implement' or whenever a task involves multiple phases.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Mathews-Tom/armorytheir own version, first seen Nov 1, 2026
- nizaalkhot/skillstheir own version, first seen Nov 1, 2026
- yasdelayu/agent-x-cctheir own version, first seen Oct 13, 2026
- Alteriom/ai-dev-skillstheir own version, first seen Oct 11, 2026
- Laffey-82/cn-agent-skillstheir own version, first seen Aug 29, 2026
- GhostwheeI/Master-Plannertheir own version, first seen Jun 16, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- Mathews-Tom/armory★ 340same name
- ttmouse/skills★ 34same name
- gear-foundation/vara-skills★ 17same name
- Laffey-82/cn-agent-skills★ 1same name
- Alteriom/ai-dev-skills★ 0same name
- dhriyatinandu-bot/claude-skills★ 0same name
- GhostwheeI/Master-Planner★ 0same name
- nizaalkhot/skills★ 0same name
- yasdelayu/agent-x-cc★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository83 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-enforcerSkill
- access-policy-designerSkill
- adaptive-guardSkill
- agent-reviewerSkill
- anti-ai-slop-designSkill
- api-mock-designerSkill
- api-observability-plannerSkill
- app-store-reviewerSkill
- ask-first-act-laterSkill
- assumption-checkerSkill
- auth-flow-designerSkill
- b2b-founder-roadmapSkill
- brand-name-labSkill
- breaking-change-detectorSkill
- changelog-generatorSkill
- checkpoint-guardianSkill
- claude-style-codingSkill
- claw-integration-designSkill
- context-compressorSkill
- contract-first-designerSkill
- coolify-orchestratorSkill
- crash-analystSkill
- data-lineage-tracerSkill
- data-maskerSkill
- deep-link-architectSkill
- design-intelligenceSkill
- design-md-enforcerSkill
- ecosystem-apiSkill
- ecosystem-databaseSkill
- ecosystem-mobileSkill
- ecosystem-orchestrationSkill
- ecosystem-productSkill
- ecosystem-reasoningSkill
- ecosystem-securitySkill
- ecosystem-webSkill
- error-recoverySkill
- fth-design-crafterSkill
- geo-auditorSkill
- geo-optimizerSkill
- index-advisorSkill
- jev-orchestratorSkill
- mastermind-loggerSkill
- memory-ledgerSkill
- migration-strategistSkill
- mobile-perf-auditorSkill
- mobile-security-auditorSkill
- multi-brain-debateSkill
- multi-brain-expertsSkill
- multi-brain-scoreSkill
- multi-brainSkill
- offline-sync-designerSkill
- onboarding-designerSkill
- output-criticSkill
- parallel-plannerSkill
- pgbouncer-architectSkill
- plan-hardenerSkill
- plan-implement-verify-recoverSkill
- proje-analizcisiSkill
- project-analyzerSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Before decomposing, answer these questions:
- Distinctive: line 31
Is anything unclear?: If so, ask one clarifying question — never multiple.
- Distinctive: line 34
Do not generate subtasks until the task is clearly understood.
- Distinctive: line 72
Optional (?): Not core, nice to have
- Distinctive: line 84
Use mermaid for complex dependency graphs:
- Distinctive: line 106
After approval, complete each subtask:
- Very specific: line 108
Before starting, print a header: ### [#N] Task Name
- Distinctive: line 116
Ask the user: "Continue or fix this first?"
- Distinctive: line 118
Escalation rule: If 2 consecutive subtasks fail, stop automatically and ask:
- Very specific: line 130
When all subtasks are done, present a summary using templates/task-summary.md.tmpl.
- Distinctive: line 136
Do not decompose — respond directly when:
- Very specific: line 153
Use templates/task-plan.md.tmpl for presenting the plan to the user.
- Very specific: line 154
Use templates/task-summary.md.tmpl for the completion report.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Task Decomposer Protocol
Break a complex task into independently executable, verifiable subtasks. Produce a structured plan first, get approval, then execute step by step with progress tracking.
Workflow
1. Analyze the task
2. Decompose into subtasks (with dependency map)
3. Present the plan and get approval
4. Execute sequentially — complete each step before moving to next
5. Produce summary reportStep 1: Analyze the Task
Before decomposing, answer these questions:
- What is the goal? What does success look like?
- What is the scope? What is included, what is excluded?
- Are there constraints? Technology, time, dependencies?
- Is anything unclear? If so, ask one clarifying question — never multiple.
- Domain Awareness Check: If the request matches a domain in the Ecosystem Index below, follow that ecosystem's workflow map (
@ecosystem-<domain>) and build your Dependency Map from its steps. If the ecosystem skill is not installed, use the index as the plan skeleton. Never invent skills that are not listed.
Do not generate subtasks until the task is clearly understood.
Ecosystem Index
<!-- BEGIN GENERATED: ecosystem-index (generated from the ecosystem workflow map by build_ecosystems.py — do not edit by hand) -->| Ecosystem | Domain | Use for | Workflows |
@ecosystem-orchestration | Agent Orchestration | Plan, execute, recover, remember, and review multi-step agent work; connect external agents safely. | orch-complex-task, orch-code-change, orch-resilience, orch-agent-connectivity, orch-knowledge |
@ecosystem-reasoning | Reasoning, Planning Gates & Prompting | Clarify intent, stress-test plans, compare perspectives, and craft prompts, without stacking redundant question gates. | reason-clarify, reason-decision, reason-plan-review, reason-prompting |
@ecosystem-api | API Domain | Design, secure, scale, and evolve REST, GraphQL, gRPC, and event-driven APIs with a contract-first workflow. | api-design, api-security-scale, api-evolution, api-production-readiness |
@ecosystem-database | Database Domain | Model, secure, optimize, migrate, and operate SQL databases (PostgreSQL, MySQL, SQLite) with data integrity first. | db-new-schema, db-performance, db-evolution, db-compliance, db-scaling |
@ecosystem-mobile | Mobile App Domain | Architect, audit, release, and monitor iOS, Android, React Native, and Flutter apps. | mobile-pre-release-audit, mobile-release, mobile-feature-architecture, mobile-post-launch |
@ecosystem-web | Web, Design & Delivery | Design product-grade web interfaces, keep design systems consistent, make sites visible to search and AI answer engines, and deploy them. | web-foundations, web-build-page, web-visibility, web-review, web-de-slop, web-deploy |
@ecosystem-product | Product & Growth | Take a product from focus to market: B2B go-to-market, naming, creative content, and discoverability. | product-launch, product-naming, product-content |
@ecosystem-security | Security | Audit skills before deployment, guard agent runtimes against injection and exfiltration, and learn from incidents. | sec-skill-audit, sec-runtime-guard, sec-full-lifecycle |
Pick the ecosystem whose domain matches the request and follow its workflow map. If the ecosystem skill is not installed, use the workflow ids above as the plan skeleton and run each member skill directly, or install it with npx skills add fatih-developer/fth-skills --skill <ecosystem> after the user agrees. Never invent skills that are not listed.
<!-- END GENERATED: ecosystem-index -->Step 2: Decompose into Subtasks
Each subtask must meet these criteria:
- Atomic: Does one thing, contains no internal decision branches
- Verifiable: You can definitively say "done" when completed
- Independent (when possible): Can run without waiting for other subtasks
- Has a concrete output: A file, a function, a document, a decision
Dependency Map
Define relationships between subtasks:
- Sequential (->): B cannot start until A completes
- Parallel (||): Can run simultaneously — no shared dependencies
- Optional (?): Not core, nice to have
How to handle parallel steps:
Group || steps together. Complete all steps in the group, then move to the next sequential step.
Group A (parallel): #1 || #2 || #3 -> complete all, then continue
Group B (sequential): #4 -> #5 -> #6Dependency Visualization
Use mermaid for complex dependency graphs:
graph LR
T1["#1 Data Model"] --> T3["#3 CRUD Operations"]
T2["#2 DB Connection"] --> T3
T3 --> T4["#4 API Endpoints"]
T4 --> T5["#5 Tests"]Step 3: Present the Plan
Show the plan to the user using the format in templates/task-plan.md.tmpl and ask for approval.
Do not start execution without explicit user approval.
Step 4: Execute Step by Step
After approval, complete each subtask:
- Before starting, print a header:
### [#N] Task Name - Execute the task — write code, create files, research, document
- On completion, print:
Completed: [what was produced] - Move to the next subtask
On failure:
- Explain the error
- Suggest an alternative path
- Ask the user: "Continue or fix this first?"
Escalation rule: If 2 consecutive subtasks fail, stop automatically and ask:
"2 consecutive steps failed. Should we review the plan together before continuing?"
Cross-Skill Integration
- checkpoint-guardian: During execution, critical actions (file deletion, DB writes, deploys) should trigger risk assessment checkpoints.
- multi-brain: For complex subtasks where the approach is unclear, use 3-perspective evaluation before committing to an implementation.
Step 5: Summary Report
When all subtasks are done, present a summary using templates/task-summary.md.tmpl.
When to Skip
Do not decompose — respond directly when:
- Single-step, clear task ("translate this file", "fix this bug")
- User already knows the steps and only wants execution
- Task can be completed in under 3 minutes
See references/SKIP_CONDITIONS.md for the full decision matrix.
References
- See
references/PLAN_TEMPLATE.mdfor the plan output structure. - See
references/EXAMPLES.mdfor worked examples including a real code output. - See
references/SKIP_CONDITIONS.mdfor when to skip decomposition.
Templates
- Use
templates/task-plan.md.tmplfor presenting the plan to the user. - Use
templates/task-summary.md.tmplfor the completion report.
🔗 Next Steps & Handoffs
<!-- BEGIN GENERATED: handoffs (generated from the ecosystem workflow map by build_ecosystems.py — do not edit by hand) -->Ecosystem: @ecosystem-orchestration — Agent Orchestration.
Workflows:
- Complex Task Execution Flow (
orch-complex-task, step 1 of 6): next →@parallel-planner(optional). - Plan Hardening Flow (
reason-plan-review, step 2 of 2, via@ecosystem-reasoning): last step → once it passes, complete the workflow and report the outcome.
Handoff contract: pass results to the next skill through an inline Handoff block in your reply with the fields skill, workflow, created_at, inputs, summary, and next (the handoff contract of @ecosystem-orchestration). If a next skill is not installed, continue with its step from the ecosystem map, or install it with npx skills add fatih-developer/fth-skills --skill <name> after the user agrees.
<!-- END GENERATED: handoffs -->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.

