excalidraw
Hand-drawn Excalidraw sketches that agents and people edit together. Use when a diagram should look like a whiteboard sketch or the user wants to rearrange it…
от hyper-code-harness★ 22 звезды на GitHub
Установить excalidraw в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
excalidraw
Drawings are files: <root>/<name>.excalidraw (the scene) and <name>.svg (a preview the editor exports on every save). Root is the excalidraw.root setting, default drawings/ in the project.
Workflow
- Create:
excalidraw.write({ name, mermaid })— easiest; orskeleton: [{ type: "rectangle", id: "a", x: 0, y: 0, label: { text: "API" } }, { type: "arrow", x: 0, y: 0, start: { id: "a" }, end: { id: "b" } }]; or fullelements. In a skeleton, shapes with alabelgrow to fit the text around the same centre, and arrows withstart/endids and nopointsare routed edge to edge, so arrowx/ycan be left at 0. - Open: give the user
/excalidraw/<name>(orui.openUrl). Mermaid/skeleton are converted to real elements on first open, then the editor autosaves scene + SVG. - Read back:
excalidraw.read({ name })→outlinelists shapes, labels and arrows;svgis the preview. - Show inline in Markdown:
```excalidraw
butler
```
The block body is just the drawing name. Before the first open there is no preview, so the fence shows only the editor link.
Drawing together on the canvas
- Open a board beside the chat:
canvas.show({ kind: "excalidraw.board", args: { name } })— a new name starts a blank board. Never use aurlorhtmltab for Excalidraw. - See what the person drew:
excalidraw.read({ name })→outline(shapes, labels, arrows); to actually look, render<root>/<name>.svgto PNG (qlmanage -t -s 900 -o /tmp <name>.svg) and read the image. - Add to their drawing without losing it:
excalidraw.read({ name, scene: true }), keepscene.elements, append new full elements,excalidraw.write({ name, elements }). Askeleton/mermaidwrite REPLACES the whole drawing. excalidraw.writereloads any open board tab of that name on your canvas, so the person sees the change at once.
/excalidraw lists all drawings. The editor loads Excalidraw from esm.sh, so it needs internet access in the browser.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- package.json
- src/excalidraw/$app_excalidraw.json
- src/excalidraw/$canvas_board.ts
- src/excalidraw/$fence_excalidraw.ts
- src/excalidraw/$route_$name_GET.ts
- src/excalidraw/$route_$name_POST.ts
- src/excalidraw/$route__GET.ts
- src/excalidraw/$setting_root.ts
- src/excalidraw/$style_excalidraw.css
- src/excalidraw/cleanSvg.ts
- src/excalidraw/dir.ts
- src/excalidraw/editorPage.ts
- src/excalidraw/file.ts
- src/excalidraw/list.ts
- src/excalidraw/read.ts
- src/excalidraw/write.ts
FAQ
Что делает скилл excalidraw?
Hand-drawn Excalidraw sketches that agents and people edit together. Use when a diagram should look like a whiteboard sketch or the user wants to rearrange it by hand: create it with excalidraw.write (from Mermaid, a simple element skeleton or full elements), give the user /excalidraw/<name> to edit, read their changes back with excalidraw.read, and show it inline with a ```excalidraw fence.
Как установить скилл excalidraw?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл excalidraw запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…