diff --git a/.claude/skills/arbitrum-brand-svg-diagrams/SKILL.md b/.claude/skills/arbitrum-brand-svg-diagrams/SKILL.md index 907fc5075f..cd10ee566d 100644 --- a/.claude/skills/arbitrum-brand-svg-diagrams/SKILL.md +++ b/.claude/skills/arbitrum-brand-svg-diagrams/SKILL.md @@ -363,6 +363,17 @@ Write the `alt` text to the same standard; it is page prose. `A · B`, add `xml:space="preserve"` to the ``. - Use a system font stack (`Inter, ui-sans-serif, system-ui, …`) — webfonts won't load inside an ``-embedded SVG. +- **Quote multi-word font names with SINGLE quotes.** The stack goes into a + double-quoted attribute, so `"Segoe UI"` and `"SF Mono"` close it early and the + file is no longer well-formed XML. Write `'Segoe UI'`, `'SF Mono'`. This bites + on the very first render, before any layout work is visible: + + ```text + xml.parsers.expat.ExpatError: not well-formed (invalid token): line 10, column 65 + ``` + + Verification step 1 catches it — which is the reason it runs first. + - Metaphor helps recall: e.g. bun-shaped corners (larger radius on the outer edges of top/bottom layers) made the "sandwich" read at a glance. @@ -451,9 +462,139 @@ count to the elbows you authored, not to zero. Still run the tool: it is the cheapest check that your arrows match the authoring contract above, and it must run after every regenerate, since regenerating overwrites its output. +**`rounded 0` also means "already rounded".** The tool is idempotent: once a +corner is a `Q` curve the path no longer matches its straight-elbow pattern, so a +second run on an unchanged file reports 0. Don't read that as a regression — +count the baked-in corners instead: + +```bash +grep -o ' Q[0-9]' static/img/NAME.svg | wc -l # quadratic corners present +``` + Because arrow styling has to be inline for this tool, don't try to factor arrows into a `