muthuishere/hand-drawn-diagrams
Диаграммы Excalidraw в рисованном стиле
Создаёт рисованные диаграммы Excalidraw: схемы, потоки, объяснения, вайрфреймы, макеты страниц. По умолчанию монохромный набросок, сдержанный цвет допустим только для макетов страниц по явной просьбе.
Установка
npx skills add muthuishere/hand-drawn-diagramsСтавит скилл в текущий проект, CLI спросит, для каких агентов. С флагом -g - для всех проектов. Нужен Node.js.
Установи скилл «muthuishere/hand-drawn-diagrams» из репозитория https://github.com/muthuishere/hand-drawn-diagrams: найди в нём папку с SKILL.md этого скилла и скопируй её целиком в .claude/skills/muthuishere-hand-drawn-diagrams (для Codex - в .agents/skills/muthuishere-hand-drawn-diagrams). Потом прочитай SKILL.md и коротко скажи, в каких задачах будешь его применять.
Вставьте в Claude Code или Codex, открытый в папке проекта.
Скачайте папку скилла с GitHub и положите её целиком в .claude/skills/muthuishere-hand-drawn-diagrams/ - для Codex в .agents/skills/muthuishere-hand-drawn-diagrams/. Для всех проектов - та же папка в домашнем каталоге.
Описание автора
Follow the instructions in ./workflow.md.
Workflow
- Route — Read
./steps/step-01-route.md. Pick one diagram type from the routing table (references/activation-routing.xml) based on user intent (teach, brainstorm, UX flow, funnel, technical explainer, medical, creative, or page mockup). - Draw — Read
./steps/step-02-draw.md. Design the diagram using the shared shape grammar (references/fundamental-shapes.md), then write the.excalidrawJSON file with a non-empty elements array to/tmp/hand-drawn-diagrams/<slug>/. - Validate & Deliver — Read
./steps/step-03-validate.md. Runscripts/validate_excalidraw.py, thenscripts/open_diagram.pyto generate a hosted edit URL and open it in the browser. Offer animation and PNG as follow-ups.
Key Rules
- Hand-drawn style, same sketch font, monochrome by default
- Labels: 1–5 words per shape; max 3 short bullets per container
- Write
.excalidrawfiles to/tmp/, not the user's workspace (unless they ask) - Always validate before generating URLs — never share an empty diagram
- Rendering priority: Chrome DevTools MCP (fast) → Playwright (fallback)
References
references/index.md— full reference indexreferences/activation-routing.xml— route selection rules and delivery modesreferences/fundamental-shapes.md— core shape language
Optional: Chrome DevTools MCP
For fast PNG and animated SVG rendering, install chrome-devtools-mcp (uses a real browser, no Playwright needed). See INSTALL.md for setup. Without it, rendering falls back to Playwright.