excalidraw-diagram
Skill1 starsChanged 8 days agoMITView on GitHub
This skill should be used when the user needs to create a diagram using Excalidraw — a hand-drawn style whiteboard tool. Use when the user wants a sketch-style architecture diagram, system design, concept map, user flow, or any visual that benefits from the informal, freehand aesthetic of Excalidraw. Outputs an embedded Excalidraw file ready for use in Obsidian or standalone.
54 other projects use a version of this.
Adopted by
Most recently taken up by
- fengqing008/weishuihuanbaotheir own version, first seen Nov 29, 2026
- einverne/agent-skillstheir own version, first seen Nov 29, 2026
- bingwu-devkit/skillstheir own version, first seen Nov 22, 2026
- AlejandroGodius/claude-skillstheir own version, first seen Nov 16, 2026
- podo/design-agent-skillstheir own version, first seen Nov 8, 2026
- levi-qiao/obsidian-llm-wikitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use mermaid-visualizer, obsidian-canvas-creator and 9 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 8 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
MicrosoftSkillgestures
Build drag, swipe, and sheet interactions that track the finger 1:1 and stay interruptible. Use when building or fixing anything the user drags, swipes, flings, holds, or dismisses with a gesture — drawers, sheets, swipe-to-dismiss toasts and cards, drag-to-reorder, pull-to-refresh, hold-to-confirm — or when a gesture feels laggy, disconnected from the finger, jumps on release, or can't be caught mid-animation. Triggers on — gesture, drag, swipe, fling, sheet, snap points, Vaul, Motion drag props, rubber-band, pull to refresh, hold to delete, touch-action, "doesn't follow my finger", "jumps when I let go", "can't grab it mid-animation".
Also in 3 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 7 projects that use this
wangzhuofengSkilljson-canvas
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.
Also in 5 projects that use this
- +4 more from microsoft
Other versions54 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 54
- breferrari/obsidian-mind★ 5.4ksame name
- coleam00/excalidraw-diagram-skill★ 4.7ksame name
- axtonliu/axton-obsidian-visual-skills★ 3.6ksame name
- xstongxue/best-skills★ 3.2ksame name
- luanmorenommaciel/agentspec★ 261same name
- walidboulanouar/Ay-Skills★ 90same name
- tenstorrent/tt-xla★ 74same name
- kv0906/cc-skills★ 42same name
- podo/design-agent-skills★ 39same name
- codetesla51/skills★ 32same name
44 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 repository53 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- abx-strategySkill
- academic-cv-builderSkill
- audio-transcriberSkill
- banner-designSkill
- brandSkill
- career-changer-translatorSkill
- cover-letter-generatorSkill
- creative-portfolio-resumeSkill
- deep-researchSkill
- designSkill
- design-systemSkill
- document-converterSkill
- executive-resume-writerSkill
- interview-prep-generatorSkill
- job-description-analyzerSkill
- linkedin-profile-optimizerSkill
- mckinsey-strategistSkill
- mermaid-diagramSkill
- obsidian-automationSkill
- obsidian-canvasSkill
- obsidian-frontmatterSkill
- obsidian-linksSkill
- obsidian-markdownSkill
- obsidian-note-builderSkill
- offer-comparison-analyzerSkill
- portfolio-case-study-writerSkill
- pptx-translatorSkill
- product-architectureSkill
- product-deliverySkill
- product-discoverySkill
- product-leadershipSkill
- product-operating-modelSkill
- product-strategySkill
- prompt-engineerSkill
- reference-list-builderSkill
- resume-ats-optimizerSkill
- resume-bullet-writerSkill
- resume-formatterSkill
- resume-quantifierSkill
- resume-section-builderSkill
- resume-tailorSkill
- resume-version-managerSkill
- salary-negotiation-prepSkill
- slidesSkill
- startup-growth-strategistSkill
- storytelling-expertSkill
- tech-resume-optimizerSkill
- ui-stylingSkill
- ui-ux-pro-maxSkill
- us-program-researchSkill
- webpage-readerSkill
- youtube-summarizerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 47 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Do NOT use this skill when:
- Distinctive: line 75
If the user's request is vague ("draw our system"), ask one clarifying question:
- Distinctive: line 84
Concept maps: Place the central concept in the middle.
- Distinctive: line 85
User flows: Use horizontal layout. Actors as column headers at the top.
- Distinctive: line 86
C4 sketches: Use nested rectangles. Outer box = system, inner boxes = containers, innermost = components.
- Distinctive: line 192
After the output, explain how to use it:
- Distinctive: line 202
Every arrow must have a label if the relationship is not obvious.
- Distinctive: line 203
Avoid crossing arrows where possible — reroute elements to minimize crossings.
- Distinctive: line 206
Use the color scheme consistently: blue = frontend, green = backend, orange = external.
- Distinctive: line 207
Add a legend box at the bottom right when using 3+ colors.
- Very specific: line 210
Use fontFamily: 1 (the hand-drawn font) for titles and labels.
- Distinctive: line 211
Keep label text short: 3-5 words maximum per element.
- Very specific: line 212
Use ALL_CAPS or Title Case for component names, sentence case for descriptions.
- Distinctive: line 223
Use element IDs that are duplicated — every ID must be unique
- Distinctive: line 226
Use more than 20 elements without suggesting the diagram be split
- Very specific: line 230
Use the roughness: 1 property for the hand-drawn aesthetic
“Common” is measured: kept by at least 6 in 10 of the 47 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
This skill creates diagrams using the Excalidraw format — a JSON-based drawing format rendered by the Excalidraw library and its integrations. The output has a distinctive hand-drawn, whiteboard aesthetic that is ideal for architecture sketches, concept maps, brainstorming visuals, and informal system diagrams.
Unlike Mermaid which produces precise, flow-based diagrams from DSL text, Excalidraw uses geometric primitives (rectangles, ellipses, arrows, text, lines) laid out on a freeform canvas. The hand-drawn style makes it suitable for early-stage thinking, workshop facilitation, and documentation where the informal look communicates "this is a sketch, not a specification."
In Obsidian, Excalidraw files are supported via the Excalidraw plugin by Zsolt Viczian, which renders .excalidraw files natively and allows embedding them in notes.
When to Use
Invoke this skill when:
- The user explicitly asks for an Excalidraw diagram
- The user wants a "sketch-style" or "whiteboard" diagram
- The user says "draw this informally" or "make it look hand-drawn"
- The user needs a system architecture or C4-style diagram with an informal aesthetic
- The user wants a concept map or mind map with free positioning (not the rigid Mermaid mindmap syntax)
- The user is working in Obsidian and wants to embed a whiteboard-style drawing
- The user wants a diagram exported as
.excalidrawfile or embedded in a Markdown note
Do NOT use this skill when:
- The user wants precise, structured flowcharts with clear graph routing — use
mermaid-diagraminstead - The user wants a structured knowledge graph layout in Obsidian — use
obsidian-canvasinstead - The user asks for a "professional" or "polished" diagram (Excalidraw's hand-drawn look is intentionally informal)
- The user wants to embed code blocks or data-driven diagrams
Excalidraw Output Formats
| Format | Use Case |
Obsidian embed (.md with JSON) | Embedded in an Obsidian note, edited with the Excalidraw plugin |
Standalone .excalidraw file | Opened directly in Excalidraw app or excalidraw.com |
| Animated SVG | Excalidraw plugin "export animated" feature — for presentations |
Diagram Types
Systems architecture
Boxes representing services/components connected with labeled arrows. Uses color to group related components (e.g., blue for frontend, green for backend, orange for external).
Concept map / mind map
Central concept with radiating branches. Each branch is a related idea. Uses curved arrows and freeform text nodes.
User flow / journey
Horizontal swim lanes for actors. Steps flow left to right. Decision points use diamond shapes.
C4-style sketch
Four levels: System Context → Container → Component → Code. Each level drawn as nested boxes with arrows for interactions.
Sequence sketch
Actors as columns, time flowing downward. Message arrows between columns with labels.
Workflow
Step 1: Identify the Diagram Type and Content
From the user's request, determine:
- Diagram type from the list above
- Main components — the nodes/entities in the diagram
- Relationships — how components connect (and the labels on connections)
- Layout preference — horizontal flow, vertical hierarchy, radial, or freeform
If the user's request is vague ("draw our system"), ask one clarifying question:
- "What are the main components to include?"
- "Should this be a sketch of the overall architecture, or a sequence of interactions?"
Step 2: Design the Layout
Plan the component positions before writing the Excalidraw JSON:
- Architecture diagrams: Group related components into clusters. Place external systems at the edges. Group by layer (frontend → backend → data → external).
- Concept maps: Place the central concept in the middle. Branch outward with related concepts at a radius of 200-300 units.
- User flows: Use horizontal layout. Actors as column headers at the top. Steps flow left to right.
- C4 sketches: Use nested rectangles. Outer box = system, inner boxes = containers, innermost = components.
Color guidelines:
- Blue (
#1971c2/ fill#d0ebff) — user-facing or frontend components - Green (
#2f9e44/ fill#d3f9d8) — backend or processing components - Orange (
#e8590c/ fill#ffe8cc) — external systems or third-party services - Purple (
#862e9c/ fill#f3d9fa) — data storage or databases - Gray (
#495057/ fill#f1f3f5) — infrastructure or platform components
Step 3: Generate the Excalidraw JSON
Excalidraw diagrams are JSON objects with an elements array. Each element is a shape with position, size, style, and content properties.
Element schema:
{
"type": "rectangle",
"id": "unique-id",
"x": 100,
"y": 200,
"width": 160,
"height": 80,
"strokeColor": "#1971c2",
"backgroundColor": "#d0ebff",
"fillStyle": "hachure",
"strokeWidth": 2,
"roughness": 1,
"opacity": 100,
"text": "Component Name",
"fontSize": 16,
"fontFamily": 1,
"textAlign": "center",
"verticalAlign": "middle"
}Shape types:
rectangle— boxes for components and systemsellipse— circles/ovals for actors or rounded shapesdiamond— decision pointsarrow— directed connections between componentsline— undirected connectionstext— standalone labels
Arrow element:
{
"type": "arrow",
"id": "arrow-1",
"x": 260,
"y": 240,
"width": 140,
"height": 0,
"points": [[0, 0], [140, 0]],
"startBinding": {"elementId": "source-id", "gap": 5, "focus": 0},
"endBinding": {"elementId": "target-id", "gap": 5, "focus": 0},
"strokeColor": "#343a40",
"strokeWidth": 2,
"roughness": 1
}Full Excalidraw file structure:
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
}
}Step 4: Output the Diagram
For standalone .excalidraw file output:
Output the complete JSON block in a fenced code block labeled json. Instruct the user to save it as DiagramName.excalidraw.
For Obsidian embed:
Wrap the JSON in an Obsidian Excalidraw note format — a Markdown file with an excalidraw-plugin: parsed frontmatter and the JSON embedded in a code fence:
---
excalidraw-plugin: parsed
tags:
- excalidraw
---
```json
{
"type": "excalidraw",
...
}
```Save as DiagramName.excalidraw.md in the vault. Embed in any note with ![[DiagramName.excalidraw.md]].
For animated SVG: Note that animated export requires the Obsidian Excalidraw plugin's export command — it cannot be generated as pure JSON. Guide the user through: Design view → ⋮ menu → Export as animated SVG.
Step 5: Provide Rendering Instructions
After the output, explain how to use it:
- Obsidian: Install the Excalidraw plugin by Zsolt Viczian. Save the file with
.excalidraw.mdextension. Open in Obsidian to see the rendered diagram. Embed with![[filename.excalidraw.md]]. - Excalidraw.com: Go to excalidraw.com → ☰ Open → paste JSON.
- VS Code: Install the "Excalidraw" VS Code extension to render
.excalidrawfiles.
Design Principles
Clarity over complexity:
- Limit to 10-15 elements per diagram. Larger diagrams should be split.
- Every arrow must have a label if the relationship is not obvious.
- Avoid crossing arrows where possible — reroute elements to minimize crossings.
Grouping by color:
- Use the color scheme consistently: blue = frontend, green = backend, orange = external.
- Add a legend box at the bottom right when using 3+ colors.
Typography:
- Use
fontFamily: 1(the hand-drawn font) for titles and labels. - Keep label text short: 3-5 words maximum per element.
- Use ALL_CAPS or Title Case for component names, sentence case for descriptions.
Spacing:
- Maintain at least 40px gap between elements to prevent crowding.
- Grid spacing of 20px keeps elements visually aligned without rigid structure.
- Arrow labels should be positioned midpoint between source and target.
Critical Rules
NEVER:
- Output partial JSON that is not valid Excalidraw format
- Use element IDs that are duplicated — every ID must be unique
- Reference an element in a binding that does not exist in the elements array
- Include CJK characters, non-ASCII text, or language-specific content in labels
- Use more than 20 elements without suggesting the diagram be split
- Output a Mermaid block when the user asked for Excalidraw
ALWAYS:
- Use the
roughness: 1property for the hand-drawn aesthetic - Assign unique, descriptive IDs (e.g.,
frontend-ui,api-gateway,user-db) - Include a label on every arrow
- Output valid JSON that can be pasted directly into Excalidraw or saved as a file
- Note which Obsidian plugin is required (Excalidraw by Zsolt Viczian)
Example Usage
Example 1: Three-tier web architecture
User: "Draw a simple three-tier web architecture: browser, API server, and database."
Produces: An Excalidraw JSON with three boxes (Browser in blue, API Server in green, Database in purple) connected by two labeled arrows (HTTP Request/Response, SQL Query/Result). Grid layout, left to right.
Example 2: Concept map for product strategy
User: "Create a concept map where Product Strategy is the center, connected to: Vision, ICP, Positioning, Pricing, GTM, and Roadmap."
Produces: A radial layout with "Product Strategy" as a central ellipse and six boxes arranged around it, each connected with an arrow. Consistent spacing (~250px radius), short labels.
Example 3: User registration flow
User: "Sketch a user registration flow: User fills form → Validate email → Check if email exists → (Yes) Show error → (No) Hash password → Save to DB → Send confirmation."
Produces: A left-to-right flowchart with rectangles for process steps, a diamond for the decision point, two branches (Yes to error box, No continuing the flow), and end at "Send confirmation."
Example 4: C4 Context diagram
User: "Draw a C4 context diagram for our SaaS application. Users interact with our Web App. The Web App calls our Payment Provider and sends emails via our Email Service."
Produces: A C4-style sketch with User as a person icon (ellipse), Web App as the central rectangle, and two external system boxes (Payment Provider, Email Service) at the right edge. Labeled arrows for each interaction.
Example 5: Team structure org chart
User: "Quick org chart sketch: CPO at top, under CPO are PM Lead and Design Lead, under PM Lead are three PMs, under Design Lead are two Designers."
Produces: A top-down tree with seven total boxes, connected by hierarchical lines, using gray for the org structure coloring and clear label names.
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.

