Skip to content
Skills Library
Programming · Building & coding

dependency_graph

/dependency_graph

Writes valid dependency_graph JSON for uml-mcp (diagram_type=dependency_graph, bundled plugin deps). Use when the user asks for the dependency tree of a project from its package.json, pyproject.toml, requirements.txt or a lock file; then call validate_uml, then generate_uml_image (chat PNG) or generate_uml with output_format html (interactive MCP App page).

Repository
uml-mcp ↗
Licence
MIT
Last repository change
13.11.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Writes valid dependency_graph JSON for uml-mcp (diagram_type=dependency_graph, bundled plugin deps). Use when the user asks for the dependency tree of a project from its package.json, pyproject.toml, requirements.txt or a lock file; then call validate_uml, then generate_uml_image (chat PNG) or generate_uml with output_format html (interactive MCP App page).

Original author description

Writes valid dependency_graph JSON for uml-mcp (diagram_type=dependency_graph, bundled plugin deps). Use when the user asks for the dependency tree of a project from its package.json, pyproject.toml, requirements.txt or a lock file; then call validate_uml, then generate_uml_image (chat PNG) or generate_uml with output_format html (interactive MCP App page).

How it works

  1. Example prompt
  2. Notation tips
  3. Styling
  4. Example source
Original SKILL.md headings · 32 lines, 226 words
SKILL.md preview
---
name: dependency_graph
description: >-
  Writes valid dependency_graph JSON for uml-mcp (diagram_type=dependency_graph, bundled plugin deps). Use when the user asks for the dependency tree of a project from its package.json, pyproject.toml, requirements.txt or a lock file; then call validate_uml, then generate_uml_image (chat PNG) or generate_uml with output_format html (interactive MCP App page).
---

# dependency_graph diagram (uml-mcp plugin `deps`)

**`diagram_type`:** `dependency_graph`  
**Backend:** `plugin:deps` (bundled with uml-mcp, on by default)  
**Output formats:** html, svg

Dependency graph of a project from its package.json, package-lock.json, pyproject.toml, requirements.txt or uv.lock (auto-detected): layered tree, kind colours, licences, duplicate versions; html (search, collapse, force view) or svg

Load the workflow skill [uml-mcp-diagrams](../uml-mcp-diagrams/SKILL.md) and the focused guide `skill://uml-mcp-guides/deps/SKILL.md`. This file is notation only; it does not add an MCP tool.

## Example prompt

> Show the dependency tree of this project from its uv.lock, with dev dependencies and duplicate versions.

## Notation tips

- Paste the file as it is: `package.json`, `package-lock.json` (v2/v3), `pyproject.toml`, `requirements.txt` or `uv.lock`; the kind is detected. A lock file adds the transitive levels.
- Or write a graph: `root`, `nodes` (`id`, `version`, `license`, `dev`, `group`) and `edges` (`from`, `to`, `range`); a top-level `ecosystem` (`npm`, `pypi`) links each package to its registry.
- Colours: runtime, dev, optional, peer. A dashed amber outline marks a package present in several versions.
- Nothing is fetched: licences come from the lock file or the graph. Large locks are capped (300 packages by default, `plugins.settings.deps.max_nodes`).

## Styling

Pass **`theme`** (`auto`, `dark` or `light`) to `generate_uml` / `generate_uml_image`, or set it in the source. `auto` follows the reader's system in the HTML page and is dark in static SVG and PNG.

## Example source

```json
{"name":"storefront","version":"2.4.0","license":"MIT","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","zod":"^3.23.8","@tanstack/react-query":"^5.59.0"},"peerDependencies":{"typescript":">=5.4"},"optionalDependencies":{"fsevents":"^2.3.3"},"devDependencies":{"vite":"^5.4.10","vitest":"^2.1.4","eslint":"^9.14.0"}}
```

Versions

The database has no other skills named dependency_graph.

Database snapshot: 13.11.2026 · package version 6ae9bcd03bcc (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95d3_force
    Writes valid d3_force JSON for uml-mcp (diagram_type=d3_force, bundled plugin d3). Use when the user asks for a force-directed network or dependency graph; then call validate_uml, then generate_uml_image (chat PNG) or generate_uml with output_format html (interactive MCP App page).
  • 95c4_model
    Writes valid c4_model JSON for uml-mcp (diagram_type=c4_model, bundled plugin c4). Use when the user asks for a C4 model to explore: system context, then containers, then components; then call validate_uml, then generate_uml_image (chat PNG) or generate_uml with output_format…
  • 91uml-diagram-design
    UML 图表设计和绘制。当用户需要创建系统架构图、类图、时序图、用例图或其他 UML 图表时使用此技能。

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.