Loading...
Loading...
Explains bugs, code flows, protocols, and concepts in a Markdown document with SVG diagrams generated from small text specs, adapted to the reader's level. Use when the user asks for an explanation with diagrams or drawings, says "explain like I'm 5" or "me explica com desenhos", wants an illustrated explanation after not understanding text alone, or wants to change how Doodle explanations look or read (theme, colors, audience, depth).
npx skill4agent add santunesigor/doodle doodle```doodleimg/<doodle>python3 <this-skill-dir>/scripts/doodle.py<doodle> --settingsdoodle.jsonaudiencedepthlanguagedocsDirnoteskidquickdeep<topic-slug>.mddocsDirlanguage<doodle> <topic-slug>.mdwarning: file:line: ...error: file:line: ...<!-- doodle ... -->doodle.json--theme-o```mermaid | Write like this |
|---|---|
| No jargon at all. Everyday metaphors in every step and title. Sentences under 12 words. |
| Define each technical term the first time. A metaphor where it helps. |
| Assume programming basics. Real names, file paths and short code snippets; metaphors only for the hard part. |
| Dense and precise. Skip the basics, focus on the mechanism, edge cases and trade-offs. |
| Shape |
|---|---|
| Title question, "In three sentences", 1–2 drawings, one-line takeaway. Nothing else. |
| The full structure below with 2–4 steps. |
| 3–6 steps, plus the two sections marked deep below. |
# <Question the reader actually has, e.g. "Why does the app log me out every morning?">
## In three sentences -> 3 numbered sentences: what happens, why, what fixes it
## Pieces you need to know -> table | Piece | What it is | or a `hub` drawing (only if 3+ unfamiliar terms)
## Step 1: <one claim> -> one doodle + 2–5 bullets; end with the "why"
## Step 2: ... -> 2–5 steps total
## When it happens / Why it matters
## Common mistakes -> deep only: 2–4 bullets, each a mistake and how to avoid it
## Evidence -> only real logs, numbers, file paths; a `bars` drawing for numbers (omit if none)
## Check yourself -> deep only: 2–3 questions, each answer in <details><summary>Answer</summary>…</details>bars> illustrative numbersbadokwarninfotimeline: A pizza order
> optional subtitle
Order placed | the app sends it to the shop | info
Oven is full | waits 20 minutes | warn
Delivered | still hot | okkind: Titlelabel | note | toneneutralinfookbadwarn@sketch@vertical@horizontal@arrowcomparestackhub@theme NAME\n//| kind | use it for | extra syntax |
|---|---|---|
| what happens in what order | rows only (numbered automatically) |
| steps, decisions, branches | |
| loops, things that keep repeating | rows only, in loop order |
| before/after, A vs B, wrong vs right | |
| folders, hierarchies, parts of a whole | indent children by 2 spaces |
| layers (architecture, network, call stack) | rows top to bottom; |
| who talks to whom (requests, protocols) | |
| how much: time, size, count, cost | |
| what something is made of; key vocabulary | first row is the center, the others go around it |
doodle.json--settingssources<doodle> --init~/.config/doodle/config.json@theme NAMEthemepapercleancandyblueprintchalksketchschemeautolightdarkcolors#heximageDiraudiencedepthlanguagedocsDirnotes