/excalidraw:excalidrawfrom excalidraw
Create Excalidraw diagrams as .excalidraw JSON files. Use when the user asks to create a diagram, flowchart, architecture visualization, or any visual explanation.
Ships in excalidraw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
生成 .excalidraw JSON 檔案。圖表應以視覺來論述,而非單純陳列資訊。
依循 Instructions 指示,執行 Workflow,根據 Cookbook 選擇對應流程。
ENABLE_SIMPLE_DIAGRAMS: true ENABLE_TECHNICAL_DIAGRAMS: true
references/color-palette.md — 它是所有色彩選擇的唯一真相來源。Cookbook 判斷應使用哪個工作流程。prompts/clarify-requirements.md 模板引導提問。圖表應該論述(argue),而非展示(display)。 圖表是一個視覺論述,展示文字無法單獨表達的關係、因果與流程。
references/color-palette.md 取得色彩配置。prompts/clarify-requirements.md 進行澄清。Cookbook 條目執行。prompts/review-checklist.md 進行系統性審查。ENABLE_SIMPLE_DIAGRAMS 為 true。cookbook/simple-diagram.mdENABLE_TECHNICAL_DIAGRAMS 為 true。cookbook/technical-diagram.mdcookbook/large-diagram-strategy.md。cookbook/visual-patterns.mdroughness: 0 — 乾淨俐落的邊緣(專業圖表的預設值)strokeWidth: 2 — 形狀和主要箭頭的標準寬度opacity: 100 — 所有元素一律使用fontFamily: 3 — 等寬字體fontSize: 16, textAlign: "center", verticalAlign: "middle""text" 和 "originalText" 中使用 \n{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": {
"viewBackgroundColor": "#ffffff",
"gridSize": 20
},
"files": {}
}
元素模板:references/element-templates.md
完整 JSON schema:references/json-schema.md
textAlign: "left", verticalAlign: "top")。葉節點矩形:標籤置中。單從 JSON 無法判斷圖表品質。生成或編輯 Excalidraw JSON 後,必須渲染為 PNG、檢視圖片、修正看到的問題。
uv run tools/excalidraw-to-png.py <path-to-file.excalidraw>
這會在原始檔案旁輸出 .excalidraw.png。然後使用 Read tool 檢視 PNG。
prompts/review-checklist.md,逐項檢查。uv run --with 'playwright>=1.40.0' python -m playwright install chromium
references/templates/sample.excalidrawreferences/color-palette.mdreferences/element-templates.mdreferences/json-schema.mdcookbook/large-diagram-strategy.md (opens in a new tab)cookbook/simple-diagram.md (opens in a new tab)cookbook/technical-diagram.md (opens in a new tab)cookbook/visual-patterns.md (opens in a new tab)prompts/clarify-requirements.md (opens in a new tab)prompts/review-checklist.md (opens in a new tab)references/color-palette.md (opens in a new tab)references/element-templates.md (opens in a new tab)references/json-schema.md (opens in a new tab)references/templates/sample.excalidraw (opens in a new tab)references/templates/sample.excalidraw.png (opens in a new tab)tools/excalidraw-to-png.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rdcrystallab/agentic-plugins --plugin excalidraw