Crayon Diagrams — Development skill for Claude Code
crayon-diagrams is a Claude Code skill for hand-drawn, mobile-first crayon technical illustrations, with Mermaid-to-prompt workflows.
How to install Crayon Diagrams
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open deer-flow/crayon-diagrams and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Crayon Diagrams does
crayon-diagrams is a Claude Code skill for hand-drawn, mobile-first crayon technical illustrations, with Mermaid-to-prompt workflows.
Alternatives in Development
- Story To Handdrawn Video — Agent skill: convert Chinese story copy or ordered images into a hand-drawn diary-comic animation (silent MP4 2.5k ★
- Part 1 — Deep Research Prompt Builder — I'm going to help you create a research prompt for your project 2.1k ★
- Analyze Codebase To Book — Prompt: Turn Any Codebase Into a Technical Book 1.7k ★
README
crayon-diagrams
crayon-diagrams is a Claude Code skill that turns technical article structure into consistent, mobile-readable hand-drawn crayon illustrations — architecture diagrams, process flows, comparison charts, and task-board snapshots — released under the MIT license.
[中文](README.zh-CN.md) · [Examples](examples/) · [Skill](SKILL.md)
Purpose
Asking an image model for an architecture diagram often rewrites the topology, invents arrows, misspells labels, and produces a different style every time. This skill separates the work into a verifiable semantic layer — Mermaid or a content contract — and a nine-block image prompt that locks the canvas, style, exact text, composition, graph, and negative constraints. Style is applied last, after the diagram can already explain the logic.
Quick start
Install the skill:
git clone https://github.com/deer-flow/crayon-diagrams.git ~/.claude/skills/crayon-diagrams
Then ask Claude Code:
Use crayon-diagrams to draw a mobile-first architecture diagram of a message gateway:
You, Channel, Inbox, Outbox, Front Agent, Worker. Inbox and Outbox belong to
Message Gateway. English labels.
Without an image-generation tool, copy `templates/diagram-prompt.md` into any image generator. The skill still produces the semantic layer and the prompt.
Features
- Semantic layer first: Mermaid or a content contract defines every node, edge, label, and count before any prompt is written.
- Nine-block prompt structure: generator and input, audience, canvas, style, exact-text contract, composition, graph, negative constraints, and revision notes.
- Seven layouts: ver
Related Skills
Pencil Case
文具盒 · hand-built drawing skills (crayon, pen & wash) by 盏 & North — every stroke drawn in Python, no filters,
5km Littlebox Illustrations
Closed-only hand-drawn Littlebox article illustration Codex Skill
Chan Monkey Illustrations
【Every star you give feeds a hungry monkey a banana! 🍌⭐️】 An agent skill for Claude Code & Codex that turns a
Chanmeng Monkey Illustrations
【Every star you give feeds a hungry monkey a banana! 🍌⭐️】 An agent skill for Claude Code & Codex that turns a
Claude Rich Terminal
Mermaid diagrams drawn inside Claude Code replies, with optional terminal images and an offline browser view.
Repo Cartographer
🗺️ One prompt, any codebase → architecture map. An agent skill that generates Mermaid diagrams, a traced core
Related Agents
Visual Story Designer
Defines visual concept, section rhythm, diagrams (Mermaid or SVG), comparison layouts, timelines, icon metapho
Technical Doc Writer
Technical design documentation writer using GitHub Markdown with Mermaid diagrams. Use for architecture docs,
Arch Documenter
Use for generating architecture documentation, API specifications (OpenAPI), Architecture Decision Records (AD

