Index of every page on this site: llms.txt
All skills
markdown-viewer avatar

/documd-visuals

@2672b69
by Markdown Viewermarkdown-viewer/skills3.4k stars
192
Run it yourself

Create text-driven visuals in Markdown: charts, diagrams, cards, architecture and page layouts. Charts and analytical views (bar, line, pie, heatmap, correlation, regression); reliability and operations (latency, incident, throughput, cycle time, OKR, standup, on-call); product and finance (funnel, retention, revenue, budget); process and workflow (approval, BPMN); software design and behaviour (class, state machine, sequence, C4); dependencies and impact (dependency graph, ER, causality); system architecture as HTML (layer stack, wings, zones, topology, service catalogue, request paths); infrastructure (cloud, Kubernetes, ETL, network, security, IAM, compliance); governance and people (ArchiMate, org chart, hiring); knowledge and planning (mind map, roadmap, Gantt, migration); documents (comparison, SWOT, memo, policy, catalogue, case study). Use when a document needs a diagram, chart or card. Figures render live. Not for slide decks or math notation. Not recommended: mermaid / canvas / drawio / dot.

Use this Skill: https://skilld.dev/gh/markdown-viewer/skills/documd-visuals

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

examplesservice-reliabilitygauge-sla-attainment.md

Gauge — SLA Attainment at a Glance (ECharts)

Best for: a single bounded KPI where the reader first needs the answer “are we on target?” Avoid when: the reader needs many exact values or must compare several categories at once Answers: how close the metric is to the goal, and whether it is comfortably on track or in warning territory

{
  "color": ["#2b66c4", "#2f9e44", "#f3a33c", "#d1242f", "#7048e8", "#0f9b9b", "#c16f8a", "#7c5a3d"],
  "width": 520,
  "height": 360,
  "title": { "text": "SLA Attainment", "subtext": "Rolling 30-day average", "left": "center", "top": 8 },
  "series": [
    {
      "type": "gauge",
      "center": ["50%", "58%"],
      "radius": "72%",
      "min": 90,
      "max": 100,
      "splitNumber": 5,
      "progress": { "show": true, "width": 16 },
      "axisLine": { "lineStyle": { "width": 16 } },
      "axisLabel": { "distance": 18, "fontSize": 10 },
      "splitLine": { "distance": -16, "length": 14 },
      "axisTick": { "distance": -16, "length": 7 },
      "pointer": { "width": 4 },
      "anchor": { "show": true, "showAbove": true, "size": 10 },
      "title": { "fontSize": 12, "offsetCenter": [0, "74%"] },
      "detail": { "fontSize": 26, "offsetCenter": [0, "44%"], "formatter": "{value}%" },
      "data": [{ "value": 98.7, "name": "target 99.0%" }]
    }
  ]
}

Key Options

Option Effect
min / max Defines the operational range; without them the dial can mislead badly
progress.show Turns the gauge into a clear progress ring rather than needle-only ornament
detail.formatter Displays the exact KPI in the chart itself
center / radius Controls how much of the frame the gauge occupies
splitNumber Sets the coarse scale marks for quick estimation

Data Shape

One bounded value, usually with one datum object in data. Gauges are strongest when the metric naturally has a target range or threshold interpretation.

Pitfalls

  • ❌ Using the default 0–100 range when the real operating band is narrow → ✅ set meaningful min and max
  • ❌ Packing several gauges into one small frame → ✅ use one gauge, then move supporting metrics into bars or lines
  • ❌ Decorative gauge with no exact number → ✅ always show the value directly in static exports
  • ❌ Comparing categories with gauges → ✅ gauges answer status, not comparison

Alternatives

Variant Use instead
Several KPIs plus supporting trends kpi-dashboard.md
One exact trend over time trend-line-multi-series.md
Category comparison comparison-bars.md
<!-- source: ECharts option manual (series-gauge) + examples gallery gauge family -->

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides documentation and examples for creating various visuals in Markdown using engines like ECharts, Vega, PlantUML, and HTML. It recommends using the vendor-owned @markdown-viewer/documd CLI tool for document conversion and verification. The skill itself contains no executable code or malicious patterns.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

Signed by skilld at 2672b69. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 3 weeks ago
Other metadata
compatibility
Figures are text in the Markdown — fenced blocks or bare HTML — and the host viewer renders them live: nothing to pre-render, build or install. Export to html / epub / docx / pdf is optional and needs Node 18+ and Chrome/Chromium, via `npx @markdown-viewer/documd`.

README badge

README badge for markdown-viewer/skills