rnjn/cc-excalidraw-skill/rnjn-excalidraw
Claude Code and agent skill by rnjn/cc-excalidraw-skill
- community
Checking that the SKILL.md file is still in the repository.
Create and edit Excalidraw diagrams programmatically. Use when the user asks to create diagrams, flowcharts, architecture diagrams, wireframes, or any visual drawings in Excalidraw format (.excalidraw files).
Install
npx vskill@latest install rnjn/cc-excalidraw-skill/rnjn-excalidrawSKILL.md
Excalidraw Diagram Creation
This skill enables you to create beautiful, hand-drawn style diagrams in the Excalidraw JSON format.
File Format Overview
Excalidraw files (.excalidraw) are JSON with this structure:
Quick Start - Creating Elements
Every element needs at minimum: type, id, x, y, and styling properties.
Minimal Rectangle
Text Element
Arrow Element
Element Types
| Type | Use For | |
|---|---|---|
rectangle | Boxes, containers, cards | |
ellipse | Circles, ovals, nodes | |
diamond | Decision points, conditions | |
text | Labels, descriptions | |
arrow | Connections, flow direction | |
line | Connectors without arrowheads | |
freedraw | Hand-drawn paths | |
image | Embedded images | |
frame | Grouping/framing elements |
Color Palette (Recommended)
Backgrounds
#a5d8ff- Light blue#b2f2bb- Light green#ffec99- Light yellow#ffc9c9- Light red/pink#e9ecef- Light gray#d0bfff- Light purple#99e9f2- Light cyan
Strokes
#1e1e1e- Default black#1971c2- Blue#2f9e44- Green#f08c00- Orange#e03131- Red#9c36b5- Purple
Styling Properties
| Property | Values | Description | |
|---|---|---|---|
fillStyle | "solid", "hachure", "cross-hatch" | Fill pattern | |
strokeWidth | 1, 2, 4 | Line thickness | |
strokeStyle | "solid", "dashed", "dotted" | Line style | |
roughness | 0, 1, 2 | Hand-drawn feel (0=smooth, 2=rough) | |
opacity | 0-100 | Transparency | |
roundness | { "type": 3 } | Rounded corners |
Connecting Elements with Arrows
To connect shapes with arrows, use bindings:
Also add boundElements to the connected shapes:
Font Families
| Value | Font | |
|---|---|---|
1 | Hand-drawn (Virgil) | |
2 | Normal (Helvetica) | |
3 | Code (Cascadia) |
Best Practices
- Generate unique IDs - Use descriptive prefixes like
rect-1,arrow-2,text-header - Use random seeds - Each element needs a unique
seedfor consistent rendering - Space elements well - Leave 50-100px between elements
- Align elements - Use consistent x/y coordinates for visual alignment
- Group related items - Use matching
groupIdsarrays - Use the color palette - Stick to Excalidraw's built-in colors for consistency
Diagram Types You Can Create
| Type | Description | |
|---|---|---|
| Flowcharts | Process flows, algorithms, decision trees | |
| Sequence Diagrams | API calls, user interactions, message flows | |
| Architecture Diagrams | System design, microservices, infrastructure | |
| Mind Maps | Brainstorming, concept mapping, idea organization | |
| Data Flow Diagrams | Data movement, system analysis | |
| ERD | Database schemas, entity relationships | |
| Wireframes | UI mockups, layout sketches |
Reference Documentation
- [diagram-patterns.md](diagram-patterns.md) - Professional patterns for each diagram type (flowcharts, sequence diagrams, mind maps, architecture, etc.)
- [examples.md](examples.md) - Complete working JSON examples you can use as templates
- [element-reference.md](element-reference.md) - Full property reference for all element types
- [best-practices.md](best-practices.md) - Design tips, color theory, typography guidelines
Quick Tips for Beautiful Diagrams
- Use `roughness: 0` for formal/technical diagrams,
roughness: 1for friendly sketches - Use `fontFamily: 2` (Helvetica) for professional look,
fontFamily: 1(Virgil) only when casual look is requested - Consistent spacing - 100px between major elements, 50px for related items
- Color semantics - Blue for info/input, Green for success/data, Yellow for decisions, Red for errors
- Arrow conventions - Solid for actions, Dashed for responses/async
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSKILL.md
Popularity
- Repository stars
- 67
- Repository forks
- 5
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rnjn/cc-excalidraw-skill/rnjn-excalidraw)