skills/task-decomposer/SKILL.md
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.
npx skillsauth add fatih-developer/fth-skills task-decomposerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Break a complex task into independently executable, verifiable subtasks. Produce a structured plan first, get approval, then execute step by step with progress tracking.
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 report
Before decomposing, answer these questions:
skills/.curated/domains/<domain>/ECOSYSTEM.md file (if it exists) to understand the pre-defined workflows and available skills before creating your Dependency Map. Do not hallucinate the workflow.Do not generate subtasks until the task is clearly understood.
Each subtask must meet these criteria:
Define relationships between subtasks:
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 -> #6
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"]
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.
After approval, complete each subtask:
### [#N] Task NameCompleted: [what was produced]On failure:
Escalation rule: If 2 consecutive subtasks fail, stop automatically and ask:
"2 consecutive steps failed. Should we review the plan together before continuing?"
When all subtasks are done, present a summary using templates/task-summary.md.tmpl.
Do not decompose — respond directly when:
See references/SKIP_CONDITIONS.md for the full decision matrix.
references/PLAN_TEMPLATE.md for the plan output structure.references/EXAMPLES.md for worked examples including a real code output.references/SKIP_CONDITIONS.md for when to skip decomposition.templates/task-plan.md.tmpl for presenting the plan to the user.templates/task-summary.md.tmpl for the completion report.tools
Create, optimize, critique, and structure prompts for AI systems. Use this skill whenever the user is designing or improving a prompt, system prompt, coding prompt, image prompt, evaluation rubric, agent prompt, workflow prompt, or MCP-oriented prompt package. Also use it when the user asks to turn vague AI behavior into a precise instruction set, tool policy, agent spec, or prompt architecture.
testing
Assumption-first architecture review skill to stress-test project plans and expose hidden risks.
testing
Enforce and manage DESIGN.md specifications, extract design systems from URLs, and combine design reasoning with token roles to prevent drift.
testing
Forces the agent to act with a Claude-like product mindset, prioritizing user journey, UX states, and visual quality before coding.