Skip to content
Development
Skill

/ascii-dependency-graph

Render an ASCII dependency graph from a JSON structure.

From plugin
claude-skills
73 skills

Claude Code

$ npx -y skills add rohingosling/claude-skills --skill ascii-dependency-graph --agent claude-code

SKILL.md

ascii-dependency-graph.SKILL.md
name: ascii-dependency-graph
description: Render an ASCII dependency graph from a JSON structure.
disable-model-invocation: false

Render an ASCII dependency graph using the Python script at `${CLAUDE_SKILL_DIR}/scripts/render_ascii_dependency_graph.py`.

Instructions

1. Construct a JSON object describing the dependency tree. Each node has:

  • `"name"`: the module/dependency name (required)
  • `"right"`: a single node connected horizontally to the right (optional)
  • `"bottom"`: an array of child nodes connected vertically below (optional)
  • Use `{"ellipsis": true}` in a `bottom` array to insert a `· · ·` continuation marker.

2. Write the JSON to a temporary file in the current project's working directory (e.g. `dep_graph.json`).

3. Run (use `python3` on macOS/Linux, `python` on Windows):

   python3 "${CLAUDE_SKILL_DIR}/scripts/render_ascii_dependency_graph.py" --file dep_graph.json

4. Copy the output into the target markdown file inside a fenced code block.

5. Delete the temporary JSON file.

Example JSON

{
    "name": "App",
    "right": {
        "name": "LibA",
        "right": { "name": "LibC" }
    },
    "bottom": [
        { "name": "LibB" },
        {
            "name": "LibD",
            "right": { "name": "LibC" }
        }
    ]
}

Box width rule

Each box has odd character width = RoundUpToNearestOdd( len(name) + 4 ). This ensures the `┬` connector exits exactly from the centre of the bottom border.

User argument

$ARGUMENTS

Read more
@rohingosling
Ships withclaude-skills

Claude Code plugin marketplace. A curated collection of my publicly-shared Agent Skills, each packaged as an installable plugin.

Stars on GitHub

Momentum

stars in total
7
Star history of rohingosling/claude-skills on GitHub, a chart by star-history.com

Other skills on claude-skills.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about ascii-dependency-graph.

Which coding agents can use ascii-dependency-graph?
ascii-dependency-graph installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.