excalidraw-diagram

Installation
Summary

Generate Excalidraw diagrams from text in three output formats: Obsidian markdown, standard JSON, or animated sequences.

  • Detects output mode from trigger words (Excalidraw, 画图, 标准Excalidraw, Excalidraw动画, etc.) and generates appropriate file format (.md for Obsidian, .excalidraw for standard and animated modes)
  • Supports eight diagram types: flowchart, mind map, hierarchy, relationship, comparison, timeline, matrix, and freeform layouts with automatic type selection based on content analysis
  • Animated mode adds sequential drawing order and duration to each element, compatible with excalidraw-animate for SVG/WebM export
  • Enforces design rules including Excalifont typography (fontFamily: 5), minimum 14px font sizes, predefined color palette, and text character replacements (quotes to 『』, parentheses to 「」)
  • Auto-saves generated files to current working directory with semantic filenames like [topic].[type].md and provides usage instructions for each output mode
SKILL.md

Excalidraw Diagram Generator

Create Excalidraw diagrams from text content with multiple output formats.

Output Modes

根据用户的触发词选择输出模式:

触发词 输出模式 文件格式 用途
Excalidraw画图流程图思维导图 Obsidian(默认) .md 在 Obsidian 中直接打开
标准Excalidrawstandard excalidraw Standard .excalidraw 在 excalidraw.com 打开/编辑/分享
Excalidraw动画动画图animate Animated .excalidraw 拖到 excalidraw-animate 生成动画

Workflow

  1. Detect output mode from trigger words (see Output Modes table above)
  2. Analyze content - identify concepts, relationships, hierarchy
  3. Choose diagram type (see Diagram Types below)
Related skills
Installs
2.1K
GitHub Stars
2.8K
First Seen
Jan 20, 2026