一键导入
dependency-mapping
Generate Mermaid dependency graphs showing issue relationships, blocking chains, and critical paths
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate Mermaid dependency graphs showing issue relationships, blocking chains, and critical paths
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generate Mermaid architecture diagrams showing system components, layers, and data flows
Proactively identify at-risk issues and PRs: stale items, blocked work, deadline risks, scope creep, and unassigned high-priority items
Extract common questions from closed GitHub issues and generate an FAQ document with answers
Search project notes by topic, synthesize findings into a consolidated summary with cross-references
Proactively identify information gaps in project context and generate actionable questions to surface missing requirements, unclear specifications, or documentation gaps
Decompose project descriptions into well-structured GitHub issues with user stories, acceptance criteria, dependencies, and estimates
| name | dependency-mapping |
| description | Generate Mermaid dependency graphs showing issue relationships, blocking chains, and critical paths |
| instructions | When mapping issue dependencies, visualizing blocking chains, or identifying the critical path through project work |
| allowed-tools | list_github_issues get_github_issue_with_comments add_note search_github_issues |
Generate Mermaid flowcharts that visualize GitHub issue dependencies, blocking relationships, and critical paths through the project.
Activate this skill when:
| Tool | Purpose |
|---|---|
list_github_issues | Get all open issues with labels and state |
get_github_issue_with_comments | Get full issue details with body text |
search_github_issues | Find specific issues by criteria |
add_note | Save dependency graph to project notes |
Parentheses break GitHub rendering.
WRONG:
flowchart LR
I1[#1 Setup (init)]
CORRECT:
flowchart LR
I1[#1 Setup - init]
Use consistent naming for issue nodes:
flowchart LR
I201[#201 Setup auth module]
I202[#202 Implement login]
I203[#203 Add password reset]
Format: I<number>[#<number> <short title>]
Issues that must be done in sequence:
flowchart LR
I1[#1 Setup project] --> I2[#2 Create database]
I2 --> I3[#3 Add API endpoints]
I3 --> I4[#4 Integration tests]
Issues that can be done simultaneously:
flowchart TB
I1[#1 Setup project]
I1 --> I2[#2 Frontend setup]
I1 --> I3[#3 Backend setup]
I2 --> I4[#4 Integration]
I3 --> I4
Multiple blocking relationships:
flowchart TB
subgraph Foundation
I1[#1 Project setup]
I2[#2 Database schema]
end
subgraph Features
I3[#3 User auth]
I4[#4 User profile]
I5[#5 Settings page]
end
subgraph Integration
I6[#6 End-to-end tests]
end
I1 --> I2
I1 --> I3
I2 --> I3
I3 --> I4
I3 --> I5
I4 --> I6
I5 --> I6
Emphasize the longest dependency chain:
flowchart LR
I1[#1 Setup]
I2[#2 Database]
I3[#3 Auth]
I4[#4 API]
I5[#5 Tests]
I1 ==> I2
I2 ==> I3
I3 ==> I4
I4 ==> I5
I1 --> I6[#6 Docs]
style I1 fill:#f96
style I2 fill:#f96
style I3 fill:#f96
style I4 fill:#f96
style I5 fill:#f96
Use list_github_issues to get all open issues:
Look for dependency indicators:
blocked, waiting, depends-onCreate a map of relationships:
#201 → blocks → #202, #203
#202 → blocks → #204
#203 → blocks → #204
Find the longest chain of dependencies - this is the critical path that determines minimum project duration.
Create the Mermaid flowchart with:
Look for these patterns in issue bodies:
| Pattern | Meaning |
|---|---|
| "Blocked by #X" | This issue depends on #X |
| "Depends on #X" | This issue depends on #X |
| "After #X" | Do this after #X |
| "Blocks #X" | This issue must complete before #X |
| "Required for #X" | This issue must complete before #X |
| "Prerequisite: #X" | This issue depends on #X |
flowchart LR
I1[#1 Setup] --> I2[#2 Feature A]
I1 --> I3[#3 Feature B]
I2 --> I4[#4 Integration]
I3 --> I4
flowchart TB
subgraph Phase 1 - Foundation
I1[#1 Project setup]
I2[#2 Database design]
end
subgraph Phase 2 - Core Features
I3[#3 User management]
I4[#4 Authentication]
end
subgraph Phase 3 - Polish
I5[#5 Testing]
I6[#6 Documentation]
end
I1 --> I2
I2 --> I3
I2 --> I4
I3 --> I5
I4 --> I5
I5 --> I6
| Arrow | Use For |
|---|---|
--> | Standard dependency |
==> | Critical path |
-.-> | Soft dependency or optional |
--text--> | Labeled relationship |
flowchart LR for sequential workflowchart TB for many branchesFor a set of issues about building an API:
flowchart TB
subgraph Setup
I1[#101 Initialize project]
I2[#102 Configure database]
end
subgraph Core API
I3[#103 User endpoints]
I4[#104 Auth endpoints]
I5[#105 Data endpoints]
end
subgraph Testing
I6[#106 Unit tests]
I7[#107 Integration tests]
end
I1 --> I2
I2 --> I3
I2 --> I4
I2 --> I5
I3 --> I6
I4 --> I6
I5 --> I6
I6 --> I7
%% Critical path
linkStyle 0,1,3,5,7 stroke:#f00,stroke-width:2px
timeline-planning skill for Gantt chart