Analyze candidate task nodes, dependencies, collisions, and critical path before a consumer accepts or rejects a final DAG.
Scanned 9/8/2026
Install to Claude Code
npx -y skills add machenjie/rd-skills --skill task-dag-decomposition --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Task Dag Decomposition?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/machenjie-task-dag-decomposition)More formats (shields.io, HTML) on the badges page.
---
name: task-dag-decomposition
description: "Analyze candidate task nodes, dependencies, collisions, and critical path before a consumer accepts or rejects a final DAG."
---
# task-dag-decomposition
## Registry Trigger
**Use when**
- two or more candidate work units may form a graph, but node or edge evidence is unresolved;
- dependency, collision, resource-contention, critical-path, or parallel-opportunity claims need pre-DAG analysis.
**Do not use when**
- one acceptance outcome and produced output cannot be separated into useful candidates;
- a consumer has already accepted the authoritative graph and needs execution planning.
## Skill Role
Analyze candidate nodes and edges as a pre-DAG candidate graph. Produce advisory graph evidence that a consumer accepts or rejects. This Skill does not emit the final Task DAG or schedule execution.
## Inputs
- acceptance outcomes and candidate produced outputs;
- current evidence for producer-consumer relationships, contracts, and order constraints;
- candidate read, write, shared-resource, and collision surfaces;
- known uncertainty about nodes, edges, ownership, or resources.
## High-Value Rules
1. Propose a candidate node only when it owns an acceptance-linked outcome and produced output.
2. Classify every proposed dependency as a data edge, control edge, contract edge, or order edge.
3. For the proposed graph, pair an edge with current evidence and its downstream blocker before accepting it.
4. Record rejected edges with evidence showing that preference, proximity, or chronology is nonblocking.
5. Map collision surfaces, shared-write surfaces, and resource surfaces across files, generated outputs, contracts, schemas, fixtures, stores, queues, and external resources.
6. Derive graph conclusions from supported edges: the candidate critical path and parallel opportunities only where no supported path dependency exists, while retaining collision evidence for the consumer.
7. Detect cycles and ambiguous output ownership. Preserve unresolved facts as uncertainty.
8. State proof limits and residual risk for every material graph conclusion.
## Anti-Patterns
- Different file paths do not by themselves eliminate a collision.
- Chronology, preference, or architectural proximity does not by itself prove an edge.
- More nodes do not improve a graph when outputs or acceptance outcomes are duplicated.
- Absence of a supported edge does not establish an executable parallel schedule.
## Execution Checklist
1. Map each candidate node to its acceptance-linked outcome and produced output.
2. Classify and source every proposed edge.
3. Record rejected edges and cycles.
4. Map collision, shared-write, and resource surfaces.
5. Derive the candidate critical path and parallel opportunity.
6. Return uncertainty, proof limits, and residual risk for consumer acceptance or rejection.
## Stop Conditions
- Return insufficient node evidence when a candidate cannot bind both an outcome and an output.
- Return insufficient edge evidence when a proposed dependency lacks a current source or downstream blocker.
- Return a cyclic or uncertain graph when supported edges form a cycle or resource identity remains unresolved.
## Output Contract
- candidate-graph evidence with acceptance-linked nodes, produced outputs, evidence-backed data/control/contract/order edges, rejected edges, collision/shared-write/resource surfaces, candidate critical path, parallel opportunity, cycles, uncertainty, proof limits, and residual risk for consumer acceptance or rejection
## Targeted References
| Path | Type | Load when | Do not load when | Required by | Required output |
|---|---|---|---|---|---|
| [candidate graph evidence](references/candidate-graph-evidence.md) | evidence-pattern | candidate nodes edges collisions cycles critical path or parallel opportunity need source-backed comparison | one candidate graph has accepted node-output bindings and every edge is supported or rejected | analysis-agent | evidence-record, proof-limit, residual-risk |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!