🧩 What it is / what it does
The skill excalidraw-diagram-generator converts natural language descriptions into files .excalidraw (JSON) that open directly in Excalidraw — with no additional setup.
Excalidraw is a freehand-style diagramming tool (hand-drawn look). The skill turns text into Structured JSON compatible with the Excalidraw schema — elements such as rectangles, ellipses, diamonds, arrows, and text, each with position, size, color, and style properties.
🎣 When it triggers
Claude invokes the excalidraw-diagram-generator when it recognizes one of the trigger phrases listed in the description from the skill.
🚀 How it improves your pages
Diagrams delivered already editable eliminate the cycle of “create in Figma, export PNG, repeat for every change.”
- ✓ Generate a system architecture diagram in the very first conversation
- ✓ Create an onboarding flow to include in docs or presentations
- ✓ Map dependencies between code modules in a mind map
- ✓ Use the delivered file as an editable draft in Excalidraw
- ✗ Expecting pixel-perfect rendering — the style is intentionally "sketch"
- ✗ Request formal UML diagrams with strict notation (use Mermaid for this)
- ✗ Generate more than ~40 nodes in a single call — quality degrades
- ✗ Use as a substitute for precise vector tools (Illustrator, Figma)
⚙️ How it works under the hood
6-step pipeline defined in SKILL.md: understand → choose type → extract structure → generate JSON → format output → save and instruct.
.excalidrawlib into individual icons for use in diagrams with external libraries (AWS, Material, etc.).startBinding e endBinding.
- • Flowchart: 5–15 nodes
- • Mind map: 1 center + up to 8 branches
- • Relationships: up to 10 entities
- • Architecture: 6–12 components
- • More than 40 elements in one call
- • Diagrams with dense overlap
- • Labels longer than 3–4 words
- • Hierarchies with more than 4 levels
💬 Practical example + Ready-to-use PROMPT
Three real-world scenarios: a process flowchart, system architecture with icons, and a strategy mind map.
You want to visually document your team's CI/CD pipeline in the README.
Architecture diagram for a technical presentation to the team.
.excalidraw with all elements positioned. Open in excalidraw.com or in the desktop app—no additional installation needed. Adjust colors and positions freely after generation.
🧬 Works well with / limitations — and the contrast with beautiful-mermaid
Excalidraw and beautiful-mermaid complement each other: one for visual sketches, the other for precise technical diagrams.
- • Style hands-free — relaxed look, ideal for presentations and wireframes
- • File editable — you open and adjust each element on the canvas
- • No formal notation — complete layout freedom
- • Best for: onboarding, casual technical docs, visual brainstorming
- • Style clean technical — precise rendering based on Mermaid text
- • Code as the source — versionable diagrams in Git
- • Formal notation: Sequence, Class, Gantt, ER, C4, Git graph
- • Best for: PRs, technical READMEs, API documentation, reports
Use Excalidraw for the initial draft, then convert it to Mermaid when you need a versionable, precise diagram in the repo.
Extract a site's structure with website-intelligence, then visualize its information architecture in an Excalidraw diagram.
Map the component architecture with Excalidraw before building with web-artifacts-builder — the diagram becomes the visual specification.
Automate opening and screenshotting the .excalidraw file in the browser with agent-browser to integrate the diagram into documentation pipelines.
- • Doesn't support formal UML diagrams (use Mermaid classDiagram or sequenceDiagram)
- • Icons from external libraries (AWS, Material) require manual setup with
split-excalidraw-library.py - • Node positioning is approximate — very complex layouts may need manual adjustment
- • Doesn't replace vector tools for precise UI design
✅ Module 4.2 Summary
.excalidraw from natural-language descriptionssplit-excalidraw-library.py with manual setup