Loading...
Loading...
Draws static SVG figures for lessons, READMEs and manuals in the AI Engineering from Scratch look: paper panel, blueprint accent, nine figure kinds, fixed hue meanings, eight arrow styles, and checks for legibility and markup. Trigger phrases: "draw a figure", "blueprint figure", "sequence figure", "state machine figure", "figure for this lesson", "add a diagram to the manual".
npx skill4agent add rohitg00/ai-engineering-from-scratch blueprint-figurecourse-stylemotion-figureisometric-explainertemplates/figure.mjsreferences/checks.md| Kind | Use it for |
|---|---|
| parties on lifelines, time running down, numbered exchanges |
| the anatomy of one record, object, or schema |
| stages that data passes through, with who writes and who reads |
| two answers to one question, side by side |
| tracks over a numbered axis such as commit sequence or time |
| ownership, containment, or delegation |
| a state machine with its transitions |
| where something fails and what each outcome means |
| a stack of layers with the parts each one owns |
references/kinds.mdgreybluetealvioletgreenamberplumoliveindigorose| Hue | Fixed meaning |
|---|---|
| failure: errors, crashes, aborts, lost work |
| outside the subject: the host, the operator, out of scope |
| lifecycle: tasks, phases, state machines |
| durable state: storage and committed records |
var(--m-<token>, <light hex>)var(--m-rose-ink, #b0344d)references/grammar.md| Style | Means |
|---|---|
| solid ink | a call or request |
| dashed ink | a reply |
| solid teal | a durable write |
| dashed amber | a state change |
| solid plum | a model call or compute |
| dashed olive | an effect outside the system |
| dotted indigo | a stream or an event |
| dashed rose | a failure |
5 41.5 3.5<figure-id>-head-<hue>class="m-serif"font-family="Source Serif 4, Georgia, serif"class="m-knock"characters × size × 0.6characters × size × 0.54viewBox="0 0 640 H"role="img"aria-labelledby="<id>-title <id>-desc"font-family="JetBrains Mono, ui-monospace, monospace"fill="var(--m-ink, #1a1a1a)"font-family<title><desc>descidfig-4-1-head-amberfig-4-1references/checks.mdstyletransformtranslate()<g><text>```figure
id: fig-4-1
kind: state
title: the task lifecycle
claim: A task ends in one of four terminal states and never leaves one.
caption: Read left to right. Dashed borders are interrupted states. From capture/out/task-states.txt.
```figures/src/fig-4-1.jsfigures/fig-4-1.svgviewBoxrole="img"aria-labelledby<title><desc>idvar(--m-<token>, <light hex>)font-familyfillstyletranslate()<g>references/kinds.mdreferences/grammar.mdreferences/checks.mdtemplates/figure.mjssequencenode templates/figure.mjs out.svgmanuals/_shared/figkit.jsmanuals/_shared/templates/scripts/audit_manuals.js