excalidraw-diagram-generator
by elihuvillaraus
Coding Agents & IDEsBrief
Generate Excalidraw diagrams from natural language descriptions.
Description
What This Skill Does
Converts natural language descriptions into Excalidraw JSON diagram files. Supports flowcharts, mind maps, ER diagrams, sequence diagrams, class diagrams, swimlane charts, and architecture diagrams. Output files open directly in Excalidraw.
Skips manual drawing entirely by generating valid Excalidraw JSON from plain text, which is faster than building diagrams by hand in the editor.
When to Use It
- Map out a user registration flow as a flowchart
- Generate a database ER diagram from entity descriptions
- Create a mind map for a brainstorming session
- Visualize microservice architecture and component dependencies
- Diagram a multi-actor business process with swimlanes
Example Workflow
User asks: Create a flowchart for a password reset process
- 1
Identifies diagram type as flowchart and extracts steps: request reset, send email, verify token, set new password, confirm success
- 2
Assigns coordinates using vertical layout with 150px vertical gap between steps
- 3
Generates rectangle elements for each step and diamond for the token verification decision point
- 4
Connects elements with arrows and applies consistent color scheme
- 5
Saves output as password-reset-flow.excalidraw
A .excalidraw file with 5 shape elements and 4 arrows, ready to open at excalidraw.com
Installation
clawhub install elihuvillaraus/excalidraw-diagram-generatorRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.