decompose
Installation
SKILL.md
Summary
Triggered when docs/plans/<workflow_id>.md is present and approved. Reads the plan's slice list, derives a dependency DAG in two explicit phases, and writes the extended slice list back into the same plan doc. Phase (a) is deterministic set-intersection over touched_paths — no LLM judgment. Phase (b) adds semantic edges with reason fields. The validator rejects any output that drops a phase-(a) edge, contains a cycle, or references a non-existent slice id.
Procedure
Step 1 — Verify input
Check that docs/plans/<workflow_id>.md exists. If absent, stop immediately and output:
Cannot start decompose: docs/plans/<workflow_id>.md not found.
Run plan-synth first to produce the plan doc, then obtain approval before running decompose.
Do not proceed until the file exists.