In the Skill's Own Terms
Generates Excalidraw-format diagrams from natural language descriptions. Supports nine diagram types: flowcharts for sequential processes, relationship diagrams for entity connections, mind maps for concept hierarchies, architecture diagrams for system design, data flow diagrams for data transformation processes, business flow swimlane diagrams for cross-functional workflows, class diagrams for object-oriented design, sequence diagrams for object interactions over time, and ER diagrams for database entity relationships.
Outputs .excalidraw JSON files with appropriate elements (rectangles, ellipses, diamonds, arrows, text) positioned using calculated coordinates and styled with consistent color schemes. Files open directly in Excalidraw at excalidraw.com or via the VS Code extension.
What it produces
- Complete .excalidraw JSON file with descriptive filename
- Summary of what was created including diagram type and element count
- Instructions for opening and editing the diagram in Excalidraw
How It Works
- 01Understand the Request
Analyzes the user's description to determine diagram type (flowchart, relationship, mind map, architecture), key elements (entities, steps, concepts), relationships (flow, connections, hierarchy), and complexity (number of elements).
- 02Choose the Appropriate Diagram Type
Matches user intent to diagram type by recognizing keywords.
- 03Extract Structured Information
Lists elements based on diagram type. For flowcharts: sequential steps, decision points, start and end points.
- 04Generate the Excalidraw JSON
Creates the .excalidraw file with appropriate element types (rectangle, ellipse, diamond, arrow, text) and sets key properties including position (x, y coordinates), size (width, height), style (strokeColor, backgroundColor, fillStyle), font (fontFamily: 5 for Excalifont), and connections (points array for arrows).
- 05Format the Output
Structures the complete Excalidraw file with type, version, source, elements array, appState (viewBackgroundColor, gridSize), and files object.
- 06Save and Provide Instructions
Saves as descriptive-name.excalidraw and informs user how to open by visiting excalidraw.com, clicking Open or drag-and-drop the file, or using Excalidraw VS Code extension.