From excalidraw
Create Excalidraw diagrams as .excalidraw JSON files. Use when the user asks to create a diagram, flowchart, architecture visualization, or any visual explanation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/excalidraw:excalidrawThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
生成 `.excalidraw` JSON 檔案。圖表應**以視覺來論述**,而非單純陳列資訊。
cookbook/large-diagram-strategy.mdcookbook/simple-diagram.mdcookbook/technical-diagram.mdcookbook/visual-patterns.mdprompts/clarify-requirements.mdprompts/review-checklist.mdreferences/color-palette.mdreferences/element-templates.mdreferences/json-schema.mdreferences/templates/sample.excalidrawreferences/templates/sample.excalidraw.pngtools/excalidraw-to-png.py生成 .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.mdnpx claudepluginhub rdcrystallab/agentic-plugins --plugin excalidrawGenerates Excalidraw JSON diagram files (.excalidraw) for visualizing workflows, architectures, and concepts as visual arguments with evidence artifacts for technical diagrams.
Generates Excalidraw diagram JSON files (.excalidraw) that argue visually for workflows, architectures, or concepts. Ideal for teaching relationships, flows, and technical integrations with evidence artifacts.
Generates Excalidraw diagram JSON files that argue visually, not just display information. Use for workflows, architectures, or concepts.