diagramming-code
diagramming code
What it does
- Visualizing call paths between functions
- Drawing class inheritance hierarchies
- Mapping module import dependencies
- Showing class structure with members
- Highlighting complexity hotspots with color coding
- Tracing data flow from entrypoints to sensitive functions
- Querying the graph without visualization (use the trailmark skill)
Requirements & configuration
- you need to exclude unrelated components.
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
diagramming-code FAQ
What does the diagramming-code skill do?
> Generates Mermaid diagrams from Trailmark code graphs. Produces call graphs, class hierarchies, module dependency maps, containment diagrams, complexity heatmaps, and attack surface data flow visualizations. Use when visualizing code architecture, drawing call graphs, generating class diagrams, creating dependency maps, producing complexity heatmaps, or visualizing data flow and attack surface paths as Mermaid diagrams. Visualizing call paths between functions Drawing class inheritance hierarchies
What does diagramming-code require?
you need to exclude unrelated components.
How do I install diagramming-code?
Run: npx -y skills add https://github.com/trailofbits/skills --skill diagramming-code --agent claude-code — the source lives at github.com/trailofbits/skills.
Maintain diagramming-code?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[diagramming-code on getagentictools](https://getagentictools.com/skills/trailofbits-skills-diagramming-code?ref=badge) npx agentictools info skills/trailofbits-skills-diagramming-code The second line is the CLI lookup for this page — handy in READMEs and docs.