🖼️ Image & Design ToolsSkill #47

Hand-Drawn Diagrams

Download Authentic SKILL.md (2.0 KB)View Source on GitHub ↗
✓Verified Authentic GitHub File
Supported: Antigravity, Claude Code, Cursor, Windsurf

Instant Browser Download for SKILL.md

No curl, terminal, Node.js, or Git required! Download the official SKILL.md directly into your Downloads folder.

1
Click "Download Authentic SKILL.md"

Your browser immediately downloads the authentic file (2.0 KB) directly into your local Downloads folder.

2
Move file into your project or IDE folder

Place the downloaded SKILL.md into the skills path for your chosen AI assistant:

  • Google Antigravity: <project>/.agents/skills/hand-drawn-diagrams/SKILL.md (or global in ~/.gemini/antigravity/skills/hand-drawn-diagrams/SKILL.md)
  • Claude Code: ~/.claude/skills/hand-drawn-diagrams/SKILL.md
  • Cursor: <project>/.cursor/skills/hand-drawn-diagrams/SKILL.md or ~/.cursor/skills/hand-drawn-diagrams/SKILL.md
  • Windsurf / VS Code: <project>/.agents/skills/hand-drawn-diagrams/SKILL.md
3
Start Prompting

Your agent automatically discovers the skill. You don't need any restart—it's immediately active!

📄 Authentic File: SKILL.md2.0 KB
✓ Authentic From Repository
---
name: hand-drawn-diagrams
description: "Create hand-drawn Excalidraw diagrams, flows, explainers, wireframes, and page mockups. Default to monochrome sketch output; allow restrained color only for page mockups when the user explicitly wants webpage-like fidelity. Use when the user asks for a diagram, flowchart, wireframe, sketch, visual explanation, mind map, architecture overview, or any Excalidraw-based drawing."
---

Follow the instructions in `./workflow.md`.

## Workflow

1. **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).
2. **Draw** — Read `./steps/step-02-draw.md`. Design the diagram using the shared shape grammar (`references/fundamental-shapes.md`), then write the `.excalidraw` JSON file with a non-empty elements array to `/tmp/hand-drawn-diagrams/<slug>/`.
3. **Validate & Deliver** — Read `./steps/step-03-validate.md`. Run `scripts/validate_excalidraw.py`, then `scripts/open_diagram.py` to 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 `.excalidraw` files 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 index
- `references/activation-routing.xml` — route selection rules and delivery modes
- `references/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.

In Google Antigravity, skills reside in your project workspace under .agents/skills/hand-drawn-diagrams/SKILL.md or globally in ~/.gemini/antigravity/skills/.

npx skills add https://github.com/muthuishere/hand-drawn-diagrams --skill hand-drawn-diagrams -y
# Workspace path: .agents/skills/hand-drawn-diagrams/SKILL.md
# Global path: ~/.gemini/antigravity/skills/hand-drawn-diagrams/SKILL.md

In Claude Code, install globally using the official skills CLI or add via the Claude Code plugin marketplace.

npx skills add https://github.com/muthuishere/hand-drawn-diagrams --skill hand-drawn-diagrams -g -y
# Or inside Claude Code session:
/plugin install muthuishere/hand-drawn-diagrams

In Cursor, place the skill folder in .cursor/skills/hand-drawn-diagrams/SKILL.md or at the workspace level in .agents/skills/.

npx skills add https://github.com/muthuishere/hand-drawn-diagrams --skill hand-drawn-diagrams -y
# Or place directly into:
# ~/.cursor/skills/hand-drawn-diagrams/SKILL.md

In Windsurf / VS Code, agent skills can be installed targeting the windsurf profile or loaded as project rules.

npx skills add https://github.com/muthuishere/hand-drawn-diagrams --skill hand-drawn-diagrams -a windsurf -y

🎯 What It Does & How It Works

Generates Excalidraw-style hand-drawn diagrams from prompts—architecture, workflows, UX blueprints. Hosted edit link, animated SVG, PNG export.

Core Operational Guidelines & Directives

▸Workflow
▸Key Rules
▸References
▸Optional: Chrome DevTools MCP
📦Sub-Skills & Architecture:

This skill is completely self-contained in SKILL.md. All workflows, constraints, and instructions are directly embedded in this single file, making it immediately usable with 1-click download.

⏱️ When to Use

Memorable diagrams instead of generic Mermaid boxes, workshop visuals, system architecture sketches.

💡 Context from Repository & Architecture

Standard .excalidraw output you own and edit. Auto-picks diagram route (teaching, UX, architecture, funnel). Works across 40+ agent platforms.

⚡ Starter Prompt Template

Copy and paste this starter prompt into your AI assistant (Antigravity, Claude, Cursor, ChatGPT) to activate this skill:

Prompt TemplateClick button to copy formatted prompt
Act as an expert using the "Hand-Drawn Diagrams" agent skill. Follow the specialized guidelines to accomplish the task according to best practices.

More in Image & Design Tools

🖼️ Image & Design Tools#45

GPT Image 2

OpenAI GPT Image 2 with thinking modes (off/low/medium/high), 14 style presets, 8 platform presets (Instagram, Story, YouTube, Pinterest), editing and variants.

#image#design#tools
Agents:AntigravityClaudeCursorWindsurf
🖼️ Image & Design Tools#46

Color Expert

~286K words of color science—OKLCH/OKLAB, palette generation, WCAG/APCA contrast, color naming, pigment mixing, color theory history.

#image#design#tools#color#expert
Agents:AntigravityClaudeCursorWindsurf
🖼️ Image & Design Tools#48

Claude Design Skills (3D & Motion)

27 plugins covering Three.js, GSAP, React Three Fiber, Framer Motion, Babylon.js, A-Frame, PlayCanvas, PixiJS, Locomotive, React Spring, Magic UI, Lottie, Blender, Spline, Rive.

#image#design#tools#claude#skills
Agents:AntigravityClaudeCursorWindsurf
Copied to clipboard!