Break requirements, features, or work into small, independently executable and verifiable tasks,and construct an execution-ready plan by modeling the work as a task DAG, where nodes represent tasks and edges represent dependencies, explicitly capturing sequencing and parallelism. Same-wave (non-dependent) tasks can be executed in parallel via subagents based on the DAG structure. Use this when asked to break down or plan work, create to-do lists, or when the work involves multi-step execution requiring decomposition, coordination, dependency management, ordering, or parallel execution.
Decompose work into small, independently executable and verifiable units, and produce an execution-ready plan structured as a task DAG with explicit dependencies, sequencing, and parallelism to enable efficient concurrent execution.
Clarify the work to be decomposed, including requirements, constraints, goals, and outcomes. If the work is insufficiently specified or ambiguous such that decomposition would be unreliable, must use /clarify skill first to resolve missing or unclear information before proceeding.
Break the clarified work into the smallest useful units that still have a clear goal and a clear verification path. For each task, define:
doc, analysis, config, testing)If a task cannot be executed or validated independently, it must be further decomposed until it meets all of the criteria above.
Determine task dependencies and execution order, ensuring all prerequisites are satisfied before a task begins and identifying opportunities for parallel execution. For each task, specify:
depends-on <task-id> (comma-separated if multiple)parallel only if the task can run concurrently with other tasks without shared resources, conflicting changes, or unresolved decisionsEnsure the overall dependency model forms a valid DAG (no cycles) and enables efficient, correctly ordered execution.
Organize tasks into a directed acyclic graph (DAG) based on dependencies, sequencing, and parallelism from the previous step. Ensure that:
The DAG MUST be deterministic and unambiguous for execution planning.
Construct an execution plan derived from the task DAG, respecting dependencies and parallelism. The plan MUST follow the structure defined in plan-template.
Validate the task DAG and execution plan to ensure:
The complete execution plan.