Themed SVG diagram contract
Summary
Added the diagram-svg-output skill and portable always-on triggers so diagram creation, rendering, export, and substantive editing produce web-compatible output in every context.
The contract requires:
-
generator-neutral semantic color roles
-
bundled light and dark presets with concrete fallbacks
-
standalone adaptive, fixed, paired-fixed, and inline-host output modes
-
accessible responsive SVG with preserved editable source
-
verification for contrast, clipping, overlap, and both color schemes
The skill identifies @dev-centr/themed-svg as the standard and transformer. Mermaid, PlantUML, Kroki, Graphviz, and hand-authored SVG workflows consume the contract through adapters or explicit bindings.