deer-flow

Crayon Diagrams — Development skill for Claude Code

Development community

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

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)

Hand-drawn personal-agent architecture diagram Hand-drawn task board snapshot

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