skills/excalidraw/SKILL.md
Создание схем и диаграмм в Excalidraw для Obsidian. Use when user says 'сделай схему', 'нарисуй диаграмму', 'excalidraw', 'схема в obsidian', 'визуализация'.
npx skillsauth add alekseiul/sprut-agent-kit excalidrawInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Триггеры: "сделай схему", "нарисуй диаграмму", "excalidraw", "схема в obsidian", "визуализация"
Obsidian Excalidraw плагин использует сжатый формат compressed-json (LZ-string).
Обычный JSON в code block НЕ РАБОТАЕТ — схема откроется как текст!
Запустить скрипт scripts/gen_excalidraw_v2.js как шаблон или создать новый:
node scripts/gen_excalidraw_v2.js > "obsidian/Название.excalidraw.md"
---
excalidraw-plugin: parsed
tags: [excalidraw, тема]
---
# Excalidraw Data
## Text Elements
Текст блока 1 ^id1
Текст блока 2 ^id2
%%
## Drawing
\`\`\`compressed-json
[сжатый JSON через lz-string]
\`\`\`
%%
Текст ОБЯЗАТЕЛЬНО должен быть привязан к контейнеру!
На прямоугольнике:
{
"type": "rectangle",
"id": "box1",
"boundElements": [{ "type": "text", "id": "box1-text" }]
}
На тексте:
{
"type": "text",
"id": "box1-text",
"containerId": "box1"
}
Без этой связи текст НЕ отображается внутри блоков!
Путь: scripts/gen_excalidraw_v2.js
Использует:
lz-string для сжатия (npm install lz-string)// Блок с текстом внутри
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#f97316 / bg #7c2d12#a855f7 / bg #581c87#3b82f6 / bg #1e3a8a#4338ca / bg #312e81#374151 / bg #111827npm install lz-string.excalidraw.mdexcalidraw-plugin: parsed## Text Elements с ^id для каждого текста## Drawing с compressed-jsonopen "obsidian://open?vault=obsidian&file=Название.excalidraw"
Если открывается как текст:
obsidian/Agent - Architecture.excalidraw.md — архитектура системыobsidian/Агенты OpenClaw.excalidraw.md — агентская системаСоздано: 2026-02-03
documentation
Write viral, persuasive, engaging tweets and threads.
development
YouTube video summarizer with speaker detection, formatted documents, and audio output.
testing
Generate social media posts for different platforms (Twitter, LinkedIn, Telegram, etc).
content-media
Create presentations from text/outline using Marp (Markdown to slides). Use when user asks to create presentation, slides, pitch deck. Triggers on "презентация", "слайды", "presentation", "pitch deck", "сделай презентацию".