excalidraw-diagram
Skill1 starsChanged 3 months agoMITView on GitHub
Use when the user wants a hand-drawn-style diagram — architecture, flow chart, sequence diagram, or mind map — as an Excalidraw-compatible JSON file, rather than a polished, corporate-looking diagram.
51 other projects use a version of this.
Adopted by
Most recently taken up by
- podo/design-agent-skillstheir own version, first seen Nov 8, 2026
- levi-qiao/obsidian-llm-wikitheir own version, first seen Nov 8, 2026
- ZhouYinLong-lab/Dog-Skillstheir own version, first seen Nov 8, 2026
- codetesla51/skillstheir own version, first seen Nov 1, 2026
- hmjBill/skillstheir own version, first seen Oct 29, 2026
- tony-hoang-ai-automation/mkt-skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use mermaid-visualizer, obsidian-canvas-creator and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
BCS1037Skillmermaid-visualizer
Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.
Also in 7 projects that use this
BCS1037Skillobsidian-canvas-creator
Create Obsidian Canvas files from text content, supporting both MindMap and freeform layouts. Use this skill when users want to visualize content as an interactive canvas, create mind maps, or organize information spatially in Obsidian format.
Also in 4 projects that use this
MicrosoftSkillrvap-brand
Applies the RVAP (Real Value Acceleration Program) brand identity — colors, fonts, logo, and layout patterns — consistently to any GitHub Pages website. Use this skill whenever someone asks to brand, rebrand, apply RVAP/RVAS visual identity, make a site look RVAP, match the brand kit, or transform a GitHub Pages site's look and feel to match RVAP. Also trigger when the user shares an HTML/CSS/MkDocs site and says it should look consistent with other RVAP/RVAS materials, even if they don't explicitly say "brand".
Also in 3 projects that use this
XIYBHKSkillhuashu-design
花叔Design(Huashu-Design)——用HTML做高保真原型、交互Demo、幻灯片、动画、设计变体探索+设计方向顾问+专家评审的一体化设计能力。HTML是工具不是媒介,根据任务embody不同专家(UX设计师/动画师/幻灯片设计师/原型师),避免web design tropes。触发词:做原型、设计Demo、交互原型、HTML演示、动画Demo、设计变体、hi-fi设计、UI mockup、prototype、设计探索、做个HTML页面、做个可视化、app原型、iOS原型、移动应用mockup、导出MP4、导出GIF、60fps视频、设计风格、设计方向、设计哲学、配色方案、视觉风格、推荐风格、选个风格、做个好看的、评审、好不好看、review this design。**主干能力**:Junior Designer工作流(先给假设+reasoning+placeholder再迭代)、反AI slop清单、React+Babel最佳实践、Tweaks变体切换、Speaker Notes演示、Starter Components(幻灯片外壳/变体画布/动画引擎/设备边框)、App原型专属守则(默认从Wikimedia/Met/Unsplash取真图、每台iPhone包AppPhone状态管理器可交互、交付前跑Playwright点击测试)、Playwright验证、HTML动画→MP4/GIF视频导出(25fps基础 + 60fps插帧 + palette优化GIF + 6首场景化BGM + 自动fade)。**需求模糊时的Fallback**:设计方向顾问模式——从5流派×20种设计哲学(Pentagram信息建筑/Field.io运动诗学/Kenya Hara东方极简/Sagmeister实验先锋等)推荐3个差异化方向,展示24个预制showcase(8场景×3风格),并行生成3个视觉Demo让用户选。**交付后可选**:专家级5维度评审(哲学一致性/视觉层级/细节执行/功能性/创新性各打10分+修复清单)。
Also in 4 projects that use this
HK-hubSkilldefuddle
Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page.
Also in 5 projects that use this
wangzhuofengSkillobsidian-bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
Also in 6 projects that use this
Other versions51 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 51
- breferrari/obsidian-mind★ 5.4ksame name
- coleam00/excalidraw-diagram-skill★ 4.7ksame name
- axtonliu/axton-obsidian-visual-skills★ 3.6ksame name
- xstongxue/best-skills★ 2.9ksame name
- luanmorenommaciel/agentspec★ 256same name
- walidboulanouar/Ay-Skills★ 90same name
- tenstorrent/tt-xla★ 74same name
- kv0906/cc-skills★ 42same name
- codetesla51/skills★ 32same name
- podo/design-agent-skills★ 32same name
41 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-test-suiteSkill
- ascii-artSkill
- caddy-reverse-proxySkill
- changelog-generatorSkill
- color-palette-generatorSkill
- cron-taskSkill
- csv-toolkitSkill
- discord-bot-buildSkill
- docker-umbrellaSkill
- dotfiles-manageSkill
- email-sendSkill
- env-config-managerSkill
- file-organizerSkill
- forgejo-self-hostSkill
- frontend-design-toolkitSkill
- generate-dockerfileSkill
- gif-searchSkill
- git-backupSkill
- github-actions-ciSkill
- hallmark-readmeSkill
- http-api-testerSkill
- invoice-generatorSkill
- json-formatterSkill
- log-analyzerSkill
- markdown-linterSkill
- markdown-to-pdfSkill
- markdown-to-slidesSkill
- mcp-server-buildSkill
- media-id-mappingSkill
- movie-catalogue-siteSkill
- movie-night-calendarSkill
- ntfy-notifierSkill
- ocr-documentsSkill
- ollama-localSkill
- openapi-generatorSkill
- password-generatorSkill
- pdf-extractSkill
- portfolio-upkeepSkill
- qr-code-generatorSkill
- regex-testerSkill
- resume-builderSkill
- rss-monitorSkill
- searxng-self-hostSkill
- skill-publishSkill
- skill-registry-catalogSkill
- skills-portfolio-scaffoldSkill
- snippet-managerSkill
- sqlite-dashboardSkill
- streaming-provider-embedsSkill
- tailscale-deploySkill
- telegram-bot-buildSkill
- tmdb-metadataSkill
- uptime-kuma-self-hostSkill
- watchlist-syncSkill
- webhook-receiverSkill
- youtube-transcriptSkill
The file
Files
excalidraw-diagram
Overview
Generate Excalidraw-compatible JSON diagrams in a hand-drawn style. The agent creates architecture diagrams, flow charts, sequence diagrams, and mind maps as Excalidraw files that can be opened in the Excalidraw editor or exported as PNG/SVG.
When to Use
- The user wants a diagram for documentation or a presentation.
- The user wants a hand-drawn style diagram (not polished/corporate).
- The user wants an architecture, flow, or sequence diagram.
- The user says "draw a diagram", "make an architecture diagram", or "visualize this flow".
Excalidraw JSON Format
Excalidraw files are JSON with an elements array. Each element is a shape (rectangle, ellipse, arrow, line, text).
{
"type": "excalidraw",
"version": 2,
"source": "hermes",
"elements": [
{
"type": "rectangle",
"x": 100, "y": 100,
"width": 200, "height": 80,
"strokeColor": "#1e88e5",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 2,
"roughness": 1,
"id": "rect-1"
},
{
"type": "text",
"x": 120, "y": 130,
"text": "API Server",
"fontSize": 20,
"fontFamily": 1,
"id": "text-1"
}
],
"appState": { "viewBackgroundColor": "#ffffff" }
}Helper Functions
Rectangle with label
import json, uuid
def box(x, y, w, h, label, color="#1e88e5"):
"""Create a labeled rectangle element."""
rect_id = str(uuid.uuid4())
text_id = str(uuid.uuid4())
return [
{
"type": "rectangle", "x": x, "y": y, "width": w, "height": h,
"strokeColor": color, "backgroundColor": "transparent",
"fillStyle": "hachure", "strokeWidth": 2, "roughness": 1,
"id": rect_id, "seed": 1
},
{
"type": "text", "x": x + 10, "y": y + h/2 - 10,
"text": label, "fontSize": 20, "fontFamily": 1,
"textAlign": "center", "id": text_id, "seed": 2
}
]
def arrow(x1, y1, x2, y2, label="", color="#1e88e5"):
"""Create an arrow element between two points."""
elements = [{
"type": "arrow", "x": x1, "y": y1,
"width": x2 - x1, "height": y2 - y1,
"points": [[0, 0], [x2 - x1, y2 - y1]],
"strokeColor": color, "strokeWidth": 2, "roughness": 1,
"id": str(uuid.uuid4()), "seed": 3
}]
if label:
elements.append({
"type": "text",
"x": (x1 + x2) / 2, "y": (y1 + y2) / 2 - 15,
"text": label, "fontSize": 16, "fontFamily": 1,
"id": str(uuid.uuid4()), "seed": 4
})
return elements
def circle(x, y, r, label, color="#e91e63"):
"""Create a labeled circle."""
return [
{"type": "ellipse", "x": x, "y": y, "width": r*2, "height": r*2,
"strokeColor": color, "backgroundColor": "transparent",
"fillStyle": "hachure", "strokeWidth": 2, "roughness": 1,
"id": str(uuid.uuid4()), "seed": 5},
{"type": "text", "x": x + r - len(label)*5, "y": y + r - 10,
"text": label, "fontSize": 18, "fontFamily": 1,
"id": str(uuid.uuid4()), "seed": 6}
]
def build_diagram(elements_list, filepath="diagram.excalidraw"):
"""Assemble elements into an Excalidraw file."""
elements = []
for el_list in elements_list:
elements.extend(el_list)
diagram = {
"type": "excalidraw", "version": 2, "source": "hermes",
"elements": elements,
"appState": {"viewBackgroundColor": "#ffffff"}
}
with open(filepath, "w") as f:
json.dump(diagram, f, indent=2)
return filepathArchitecture Diagram Example
# Client → API → Database
elements = [
box(100, 100, 200, 80, "Web Client"),
box(400, 100, 200, 80, "API Server"),
box(700, 100, 200, 80, "PostgreSQL"),
arrow(300, 140, 400, 140, "HTTP"),
arrow(600, 140, 700, 140, "SQL"),
]
build_diagram(elements, "architecture.excalidraw")Flow Chart Example
# Start → Decision → (Yes: Action, No: End)
elements = [
circle(200, 50, 40, "Start"),
box(150, 150, 200, 80, "Process Data"),
box(150, 300, 200, 80, "Valid?"),
box(400, 300, 200, 80, "Save Result"),
circle(200, 450, 40, "End"),
arrow(200, 90, 200, 150, ""),
arrow(200, 230, 200, 300, ""),
arrow(350, 340, 400, 340, "Yes"),
arrow(200, 380, 200, 450, "No"),
arrow(500, 300, 500, 200, ""), # loop back
]
build_diagram(elements, "flowchart.excalidraw")Opening the Diagram
- Open
https://excalidraw.comin a browser - File → Open → select the
.excalidrawfile - Or drag and drop the file onto the Excalidraw window
Common Pitfalls
- Coordinate system — Excalidraw uses a top-left origin, y increases downward. Plan your layout before generating elements.
- Text positioning — Text elements need manual x/y positioning. Center text by offsetting from the box:
x + width/2 - len(label) * fontSize/4. - Arrow endpoints — Arrows use
pointsrelative to the start positionx, y.points: [[0, 0], [dx, dy]]draws from (x, y) to (x+dx, y+dy). - Roughness —
roughness: 0= clean,roughness: 1= hand-drawn,roughness: 2.5= very sketchy. Default to 1 for the hand-drawn aesthetic. - Font family —
1= Virgil (hand-drawn),2= Helvetica,3= Cascadia (mono). Use 1 for the Excalidraw look. - File size — Large diagrams with many elements produce large JSON. Keep diagrams to under 50 elements for readability.
Verification Checklist
- File opens without errors in https://excalidraw.com (File → Open, or drag-and-drop)
- Every arrow visually connects its two intended shapes — no floating or misaligned endpoints
- Text labels are fully visible, not clipped by or overlapping their container shape
- Element count stays under ~50 for a single diagram, split into multiple files otherwise
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

