rohingosling/claude-skills / plugins/g-render-ascii-dependency-graph/skills/ascii-dependency-graph
ascii-dependency-graph
VerifiedRender an ASCII dependency graph from a JSON structure.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.5 KB |
| scripts/render_ascii_dependency_graph.py | script | 25.3 KB |
SKILL.md
View on GitHub---
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
```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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |