dependency-graph-generator
生成GOAL/SubPlan依赖DAG和关键路径分析,并执行SubPlan划分。当需要分析技术依赖、业务依赖、识别关键路径、发现并行执行机会、执行SubPlan分配时使用。基于GOAL的dependencies字段和业务逻辑分析生成Mermaid依赖图和SubPlan划分方案。
npx skills add majiayu000/claude-skill-registry --skill dependency-graph-generator-tikazyq-agentic-spec-forge --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Dependency Graph Generator > **Scope**: EXECSPEC_COMPILE — Compile ExecSpec(编译 ExecSpec) > **版本**: 1.0.0 | **创建日期**: 2025-02-03 --- ## 1. 描述 生成GOAL/SubPlan依赖关系的有向无环图(DAG),执行SubPlan划分,识别关键路径和并行执行机会。 **核心职责**:分析技术依赖、业务依赖、生成Mermaid图、识别关键路径、建议并行执行、执行SubPlan划分与编号 --- ## 2. 适用场景 - **WORKFLOW Step 3 Task 3-4**: Phase规划时分析依赖关系和SubPlan划分 - **场景A**: 多个GOAL之间有依赖,需要确定执行顺序 - **场景B**: L3项目需要并行执行优化 - **场景C**: 需要将GOAL分配到SubPlan(Step 3核心任务) **对应**: Build_Exec_Spec_Plans Step 3 (SubPlan划分与编号) + Step 4 (Phase规划,依赖排序) --- ## 3. 输入 - `spec/spec_artifacts_registry.md` - 从Registry查询GOAL清单 - GOAL front matter dependencies字段 --- ## 4. 输出 - `spec/build/dependency_graph.md` - Mermaid依赖图 - 关键路径分析 - 并行执行建议 - SubPlan划分方案(GOAL→SubPlan映射表) - SubPlan编号(Phase_X.SubPlan_Y格式) --- ## 5. 执行步骤 1. Read all GOAL files, extract id and dependencies from front matter 2. Build dependency graph (adjacency list) 3. Detect cycles (if found, report error and suggest fix) 4. Generate Mermaid diagram (graph TD format) 5. Calculate critical path using topological sort 6. Identify parallel groups (GOALs with no dependencies between them) 7. Generate SubPlan partitioning based on dependency clustering: - Group GOALs with tight depen
- 1. 描述
- 2. 适用场景
- 3. 输入
- 4. 输出
- 5. 执行步骤
- 6. 快速开始
- 7. 使用说明
- 8. 价值
- 9. 质量检查
- 10. 限制条件
- 相关 SKILLs
What does the dependency-graph-generator skill do?
生成GOAL/SubPlan依赖DAG和关键路径分析,并执行SubPlan划分。当需要分析技术依赖、业务依赖、识别关键路径、发现并行执行机会、执行SubPlan分配时使用。基于GOAL的dependencies字段和业务逻辑分析生成Mermaid依赖图和SubPlan划分方案。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill dependency-graph-generator-tikazyq-agentic-spec-forge --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
