/excalidraw-studio
Generate Excalidraw diagrams from natural language descriptions. Outputs .excalidraw JSON files openable in Excalidraw. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", "generate an Excalidraw
$ npx -y skills add tech-leads-club/agent-skills --skill excalidraw-studio --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/excalidraw-studio
Context preview
The summary Claude sees to decide when to auto-load this skill.
Generate Excalidraw diagrams from natural language descriptions. Outputs .excalidraw JSON files openable in Excalidraw. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", "generate an Excalidraw
SKILL.md
excalidraw-studio.SKILL.mdname: excalidraw-studio
description: Generate Excalidraw diagrams from natural language descriptions. Outputs .excalidraw JSON files openable in Excalidraw. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", "generate an Excalidraw file", "draw an ER diagram", "create a sequence diagram", or "make a class diagram". Supports flowcharts, relationship diagrams, mind maps, architecture, DFD, swimlane, class, sequence, and ER diagrams. Can use icon libraries (AWS, GCP, etc.) when set up. Do NOT use for code architecture analysis (use the architecture skills), Mermaid diagram rendering (use mermaid-studio), or non-visual documentation (use docs-writer).
license: CC-BY-4.0
metadata:
author: Felipe Rodrigues - github.com/felipfr
version: 1.0.1
Excalidraw Studio
Generate Excalidraw-format diagrams from natural language descriptions. Outputs `.excalidraw` JSON files that can be opened directly in Excalidraw (web, VS Code extension, or Obsidian plugin).
Workflow
UNDERSTAND → CHOOSE TYPE → EXTRACT → GENERATE → SAVE
Step 1: Understand the Request
Analyze the user's description to determine:
1. **Diagram type** — Use the decision matrix below 2. **Key elements** — Entities, steps, concepts, actors 3. **Relationships** — Flow direction, connections, hierarchy 4. **Complexity** — Number of elements (target: under 20 for clarity)
Step 2: Choose the Diagram Type and Visual Mode
**Diagram type:**
| User Intent | Diagram Type | Keywords | | -------------------------- | -------------------- | --------------------------------------------- | | Process flow, steps | **Flowchart** | "workflow", "process", "steps" | | Connections, dependencies | **Relationship** | "relationship", "connections", "dependencies" | | Concept hierarchy | **Mind Map** | "mind map", "concepts", "breakdown" | | System design | **Architecture** | "architecture", "system", "components" | | Data movement | **Data Flow (DFD)** | "data flow", "data processing" | | Cross-functional processes | **Swimlane** | "business process", "swimlane", "actors" | | Object-oriented design | **Class Diagram** | "class", "inheritance", "OOP" | | Interaction sequences | **Sequence Diagram** | "sequence", "interaction", "messages" | | Database design | **ER Diagram** | "database", "entity", "data model" |
**Visual mode** — decide upfront and apply consistently to all elements:
| Mode | `roughness` | `fontFamily` | When to use | | ---------- | ----------- | ------------ | ---------------------------------------------------- | | **Sketch** | `1` | `5` | Default — informal, approachable, Excalidraw-native | | **Clean** | `0` | `2` | Executive presentations, formal specs | | **Mixed** | zones: `0`, shapes: `1` | `5` | Architecture diagrams (structural zones + sketchy shapes) |
Step 3: Extract Structured Information
Extract the key components based on diagram type. For each type, identify:
- **Nodes/entities** — What are the boxes/shapes?
- **Connections** — What connects to what, and with what label?
- **Hierarchy** — What contains what, what comes before what?
- **Decision points** — Where does the flow branch?
For detailed extraction guidelines per diagram type, read `references/element-types.md`.
Step 4: Generate the Excalidraw JSON
**CRITICAL: Read `references/excalidraw-schema.md` before generating your first diagram.** It contains the correct element format, text container model, and binding system.
Key rules for generation:
1. **Text inside shapes** — Use `boundElements` on the shape and a separate text element with `containerId`. Never use a `label` shorthand:
[
{
"id": "step-1",
"type": "rectangle",
"x": 100, "y": 100, "width": 200, "height": 80,
"boundElements": [{ "type": "text", "id": "text-step-1" }]
},
{
"id": "text-step-1",
"type": "text",
"x": 130, "y": 128, "width": 140, "height": 24,
"text": "My Step", "originalText": "My Step",
"fontSize": 20, "fontFamily": 5,
"textAlign": "center", "verticalAlign": "middle",
"containerId": "step-1", "lineHeight": 1.25, "roundness": null
}
]2. **Arrow labels** — Also use `boundElements` + separate text element with `containerId`. Never use a `label` shorthand on arrows:
[
{
"id": "arrow-1",
"type": "arrow",
"x": 100, "y": 150,
"points": [[0, 0], [200, 0]],
"boundElements": [{ "type": "text", "id": "text-arrow-1" }]
},
{
"id": "text-arrow-1",
"type": "text",
"x": 160, "y": 132, "width": 80, "height": 18,
"text": "sends data", "originalText": "sends data",
"fontSize": 14, "fontFamily": 5,
"textAlign": "center", "verticalAlign": "middle",
"containerId": "arrow-1", "lineHeight": 1.25, "roundness": null
}
]3. **Arrow bindings** — Use `startBinding`/`endBinding` (not `start`/`end`). Connected shapes must list the arrow in their `boundElements`:
{
"id": "shape-1",
"boundElements": [
{ "type": "text", "id": "text-shape-1" },
{ "type": "arrow", "id": "arrow-1" }
]
} {
"id": "arrow-1",
"type": "arrow",
"startBinding": { "elementId": "shape-1", "focus": 0, "gap": 1 },
"endBinding": { "elementId": "shape-2", "focus": 0, "gap": 1 }
}4. **Element order for z-index** — Always declare shapes first, arrows second, text elements last. This guarantees text renders on top and is never obscured by arrow
Read more
name: excalidraw-studio description: Generate Excalidraw diagrams from natural language descriptions. Outputs .excalidraw JSON files openable in Excalidraw. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", "generate an Excalidraw file", "draw an ER diagram", "create a sequence diagram", or "make a class diagram". Supports flowcharts, relationship diagrams, mind maps, architecture, DFD, swimlane, class, sequence, and ER diagrams. Can use icon libraries (AWS, GCP, etc.) when set up. Do NOT use for code architecture analysis (use the architecture skills), Mermaid diagram rendering (use mermaid-studio), or non-visual documentation (use docs-writer). license: CC-BY-4.0 metadata: author: Felipe Rodrigues - github.com/felipfr version: 1.0.1
Excalidraw Studio
Generate Excalidraw-format diagrams from natural language descriptions. Outputs `.excalidraw` JSON files that can be opened directly in Excalidraw (web, VS Code extension, or Obsidian plugin).
Workflow
UNDERSTAND → CHOOSE TYPE → EXTRACT → GENERATE → SAVE
Step 1: Understand the Request
Analyze the user's description to determine:
1. **Diagram type** — Use the decision matrix below 2. **Key elements** — Entities, steps, concepts, actors 3. **Relationships** — Flow direction, connections, hierarchy 4. **Complexity** — Number of elements (target: under 20 for clarity)
Step 2: Choose the Diagram Type and Visual Mode
**Diagram type:**
| User Intent | Diagram Type | Keywords | | -------------------------- | -------------------- | --------------------------------------------- | | Process flow, steps | **Flowchart** | "workflow", "process", "steps" | | Connections, dependencies | **Relationship** | "relationship", "connections", "dependencies" | | Concept hierarchy | **Mind Map** | "mind map", "concepts", "breakdown" | | System design | **Architecture** | "architecture", "system", "components" | | Data movement | **Data Flow (DFD)** | "data flow", "data processing" | | Cross-functional processes | **Swimlane** | "business process", "swimlane", "actors" | | Object-oriented design | **Class Diagram** | "class", "inheritance", "OOP" | | Interaction sequences | **Sequence Diagram** | "sequence", "interaction", "messages" | | Database design | **ER Diagram** | "database", "entity", "data model" |
**Visual mode** — decide upfront and apply consistently to all elements:
| Mode | `roughness` | `fontFamily` | When to use | | ---------- | ----------- | ------------ | ---------------------------------------------------- | | **Sketch** | `1` | `5` | Default — informal, approachable, Excalidraw-native | | **Clean** | `0` | `2` | Executive presentations, formal specs | | **Mixed** | zones: `0`, shapes: `1` | `5` | Architecture diagrams (structural zones + sketchy shapes) |
Step 3: Extract Structured Information
Extract the key components based on diagram type. For each type, identify:
- **Nodes/entities** — What are the boxes/shapes?
- **Connections** — What connects to what, and with what label?
- **Hierarchy** — What contains what, what comes before what?
- **Decision points** — Where does the flow branch?
For detailed extraction guidelines per diagram type, read `references/element-types.md`.
Step 4: Generate the Excalidraw JSON
**CRITICAL: Read `references/excalidraw-schema.md` before generating your first diagram.** It contains the correct element format, text container model, and binding system.
Key rules for generation:
1. **Text inside shapes** — Use `boundElements` on the shape and a separate text element with `containerId`. Never use a `label` shorthand:
[
{
"id": "step-1",
"type": "rectangle",
"x": 100, "y": 100, "width": 200, "height": 80,
"boundElements": [{ "type": "text", "id": "text-step-1" }]
},
{
"id": "text-step-1",
"type": "text",
"x": 130, "y": 128, "width": 140, "height": 24,
"text": "My Step", "originalText": "My Step",
"fontSize": 20, "fontFamily": 5,
"textAlign": "center", "verticalAlign": "middle",
"containerId": "step-1", "lineHeight": 1.25, "roundness": null
}
]2. **Arrow labels** — Also use `boundElements` + separate text element with `containerId`. Never use a `label` shorthand on arrows:
[
{
"id": "arrow-1",
"type": "arrow",
"x": 100, "y": 150,
"points": [[0, 0], [200, 0]],
"boundElements": [{ "type": "text", "id": "text-arrow-1" }]
},
{
"id": "text-arrow-1",
"type": "text",
"x": 160, "y": 132, "width": 80, "height": 18,
"text": "sends data", "originalText": "sends data",
"fontSize": 14, "fontFamily": 5,
"textAlign": "center", "verticalAlign": "middle",
"containerId": "arrow-1", "lineHeight": 1.25, "roundness": null
}
]3. **Arrow bindings** — Use `startBinding`/`endBinding` (not `start`/`end`). Connected shapes must list the arrow in their `boundElements`:
{
"id": "shape-1",
"boundElements": [
{ "type": "text", "id": "text-shape-1" },
{ "type": "arrow", "id": "arrow-1" }
]
} {
"id": "arrow-1",
"type": "arrow",
"startBinding": { "elementId": "shape-1", "focus": 0, "gap": 1 },
"endBinding": { "elementId": "shape-2", "focus": 0, "gap": 1 }
}4. **Element order for z-index** — Always declare shapes first, arrows second, text elements last. This guarantees text renders on top and is never obscured by arrow
The secure, validated skill registry for professional AI coding agents. Extend Antigravity, Claude Code, Cursor, Copilot and more with absolute confidence.
Repo: tech-leads-club/agent-skills
Other skills on tech-leads-club-agent-skills.
- /component-common-domain-detection
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic duplicated?", "find common code between services", "what can be consolidated?", "detect shared domain logic", or analyzing component overlap before
Open skill - /component-flattening-analysis
Detects misplaced classes and fixes component hierarchy problems — finds code that should belong inside a component but sits at the root level. Use when asking "clean up component structure", "find orphaned classes", "fix module hierarchy", "flatten nested components", or
Open skill - /component-identification-sizing
Maps architectural components in a codebase and measures their size to identify what should be extracted first. Use when asking "how big is each module?", "what components do I have?", "which service is too large?", "analyze codebase structure", "size my monolith", or planning
Open skill - /coupling-analysis
Analyzes coupling between modules using the three-dimensional model (strength, distance, volatility) from "Balancing Coupling in Software Design". Use when asking "are these modules too coupled?", "show me dependencies", "analyze integration quality", "which modules should I
Open skill - /decomposition-planning-roadmap
Creates step-by-step decomposition plans and migration roadmaps for breaking apart monolithic applications. Use when asking "what order should I extract services?", "plan my migration", "create a decomposition roadmap", "prioritize what to split", "monolith to microservices
Open skill - /domain-analysis
Maps business domains and suggests service boundaries in any codebase using DDD Strategic Design. Use when asking "what are the domains in this codebase?", "where should I draw service boundaries?", "identify bounded contexts", "classify subdomains", "DDD analysis", or analyzing
Open skill

