excalidraw-diagramming
Excalidraw Diagramming
Overview
A Mermaid diagram is text that a renderer lays out; an Excalidraw diagram is a JSON list of shapes at explicit coordinates that you compute yourself. That's the entire difference in difficulty between this skill and design-doc-diagramming — the diagram-type selection logic is similar, but here there's no auto-layout backstop, so a diagram with overlapping elements or disconnected arrows is a bug you introduced, not a renderer quirk to work around. Use this skill when the deliverable is a standalone .excalidraw file someone opens and edits directly (a whiteboard-style artifact), not a diagram embedded in a Markdown design doc.
When to Use
- Asked to "create a diagram," "make a flowchart," "visualize a process," "draw a system architecture," or "generate an Excalidraw file"
- The user wants a diagram they can open and directly rearrange in the Excalidraw app or website, not a text-based diagram embedded in a doc
- NOT for a diagram meant to live inside a project's Markdown design doc — use
design-doc-diagramming, whose Mermaid output renders inline in almost every Markdown viewer without a separate app
Process
1. Identify the diagram type
Match the request to one of: flowchart, relationship diagram, mind map, architecture diagram, data flow diagram, business flow/swimlane, class diagram, sequence diagram, or ER diagram. See references/excalidraw-element-patterns.md for the keyword-to-type mapping and the element conventions specific to each.