Diagram Design
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
Professional Excalidraw diagram generation expert that creates complete, valid .excalidraw.json files based on user descriptions.
$ npx skills add kv0906/pm-kit --skill excalidraw-generator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kv0906/pm-kit excalidraw-generator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/excalidraw .claude/skills/excalidraw-generator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "excalidraw-generator" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/excalidraw into .claude/skills/excalidraw-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excalidraw-generator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kv0906/pm-kit/tree/main/.claude/skills/excalidrawType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kv0906/pm-kit --skill excalidraw-generator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kv0906/pm-kit excalidraw-generator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/excalidraw .agents/skills/excalidraw-generator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "excalidraw-generator" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/excalidraw into .agents/skills/excalidraw-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excalidraw-generator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kv0906/pm-kit --skill excalidraw-generator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kv0906/pm-kit excalidraw-generator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/excalidraw .cursor/skills/excalidraw-generator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "excalidraw-generator" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/excalidraw into .cursor/skills/excalidraw-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excalidraw-generator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kv0906/pm-kit.git --path .claude/skills/excalidraw--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kv0906/pm-kit --skill excalidraw-generator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kv0906/pm-kit excalidraw-generator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/excalidraw .gemini/skills/excalidraw-generator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "excalidraw-generator" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/excalidraw into .gemini/skills/excalidraw-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excalidraw-generator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kv0906/pm-kit excalidraw-generatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kv0906/pm-kit --skill excalidraw-generator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/excalidraw .github/skills/excalidraw-generator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "excalidraw-generator" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/excalidraw into .github/skills/excalidraw-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excalidraw-generator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kv0906/pm-kit --skill excalidraw-generator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kv0906/pm-kit excalidraw-generator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/excalidraw .opencode/skills/excalidraw-generator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "excalidraw-generator" agent skill from https://github.com/kv0906/pm-kit/tree/main/.claude/skills/excalidraw into .opencode/skills/excalidraw-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "excalidraw-generator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
excalidraw-generatorProfessional Excalidraw diagram generation expert that creates complete, valid .excalidraw.json files based on user descriptions.
Excalidraw Generator is an agent skill from kv0906/pm-kit. Professional Excalidraw diagram generation expert that creates complete, valid .excalidraw.json files based on user descriptions. Use ONLY when users explicitly mention "Excalidraw" or request to create diagrams specifically with Excalidraw (e.g., "用 Excalidraw 画个流程图", "generate an Excalidraw diagram", "create Excalidraw file"). Do NOT trigger for generic diagram requests without Excalidraw mention. Generates ready-to-open files instead of requiring copy-paste.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/elements.md`, `references/excalidraw-format.md` and `references/processing-loop-template.md`).
It sits in Development, covering Diagrams. It works with Excalidraw. The repository describes itself as: AI-augmented PM workspace for Coding Agents — daily standups, decisions, blockers, docs, and sprint reviews as markdown skills. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2cb5d9f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
excalidraw.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Excalidraw Generator loads about 3k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 122 tokens; SKILL.md has 891 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from kv0906/pm-kit at commit 2cb5d9f, republished under its MIT licence (© kv0906). 891 words, ~3,045 tokens.
.claude/skills/excalidraw-generator/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Create complete, valid .excalidraw.json files that users can directly open at excalidraw.com.
Diagram types supported:
Two visual styles:
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}Use a 20px grid for alignment:
GRID_UNIT = 20
COLUMN_WIDTH = 200 # Element + gap
ROW_HEIGHT = 150 # Element + gap
Position formula:
x = START_X + (column * COLUMN_WIDTH)
y = START_Y + (row * ROW_HEIGHT)
Recommended START_X = 50, START_Y = 100| Element | Width | Height | Use Case |
|---|---|---|---|
| Small box | 120 | 60 | Labels, simple steps |
| Standard box | 160 | 80 | Process steps |
| Large box | 200 | 100 | Detailed nodes |
| Wide box | 240 | 80 | Long text |
| Diamond | 100 | 100 | Decision points |
| Circle | 80 | 80 | Start/End nodes |
textHeight = fontSize × lineHeight × numberOfLines
= fontSize × 1.25 × numberOfLines
Examples:
- 1 line, fontSize 20: 20 × 1.25 × 1 = 25px
- 3 lines, fontSize 14: 14 × 1.25 × 3 = 52.5px ≈ 53px
- 12 lines, fontSize 15: 15 × 1.25 × 12 = 225pxtext_x = shape_x + (shape_width - text_width) / 2
text_y = shape_y + (shape_height - text_height) / 2| Font Size | Char Width | Line Height | Use |
|---|---|---|---|
| 11 | ~6px | 15px | Labels, annotations |
| 12 | ~7px | 16px | Secondary text |
| 14 | ~8px | 18px | Body text |
| 16 | ~9px | 20px | Primary text |
| 18 | ~10px | 24px | Headings |
| 20 | ~11px | 26px | Titles |
| 28 | ~16px | 35px | Icons/Emoji |
Estimate text_width: char_count × char_width
Shape: x=100, y=100, width=160, height=80
Text: "Process" (7 chars), fontSize=16
text_width = 7 × 9 = 63
text_height = 1 × 20 = 20
text_x = 100 + (160 - 63) / 2 = 148.5 ≈ 148
text_y = 100 + (80 - 20) / 2 = 130containerHeight = headerHeight + attributesHeight + methodsHeight + padding
Where:
- headerHeight = classNameTextHeight + topPadding (typically 15px + 15px = 30px)
- attributesHeight = fontSize × 1.25 × numberOfAttributes + 10px
- methodsHeight = fontSize × 1.25 × numberOfMethods + 10px
Example (12 attributes, 10 methods, fontSize 15):
- Header: 20 + 15 = 35px
- Attributes: 15 × 1.25 × 12 + 10 = 235px
- Methods: 15 × 1.25 × 10 + 10 ≈ 198px
- Total: 35 + 10 + 235 + 10 + 198 = 488px (round to 500px)From shape at (x1, y1, w1, h1) to shape at (x2, y2, w2, h2):
arrow_x = x1 + w1 # Right edge of source
arrow_y = y1 + h1/2 # Vertical center
gap = x2 - (x1 + w1) # Space between shapes
points = [[0, 0], [gap, 0]]arrow_x = x1 + w1/2 # Horizontal center
arrow_y = y1 + h1 # Bottom edge of source
gap = y2 - (y1 + h1)
points = [[0, 0], [0, gap]]From bottom-right back to left:
Start: (800, 400)
points=[
[0, 0], # Start
[0, 80], # Down
[-400, 80], # Left
[-400, -150] # Up to target
]Elements render in array order. First = back, last = front.
Correct order:
Use for: Architecture diagrams, UML, technical docs, formal presentations
{
"roughness": 0,
"fillStyle": "solid",
"strokeWidth": 2,
"fontFamily": 2
}Colors (light backgrounds for readability):
| Purpose | Background |
|---|---|
| Primary | #e7f5ff |
| Success | #ebfbee |
| Warning | #fff9db |
| Accent | #f3f0ff |
| Secondary | #fff4e6 |
Use for: Brainstorming, sketches, informal sharing
{
"roughness": 1,
"fillStyle": "hachure",
"strokeWidth": 2,
"fontFamily": 1
}Colors (medium saturation):
| Purpose | Background |
|---|---|
| Primary | #a5d8ff |
| Success | #b2f2bb |
| Warning | #ffec99 |
| Error | #ffc9c9 |
| Accent | #d0bfff |
| Secondary | #ffd8a8 |
Stroke color: #1e1e1e (dark gray, softer than pure black)
{
"id": "unique-id",
"type": "rectangle",
"x": 100,
"y": 100,
"width": 160,
"height": 80,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 100,
"version": 1,
"isDeleted": false,
"boundElements": null,
"link": null,
"locked": false
}Rectangle: Add "roundness": {"type": 3} for rounded corners
Text:
{
"type": "text",
"text": "Content\nLine 2",
"fontSize": 16,
"fontFamily": 1,
"textAlign": "center",
"verticalAlign": "middle"
}Arrow/Line:
{
"type": "arrow",
"points": [[0, 0], [100, 0]],
"startArrowhead": null,
"endArrowhead": "arrow"
}null, "arrow", "bar", "dot", "triangle"Match the request to a diagram type:
Templates in assets/:
flowchart-template.jsonarchitecture-template.jsonuml-class-template.jsonmindmap-template.jsonUsage:
Key element types:
rectangle - Boxes, containers, processesellipse - Start/end nodes, databasesdiamond - Decisions, conditional branchesarrow / line - Connections, flowstext - Labels, descriptionsUse the grid system and text centering formulas above.
Layout strategies:
Always save directly as .excalidraw.json (no code blocks).
user-login-flow.excalidraw.json)After saving, provide:
For A → B → C processes:
For conditional branches:
For layered architectures:
For concept exploration:
Before generating:
[
{
"id": "node1-box",
"type": "rectangle",
"x": 100, "y": 100, "width": 160, "height": 80,
"strokeColor": "#1971c2",
"backgroundColor": "#a5d8ff",
"fillStyle": "solid",
"strokeWidth": 2,
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 100,
"version": 1,
"isDeleted": false,
"boundElements": [{"id": "arrow1", "type": "arrow"}],
"roundness": {"type": 3},
"link": null,
"locked": false
},
{
"id": "node1-text",
"type": "text",
"x": 130, "y": 130,
"width": 100, "height": 20,
"text": "Process Step",
"fontSize": 16,
"fontFamily": 1,
"textAlign": "center",
"verticalAlign": "middle",
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 1,
"roughness": 1,
"opacity": 100,
"angle": 0,
"seed": 101,
"version": 1,
"isDeleted": false,
"boundElements": null,
"link": null,
"locked": false
}
]For large or complex diagrams:
Templates for common diagram types:
flowchart-template.jsonarchitecture-template.jsonuml-class-template.jsonmindmap-template.jsonexcalidraw-format.md - Complete JSON format specificationelements.md - Element types and propertiesprocessing-loop-template.md - Processing loop example© kv0906, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in .claude/skills/excalidraw of kv0906/pm-kit.
Open the folder on GitHubat commit 2cb5d9f
Excalidraw Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Excalidraw Generator this skillkv0906/pm-kit | 138 | — | ~3k | Automated safety check: Pass | MIT | |
| Diagram Designcathrynlavery/diagram-design | 48k | 1 repos | ~7.6k | Automated safety check: Pass | MIT | |
| Excalidraw Diagramcoleam00/excalidraw-diagram-skill | 5k | 2 repos | ~6.1k | Automated safety check: Pass | None | |
| Excalidraw Diagrambreferrari/obsidian-mind | 5k | — | ~3.9k | Automated safety check: Pass | MIT | |
| Excalidraw Skillyctimlin/mcp_excalidraw | 2.5k | — | ~4.6k | Automated safety check: Pass | MIT | |
| Lanshu Animated Architecture Diagramcclank/lanshu-animated-architecture-diagram | 995 | — | ~1.1k | Automated safety check: Pass | MIT |
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
coleam00/excalidraw-diagram-skill
Create Excalidraw diagram JSON files that make visual arguments.
breferrari/obsidian-mind
Generate Excalidraw diagrams from text content. An agent skill from breferrari/obsidian-mind.
yctimlin/mcp_excalidraw
Excalidraw canvas toolkit for creating, editing, and refining diagrams on a live canvas.
cclank/lanshu-animated-architecture-diagram
Create premium hand-drawn architecture and process diagrams in the Lanshu animated GIF style, with editable .excalidraw files, static PNG previews, and genuinely animated GIFs with moving flow…
tech-leads-club/agent-skills
Generates Excalidraw diagram files from plain descriptions, choosing among flowcharts, mind maps, architecture, swimlane, class, sequence and ER diagrams.
kv0906/pm-kit
Transform text content into professional Mermaid diagrams for presentations and documentation.
kv0906/pm-kit
This skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my…
kv0906/pm-kit
Jira integration via acli CLI. An agent skill from kv0906/pm-kit.
kv0906/pm-kit
Fast vault Q&A — quick lookups, decision history, blocker status, doc search.
kv0906/pm-kit
Flag a blocker with severity, owner, and due date. An agent skill from kv0906/pm-kit.
kv0906/pm-kit
Log standup update with keyword detection. An agent skill from kv0906/pm-kit.
Works with
Categories
Professional Excalidraw diagram generation expert that creates complete, valid .excalidraw.json files based on user descriptions. Excalidraw Generator is an agent skill from kv0906/pm-kit.json files based on user descriptions.
Excalidraw Generator fits situations like: S explicitly mention Excalidraw; request to create diagrams specifically with Excalidraw (e.g; 用 Excalidraw 画个流程图; generate an Excalidraw diagram.
Run `npx skills add kv0906/pm-kit --skill excalidraw-generator -a claude-code`. Or copy the skill folder (.claude/skills/excalidraw in kv0906/pm-kit) into .claude/skills/excalidraw-generator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kv0906/pm-kit --skill excalidraw-generator -a codex`. Or copy the skill folder (.claude/skills/excalidraw in kv0906/pm-kit) into .agents/skills/excalidraw-generator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kv0906/pm-kit --skill excalidraw-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/excalidraw-generator, .gemini/skills/excalidraw-generator, .github/skills/excalidraw-generator and .opencode/skills/excalidraw-generator in your project.
SKILL.md names no scripts, command-line tools or credentials: Excalidraw Generator is instructions for the agent only.
SKILL.md names 1 domain. In commands or code: excalidraw.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Excalidraw Generator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Excalidraw Generator: Diagram Design (cathrynlavery/diagram-design, 48k stars), Excalidraw Diagram (coleam00/excalidraw-diagram-skill, 5k stars), Excalidraw Diagram (breferrari/obsidian-mind, 5k stars) and Excalidraw Skill (yctimlin/mcp_excalidraw, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kv0906 (a GitHub user) maintains it in kv0906/pm-kit, which has 138 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on June 29, 2026.
Source: kv0906/pm-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.