com um clique
dependency-graph
Visualize system dependencies and relationships
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Visualize system dependencies and relationships
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Generate C4 architecture diagrams from system notes
Create and edit Obsidian Canvas files for architecture visualization
Analyse architecture diagrams and flowcharts
Generate architecture diagrams using Python diagrams library
Batch populate summary fields using content analysis
Batch auto-tag untagged notes using content analysis
| name | dependency-graph |
| context | fork |
| skill | dependency-graph |
| model | opus |
| description | Visualize system dependencies and relationships |
| tags | ["activity/architecture","domain/tooling","type/diagram"] |
Visualize system dependencies and identify critical paths, bottlenecks, and single points of failure.
Use /dependency-graph when you need to:
/dependency-graph [root-system] [options]
| Parameter | Description | Required |
|---|---|---|
root-system | System to analyze (or "all" for enterprise graph) | Optional |
--depth | How many hops to follow (1=direct, 2=direct+indirect, all) | Optional |
--direction | Direction to follow (upstream=sources, downstream=consumers, both) | Optional |
--visualization | Graph format (text, ascii-art, mermaid, d3) | Optional |
User specifies:
Root system (optional - default: all systems)
Depth (optional)
1 - Direct dependencies only (immediate consumers/producers)2 - Direct + indirect (one level deeper)all - All paths to edges (complete dependency closure)Direction (optional)
upstream - What feeds into this system (sources)downstream - What consumes from this systemboth - Both upstream and downstream (default)Visualization (optional)
text - ASCII text representationascii-art - Fancy ASCII visualizationmermaid - Mermaid diagram (for markdown)d3 - Interactive D3 visualization (HTML)The skill:
Builds dependency graph
Identifies critical paths
Scores risk
Detects patterns
Creates graph showing:
Generates report with:
/dependency-graph system:ERP --direction downstream --depth all produces a structured text output showing:
/dependency-graph all --direction both --visualization mermaid
Mermaid Output:
graph TB
subgraph Sources["Source Systems"]
ERP["ERP System<br/>Enterprise Resource Planning<br/>Critical"]
THIRDPARTY["Third-party APIs<br/>EDI<br/>High"]
end
subgraph Integration["Integration Layer"]
KAFKA["Kafka<br/>Event Bus<br/>High"]
DATAPLATFORM["Data Platform<br/>Integration Hub<br/>Critical"]
APIGW["API Gateway<br/>API Management<br/>High"]
end
subgraph Analytics["Analytics Layer"]
DW["Data Warehouse<br/>Analytics Store<br/>High"]
MDM["Master Data<br/>MDM<br/>Medium"]
end
subgraph Consumption["Consumption"]
TABLEAU["Tableau<br/>BI<br/>Medium"]
LOOKER["Looker<br/>BI<br/>High"]
USERS["End Users<br/>API Consumers"]
end
ERP -->|Real-time| KAFKA
ERP -->|Batch| DATAPLATFORM
ERP -->|APIs| APIGW
THIRDPARTY -->|Batch| DATAPLATFORM
THIRDPARTY -->|APIs| APIGW
KAFKA -->|Stream| DATAPLATFORM
DATAPLATFORM -->|Analytics| DW
DATAPLATFORM -->|APIs| APIGW
DW -->|Query| TABLEAU
DW -->|Query| LOOKER
MDM -->|Master Data| DW
APIGW -->|Access| USERS
TABLEAU -->|Dashboards| USERS
LOOKER -->|Dashboards| USERS
classDef critical fill:#ff4444,stroke:#cc0000,color:#fff
classDef high fill:#ffaa00,stroke:#ff8800,color:#fff
classDef medium fill:#4499ff,stroke:#2277dd,color:#fff
class ERP,DATAPLATFORM critical
class KAFKA,APIGW,DW,LOOKER high
class TABLEAU,MDM medium
The generated report includes:
/dependency-graph --criticality critical
Show only critical systems and their dependencies.
/dependency-graph --show-cycles
Highlights any circular dependencies (rare in well-designed systems):
Warning: Circular dependency detected!
A → B → C → A
Recommendation: Break cycle
/dependency-graph system:ERP system:Tableau --show-paths
Show all paths from ERP to Tableau:
Shortest Path (3 hops):
ERP → Data Platform → Data Warehouse → Tableau (latency: 4+ hours)
Alternative Paths:
None (single path)
/dependency-graph --statistics
Calculates graph density, average path length, central nodes (hubs), and isolated clusters.
The /dependency-graph skill works with:
/impact-analysis - Analyze impact of system failures/architecture-report - Include dependency analysis section/system-sync - Update graph when dependencies change/cost-optimization - Identify redundant connections to eliminate| Format | Description |
|---|---|
| Text (ASCII) | Tree-style dependency list (e.g., ERP ├── Kafka │ └── Data Platform) |
| Mermaid | Embeddable in markdown and Obsidian Canvas |
| D3 Interactive | HTML force-directed graph (clickable, draggable, zoomable) |
| GraphML | Export for Gephi, Neo4j, or custom tools |
After generating dependency graph:
Invoke with: /dependency-graph [system]
Example: /dependency-graph all → Enterprise dependency graph showing all systems and critical paths