A Claude Code skill that generates educational diagrams as Excalidraw JSON (.excalidraw) and PNG files.
Transforms concepts into visual diagrams — flowcharts, mind maps, comparisons, hierarchies, timelines, and cycle diagrams. Each diagram teaches through structure, not decoration.
| Request | Type |
|---|---|
| Process, workflow | Flowchart |
| Brainstorm, topic overview | Mind Map |
| "X vs Y", tradeoffs | Comparison |
| Categories, taxonomy | Hierarchy |
| Repeating process | Cycle |
| Steps over time | Timeline |
- Copy the
skill/directory to~/.claude/skills/visualize/ - Or install the packaged
visualize.skillfile
Trigger with /visualize or natural language:
- "Draw a flowchart of the CI/CD pipeline"
- "Create a mind map of React concepts"
- "Visualize how authentication works"
The skill includes validate_layout.py that checks for:
- Shape-shape overlaps (boxes too close or overlapping)
- Line-through-shape collisions (arrows passing through unrelated shapes)
- Text-shape overlaps
- Arrow-arrow overlaps (lines running on top of each other)
python3 skill/scripts/validate_layout.py diagram.excalidraw --min-gap 20skill/
├── SKILL.md # Skill definition and workflow
├── scripts/
│ ├── render_excalidraw.py # Pillow-based PNG renderer
│ └── validate_layout.py # Layout quality checker
└── references/
├── excalidraw-schema.md # Excalidraw JSON schema reference
└── diagram-patterns.md # Layout patterns and examples
.excalidraw— editable at excalidraw.com or in VS Code.png— rendered at 2x (retina) quality

