Command Palette

Search for a command to run...

Назад к скиллам
скилл № 03230

dependency-graph

Visualize system dependencies and relationships

БесплатноБез исполняемых скриптов
DavidROliverBAот DavidROliverBA★ 53 звезды на GitHub

Установить dependency-graph в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/dependency-graph Skill

Visualize system dependencies and identify critical paths, bottlenecks, and single points of failure.

When to Use This Skill

Use /dependency-graph when you need to:

  • Understand what systems depend on a critical system
  • Identify single points of failure
  • Plan outage impact for maintenance
  • Design disaster recovery strategies
  • Perform risk assessment on architecture
  • Plan system decommissioning (understand what breaks)
  • Optimize architecture to reduce critical dependencies

Usage

/dependency-graph [root-system] [options]

Parameters

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

Workflow

Phase 1: Define Graph Scope

User specifies:

  1. Root system (optional - default: all systems)

    • Single system (system:ERP)
    • All systems (enterprise)
    • Critical systems only
  2. Depth (optional)

    • 1 - Direct dependencies only (immediate consumers/producers)
    • 2 - Direct + indirect (one level deeper)
    • all - All paths to edges (complete dependency closure)
  3. Direction (optional)

    • upstream - What feeds into this system (sources)
    • downstream - What consumes from this system
    • both - Both upstream and downstream (default)
  4. Visualization (optional)

    • text - ASCII text representation
    • ascii-art - Fancy ASCII visualization
    • mermaid - Mermaid diagram (for markdown)
    • d3 - Interactive D3 visualization (HTML)

Phase 2: Analyze Dependencies

The skill:

  1. Builds dependency graph

    • Reads all Integration notes
    • Maps directional relationships
    • Calculates paths and cycles
  2. Identifies critical paths

    • Paths that affect critical systems
    • Paths with no redundancy (single points of failure)
    • Paths with high latency impact
  3. Scores risk

    • If root system fails, how many others affected?
    • What is average recovery time?
    • Are there failover paths?
  4. Detects patterns

    • Hub systems (many connections)
    • Isolated clusters
    • Circular dependencies (if any)
    • Chain reactions (cascading failures)

Phase 3: Generate Visualization

Creates graph showing:

  • Nodes: Systems (colored by criticality)
  • Edges: Integrations (colored by type: real-time, batch, API)
  • Edge labels: Latency, criticality, frequency
  • Highlighted: Critical paths, single points of failure

Phase 4: Output

Generates report with:

  • Visual dependency graph (multiple formats)
  • Text analysis of critical paths
  • Risk assessment
  • Recommendations for resilience improvements
  • Outage impact matrix (if X fails, what breaks?)

Visualisation Examples

Text Output (ERP Downstream)

/dependency-graph system:ERP --direction downstream --depth all produces a structured text output showing:

  • Direct consumers (1 hop) with volume, latency, criticality per edge
  • Indirect consumers (2+ hops) with full path chains
  • Risk analysis — cascading impact if root system fails, impact score, recovery time
  • Single points of failure with mitigations

Mermaid Output (Enterprise Graph)

/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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл dependency-graph?

Visualize system dependencies and relationships

Как установить скилл dependency-graph?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dependency-graph запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dependency-graph с