.codex/skills/decompose-spec/SKILL.md
Turn a design spec into an explicit tx task graph with `tx decompose`, then refine the graph using normal tx task and dependency primitives.
npx skillsauth add jamesaphoenix/tx decompose-specInstall 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.
Use this skill when the user already has a design spec and wants an explicit tx task graph created from that spec.
tx doc show <design-doc-ref>
tx decompose <design-doc-ref> --dry-run --json
tx decompose <design-doc-ref>
tx decompose <design-doc-ref> --runtime claude
tx decompose <design-doc-ref> --runtime codex
tx decompose <design-doc-ref> --parent <task-id>
tx decompose over manually creating a large first-pass task graph.--parent <task-id> when the spec should decompose under an existing task.--dry-run when you need to inspect or compare graph options before writes.--max-tasks unless the user explicitly requests a cap. Artificial
limits produce weak decompositions that miss important slices. Let the LLM
produce as many tasks as the design doc warrants.tx decompose makes LLM calls and can take 60–120 seconds.
If you launched it, wait for it to finish. Never re-run it because output
appears empty — that wastes API credits and risks duplicate subtasks. If it
was launched in the background, poll the output file at long intervals (30s+).tx add "Follow-up task"
tx add "Nested subtask" --parent <task-id>
tx dep block <task-id> <blocker-id>
tx dep unblock <task-id> <blocker-id>
tx doc attach <task-id> <doc-name>
tx update <task-id> --status blocked
tx decompose --dry-run first
and repair the existing graph explicitly instead of creating duplicate work.tx show <task-id> on the generated root task to inspect linked-doc and
blocker state after decomposition.--max-tasks.POST /api/decomposetx_decomposeawait tx.decompose.run({
docRef: "<design-doc-ref>",
runtime: "auto",
dryRun: true,
})
development
Implement and verify design doc invariants by annotating tests and source code with [INV-*] / @spec tags, then driving tx spec coverage from BUILD toward HARDEN (100% FCI). Works with any design doc that has an invariants block.
data-ai
Link tasks to paired PRD/design specs, export all open work to markdown, and keep Ralph-style loops moving by creating tasks, subtasks, and dependency updates through tx primitives.
development
Refresh bundled tx Claude Code and Codex skills in a project from the canonical tx source without manual copy and paste.
development
Run Ralph against either the full repo queue or tasks linked to one design doc, with injected task/spec/queue context for Codex or Claude runtimes.