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.

examplesknowledge-and-outlinetopic-landscape-wordcloud.md

≈763 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Word Cloud — Topic Landscape (Vega)

Best for: visually emphasizing a small controlled vocabulary where prominence matters more than exact numeric comparison Avoid when: the reader needs precise ranking, detailed axes, or many close-value terms Answers: which topics dominate the discussion, and which terms are secondary but still present

{
  "$schema": "https://vega.github.io/schema/vega/v6.json",
  "width": 480,
  "height": 280,
  "padding": 8,
  "title": {"text": "Topic Landscape", "subtitle": "Terms extracted from platform review notes", "anchor": "start", "color": "#1f2937", "subtitleColor": "#2b66c4"},
  "data": [
    {
      "name": "table",
      "values": [
        {"word": "Reliability", "count": 86},
        {"word": "Identity", "count": 68},
        {"word": "Automation", "count": 74},
        {"word": "Latency", "count": 57},
        {"word": "Security", "count": 64},
        {"word": "Queue", "count": 49},
        {"word": "Observability", "count": 53},
        {"word": "Policy", "count": 42}
      ],
      "transform": [
        {"type": "wordcloud", "size": [480, 280], "text": {"field": "word"}, "fontSize": {"field": "count"}, "fontSizeRange": [16, 54], "padding": 2}
      ]
    }
  ],
  "scales": [
    {"name": "color", "type": "ordinal", "domain": {"data": "table", "field": "word"}, "range": ["#2b66c4", "#2f9e44", "#f3a33c", "#d1242f", "#7048e8", "#0f9b9b", "#c16f8a", "#7c5a3d"]}
  ],
  "marks": [
    {
      "type": "text",
      "from": {"data": "table"},
      "encode": {
        "enter": {
          "text": {"field": "word"},
          "x": {"field": "x"},
          "y": {"field": "y"},
          "angle": {"field": "angle"},
          "fontSize": {"field": "fontSize"},
          "fill": {"scale": "color", "field": "word"},
          "align": {"value": "center"}
        }
      }
    }
  ]
}

Data Shape

One row per term with a numeric weight. The Vega wordcloud transform computes the placement and font size.

Key Options

Option Effect
Vega wordcloud transform Generates the placement, rotation, and font-size layout
fontSizeRange Keeps large terms prominent without completely dwarfing the rest
Ordinal color scale Adds variety while preserving a controlled palette
Direct text mark Draws the positioned words computed by the transform

Pitfalls

  • ❌ Using a word cloud for exact ranking → ✅ it is a prominence view, not a precise comparison chart
  • ❌ Too many near-equal terms → ✅ the result becomes decorative rather than informative
  • ❌ Expecting every term to fit without tuning → ✅ word clouds require a controlled vocabulary and bounded size range

Alternatives

Variant Use instead
Exact topic ranking A sorted bar chart
Relationship map between concepts service-dependency-network.md
Qualitative executive summary executive-brief-summary.md
<!-- source: Vega docs (wordcloud transform) + repo vega examples reference word cloud pattern -->

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