excalidraw-diagram-generator
由 elihuvillaraus 提供
Coding Agents & IDEs简介
Generate Excalidraw diagrams from natural language descriptions.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
安装
clawhub install elihuvillaraus/excalidraw-diagram-generator运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。