Garden figures
SkillDocs & knowledgeBuild or revise registered SVG and interactive figures embedded in Garden notes.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Garden figures skill
What this skill tells your AI
The instructions your AI receives, as published by aarnphm/aarnphm.github.io in .agents/skills/interactive-diagrams/SKILL.md and read by ahel’s review.
Use the registered components in quartz/components/mdx, their Preact implementation, and the shared mixins in quartz/components/styles/figure.scss. Keep changes scoped to the requested figure and reuse this visual grammar.
- Keep the square 1px frame and shared Flexoki accents. Reuse frame, caption, math, and foreignObject mixins. Garden figures do not use box shadows.
- Wrap interactive or large figures in
Zoomablein the note's registered JSX fence. Let the zoom container own its presentation; restore figure padding and background without adding a border. - Use KaTeX for mathematical labels and numeric readouts. Keep non-math request text and code-like labels as text.
- Put responsive grids on descendants of the query container. A container cannot use its own size query to restyle itself.
- Match control semantics to behavior. Use native buttons, radio inputs, or complete tab interactions as appropriate.
- Initialize page state and register cleanup within the
navhandler. Keep computed control values distinct from shared palette tokens. - Write a caption that explains the figure's subject and useful interaction without requiring another writing workflow.
Read only the reference needed for the change:
| Work | Reference |
|---|---|
| Frame, SCSS mixins, zoom, or component registration | Frame and registration |
| Tabs, segments, or toggles | Controls |
| KaTeX values, statistics, or sliders | Math and readouts |
| Hover or focus explanations | Hover details |
| Source-rendered browser verification | Verification |
Reuse a shared mixin when an established pattern exists. Extract a new shared helper only when actual callers need it, and keep the change scoped to those callers.
Finish with the figure embedded and the changed behavior verified at the requested scope. For visual or interaction changes, use the verification reference; a source edit alone does not establish the rendered result.
Signals
- GitHub stars
- 24
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
interactive-diagrams- Source
- github.com/aarnphm/aarnphm.github.io