diagram-contract

Solid

Use when a diagram is going into a document: pick the tool, write the text source, render it, and embed it with an accessible caption. Text DSL plus a committed SVG is the shape — nomnoml for structure and flow, D2 for architecture, the house palette on both.

AI & Automation 34 stars 0 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 85/100

Stars 20%
51
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

Every diagram that lands in a document follows one shape: a text DSL source beside the document and a committed SVG rendered from it. This skill picks the tool, applies the house palette, and produces both artifacts so the image carries on github.com. ## Pick the tool Reach up the table only when the default cannot carry the domain. The default is the first row. | Purpose | Tool | |---|---| | Structure, class, relations, small-to-medium flow, state, timeline | **nomnoml** (default) | | Architecture, system, module dependencies, container maps | **D2** | | Very large dense DAG, hundreds of nodes | Graphviz DOT | | Byte, bit, or on-disk layout | bytefield-svg | | Quantitative chart, only with sourced real figures | Vega-Lite | ## Author it Five steps, each with a checkable done condition. 1. **Choose the shape.** A comparison, trade-off, or decision matrix is a Markdown table. For a quantitative comparison whose real numbers cannot be sourced, a table is the required form, not a chart. Done when the choice between table and diagram is made and stated. 2. **Write the source** into `assets/<kebab-slug>.<ext>` beside the document that will embed it, opening with the house header below when the tool is nomnoml. Done when the file exists on disk and, for nomnoml, the header is the first block in it. 3. **Render** with the matching command under [Render commands](#render-commands). Done when the command exits zero and the SVG exists beside its source. 4. **Embed** as `![<what i...

Details

Author
OutlineDriven
Repository
OutlineDriven/odin-claude-plugin
Created
9 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

svg-diagrams

Author SVG diagrams that survive print. Token-driven, legible in greyscale, and checked mechanically. Use when a chapter, article, or document needs a flow, architecture stack, node map, pipeline, cycle, or annotated artifact.

0 Updated 3 weeks ago
swiftugandan
AI & Automation Solid

diagram-design

Create polished, accessible, self-contained HTML/SVG diagrams for architecture, workflows, data flows, sequences, state machines, ER models, timelines, swimlanes, charts, security views, and other editorial visual types. Redraw Mermaid and draw.io sources into a fresh layout, apply optional brand tokens, and verify geometry, accessibility, motion, and single-file safety. Use when the output should be an editable HTML/SVG artifact rather than an ASCII sketch, generated raster image, or editable whiteboard canvas.

5 Updated 2 days ago
vanducng
AI & Automation Listed

diagram-design

Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, loop/ flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, bar, line, Gantt, scatter, high-level, process, medallion, data flow, DP integration, or DP security matrix diagrams as standalone HTML/SVG/PNG. Redraw .drawio/.drawio.png/.drawio.svg or Mermaid .mmd sources at a chosen size/detail; onboard brand tokens from a website; add semantic patterns, callouts, accessible motion, or sketchy/hand-drawn styling.

3 Updated 3 days ago
JZKK720