excalidraw
/excalidraw
Создание схем и диаграмм в Excalidraw для Obsidian. Use when user says 'сделай схему', 'нарисуй диаграмму', 'excalidraw', 'схема в obsidian', 'визуализация'.
- Author
- AlekseiUL ↗
- Repository
- sprut-agent-kit ↗
- Licence
- MIT
- Last repository change
- 06.06.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 06.06.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: template.js
What it does and when to use it
Создание схем и диаграмм в Excalidraw для Obsidian. Use when user says 'сделай схему', 'нарисуй диаграмму', 'excalidraw', 'схема в obsidian', 'визуализация'.
Triggers from the description
Original author description
Создание схем и диаграмм в Excalidraw для Obsidian. Use when user says 'сделай схему', 'нарисуй диаграмму', 'excalidraw', 'схема в obsidian', 'визуализация'.
How it works
- Важно! Формат Excalidraw в Obsidian
- Как создавать схему
- Скрипт-генератор
- Стиль схем для владельца
- Чеклист перед созданием
- Открытие в Obsidian
- Примеры рабочих схем
SKILL.md preview
---
name: excalidraw
description: "Создание схем и диаграмм в Excalidraw для Obsidian. Use when user says 'сделай схему', 'нарисуй диаграмму', 'excalidraw', 'схема в obsidian', 'визуализация'."
---
---
name: excalidraw
description: "Создание схем и диаграмм в Excalidraw для Obsidian. Use when user says 'сделай схему', 'нарисуй диаграмму', 'excalidraw', 'схема в obsidian', 'визуализация'."
---
# Excalidraw Skill — Создание схем для Obsidian
**Триггеры:** "сделай схему", "нарисуй диаграмму", "excalidraw", "схема в obsidian", "визуализация"
---
## Важно! Формат Excalidraw в Obsidian
Obsidian Excalidraw плагин использует **сжатый формат** `compressed-json` (LZ-string).
Обычный JSON в code block **НЕ РАБОТАЕТ** — схема откроется как текст!
---
## Как создавать схему
### Шаг 1: Использовать генератор
Запустить скрипт `scripts/gen_excalidraw_v2.js` как шаблон или создать новый:
```bash
node scripts/gen_excalidraw_v2.js > "obsidian/Название.excalidraw.md"
```
### Шаг 2: Структура файла
```markdown
---
excalidraw-plugin: parsed
tags: [excalidraw, тема]
---
# Excalidraw Data
## Text Elements
Текст блока 1 ^id1
Текст блока 2 ^id2
%%
## Drawing
\`\`\`compressed-json
[сжатый JSON через lz-string]
\`\`\`
%%
```
### Шаг 3: Привязка текста к блокам (КРИТИЧНО!)
**Текст ОБЯЗАТЕЛЬНО должен быть привязан к контейнеру!**
На прямоугольнике:
```json
{
"type": "rectangle",
"id": "box1",
"boundElements": [{ "type": "text", "id": "box1-text" }]
}
```
На тексте:
```json
{
"type": "text",
"id": "box1-text",
"containerId": "box1"
}
```
**Без этой связи текст НЕ отображается внутри блоков!**
---
## Скрипт-генератор
Путь: `scripts/gen_excalidraw_v2.js`
Использует:
- `lz-string` для сжатия (npm install lz-string)
- Helper функции для создания блоков с привязанным текстом
### Основные функции:
```javascript
// Блок с текстом внутри
createBox(id, x, y, width, height, strokeColor, bgColor, text, fontSize)
// Отдельный текст (заголовки)
createText(id, x, y, text, fontSize, color)
// Стрелка
createArrow(id, x, y, dx, dy, color)
```
---
## Стиль схем для владельца
### Цвета фона
- Чёрный фон: `#000000`
- Тёмно-серый блок: `#111827`
- Очень тёмный: `#0f0f23`
### Цвета акцентов
- Зелёный (успех, поток): `#22c55e` / bg `#14532d`
- Оранжевый (warning, Gateway): `#f97316` / bg `#7c2d12`
- Фиолетовый (API, premium): `#a855f7` / bg `#581c87`
- Синий (user, channels): `#3b82f6` / bg `#1e3a8a`
- Индиго (агент): `#4338ca` / bg `#312e81`
- Серый (контейнеры): `#374151` / bg `#111827`
### Шрифты
- Заголовок: 24-28px
- Секции: 20px
- Блоки: 13-14px
- Подписи стрелок: 12px
### Язык
- Всё на русском
- Понятные описания
- Эмодзи для визуальных якорей ( 👤 ⚡ 🤖 📁 🔑)
---
## Чеклист перед созданием
1. ✅ Установлен lz-string: `npm install lz-string`
2. ✅ Используется gen_excalidraw_v2.js или аналог
3. ✅ Текст привязан через containerId + boundElements
4. ✅ Файл имеет расширение `.excalidraw.md`
5. ✅ Frontmatter: `excalidraw-plugin: parsed`
6. ✅ Секция `## Text Elements` с `^id` для каждого текста
7. ✅ Секция `## Drawing` с `compressed-json`
---
## Открытие в Obsidian
```bash
open "obsidian://open?vault=obsidian&file=Название.excalidraw"
```
Если открывается как текст:
- Правый клик → "Open as Excalidraw drawing"
- Или кнопка переключения режима в углу
---
## Примеры рабочих схем
- `obsidian/Agent - Architecture.excalidraw.md` — архитектура системы
- `obsidian/Агенты OpenClaw.excalidraw.md` — агентская система
---
*Создано: 2026-02-03*
Files in this package (2)
- SKILL.md 5 KB
- template.js 9 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · AlekseiUL/sprut-agent-kit | 100 | MIT |
| vanducng/skills | 100 | MIT |
| atc-net/atc-agentic-toolkit | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| davila7/claude-code-templates | 100 | MIT |
| nimbalyst/nimbalyst | 100 | MIT |
| autonomous-ai/openharness | 100 | MIT |
| andreibesleaga/gabbe | 100 | CC-BY-4.0 |
| NicholasSpisak/excalidraw | 100 | MIT |
Database snapshot: 13.11.2026 · package version 3fc18ef87d3d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100obsidian-excalidraw-diagram
Generate Excalidraw diagrams from text content. Use when creating visual diagrams, mind maps, or animated flowcharts in Excalidraw format. Excalidraw・画图・流程图・思维导图・可视化・动画图。 - 100excalidraw-diagram
Generate Excalidraw diagrams from text content for Obsidian. Use when user asks to create diagrams, flowcharts, mind maps, or visual representations in Excalidraw format. Triggers on "Excalidraw", "画图", "流程图", "思维导图", "可视化", "diagram". - 100excalidraw-diagram
Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate". - 100obsidian-excalidraw
This skill should be used when the user asks to "create an excalidraw diagram", "generate a diagram in Obsidian", "add a diagram to my vault", "embed a diagram", "make a flowchart", "visualize relationships", "draw a network diagram", or wants to programmatically generate… - 100excalidraw-diagrams
Use when asked to create or update Excalidraw diagrams. Provides guidance on Excalidraw best practices. - 95excalidraw-diagrams
Creates Excalidraw diagrams programmatically. Use when the user wants flowcharts, architecture diagrams, system designs, or any visual diagram instead of ASCII art. Outputs .excalidraw files that can be opened directly in Excalidraw or VS Code with the Excalidraw extension.