一键导入
dge-plan-graph
Convert DGE requirements into tracks, dependency nodes, and validation contracts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert DGE requirements into tracks, dependency nodes, and validation contracts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Capture reusable learning from completed Delivery Graph nodes, tracks, or demands.
Drive a raw demand all the way to done from a single command - design, plan, and evidence-gated execution - stopping only at two judgment gates and on genuine failure or ambiguity.
Design a structured demand from a raw request, including its gap register, requirements, and acceptance criteria for Delivery Graph Engineering.
Drive the ready queue end to end - implement each ready node, gate it on evidence, and stop on the first failure.
Independently verify a Delivery Graph node against its validation contract and block completion until evidence and verifier independence exist.
Execute one ready Delivery Graph node while preserving its validation contract and dependency boundaries.
基于 SOC 职业分类
| name | dge-plan-graph |
| description | Convert DGE requirements into tracks, dependency nodes, and validation contracts. |
| argument-hint | [optional graph path, demand id, or requirements path] |
Use this skill after /dge-design has produced ready requirements.
Create the executable delivery graph: tracks, nodes, dependency edges, and validation contracts. This skill plans work; it does not implement code.
must requirements; add a track or node only when a requirement or validation contract demands it. should/could requirements do not need their own track.Before planning, run the shared preflight (one callable place for every dge-*
skill and the /dge-deliver conductor). Planning runs after dge init, so the
graph must exist and validate:
dge preflight || npx --no-install dge preflight
If it exits non-zero, stop and tell the user to install DGE first (the plugin ships dge
on the PATH, or npm install --save-dev github:rafaelolsr/delivery-graph). The dge CLI is
the only writer of delivery-graph/graph.json; never hand-write or hand-edit it.
Read delivery-graph/graph.json or the user-provided graph path. Confirm:
Also read prior learnings so the plan does not repeat a known mistake:
dge learnings --about "<keywords from these requirements>" --json # or: npx dge learnings ...
A learning may change how you split nodes or what a validation contract must assert (e.g. "substring evidence is weak — gate correctness on a live check"). Fold any applicable learning into a node's validation contract.
Use tracks to group related nodes. Most demands need only implementation + validation; add others only when a requirement demands them. Common tracks:
Each node must include:
- id: NODE-001
title: "..."
type: implementation
track: TRK-implementation
requirement_ids: [REQ-001]
depends_on: []
status: ready
validation:
required:
- "..."
evidence_path: delivery-graph/evidence/NODE-001/
sync:
linear_issue_id: null
ado_task_id: null
Check:
Create tracks and nodes through the CLI (dge add-track, dge add-node); it updates
delivery-graph/graph.json for you. Do not write graph.json yourself.
Follow the shared output convention (see skills/README.md): lead with a bold
one-line synthesis (e.g. "Graph planned: N tracks, M nodes, K ready"), then the
demand's progress indicator (see skills/README.md), then the detail:
Then a ## Next block: /dge-sync or /dge-work-node NODE-###.
The DGE CLI is required (see Preflight) and is the only writer of the canonical store. Use
dge if it is on the PATH (the plugin ships it), otherwise npx dge:
dge add-track ... # or: npx dge add-track ...
dge add-node ...
dge status
Never edit graph.json by hand. If the CLI is unavailable, stop and install it (Preflight).