Excalidraw Diagram Skill
Generate hand-drawn-style architecture, flow, and data-structure diagrams as .excalidraw JSON. Open and continue editing in Excalidraw, Obsidian, or VS Code. By 小帅同学 (@xstongxue).
Source: github.com
Install
npx degit xstongxue/best-skills/skills/excalidraw-diagram ~/.claude/skills/excalidraw-diagram excalidraw-diagram produces standard .excalidraw JSON files that open
directly in Excalidraw, Obsidian’s Excalidraw plugin, or the VS Code
extension. The output is fully editable, not a flattened image.
Diagram types
- System architecture — clients, frontends, services, databases, externals
- Business flow / sequence-ish — top-down or left-to-right step ordering
- Data structure / module dependency — entity relationships
- Free whiteboard — research framework, task breakdown, mind-mapping
How it composes
The skill expects (or guides you to provide) a structured input:
【Diagram type】: architecture / flow / structure / freeform
【Source】: free description / paper outline / code structure / API list
【Nodes】: list of modules / entities / steps (groupable)
【Edges】: who connects whom, direction, label
【Layout】: top-down / left-right / layered
【Color rules】: per-type color preferences
It builds an abstract model first (nodes + edges + layers), then produces coordinates with a simple readable layout — no fancy auto-routing, just “clean enough.”
Where it shines
- Hand-drawn vibe matters — informal team docs, README diagrams, research notes
- Iteration friendly — you’ll edit the diagram by hand after
- Cross-tool portability — .excalidraw works everywhere
Pairs with
drawio-diagram— when formal styling matters (use that instead)- Obsidian / Logseq notebooks — drop the file straight into your vault
Example prompt
Use excalidraw-diagram to draw the architecture of a typical RAG pipeline:
user → frontend → API gateway → embedder → vector DB → LLM. Use top-down
layout, group by layer (client / API / data).
Related skills
Anthropic Brand Guidelines Skill
Apply Anthropic's official colors and typography to any artifact. Poppins for headings, Lora for body, three accent colors that won't fight each other.
Canvas Design Skill
One-prompt poster generation with editorial typography, layered composition, and color systems baked in.
Draw.io Architecture Diagram Skill
Generate Draw.io diagrams for ML models, network architectures, and algorithm flows. Two modes — generate from scratch or transfer-style from a reference image. By 小帅同学 (@xstongxue).
More from 小帅同学 (@xstongxue)
Draw.io Architecture Diagram Skill
Generate Draw.io diagrams for ML models, network architectures, and algorithm flows. Two modes — generate from scratch or transfer-style from a reference image. By 小帅同学 (@xstongxue).
PPT-Gen via Draw.io Skill
Generate multi-page Draw.io decks for thesis defense or general business presentations — auto-export to .pptx. Custom template extraction supported. By 小帅同学 (@xstongxue).
WeChat Article Writer Skill
Full-stack WeChat article workflow — write the post, generate cover art, body illustrations, and clone any author's style. Nine writing styles built in. By 小帅同学 (@xstongxue).