Agent skills for the docu.md Markdown pipeline. One skill package, organised by what the reader wants, with the rendering engines behind it as implementation references.
242 verified examples ยท 183 scenarios ยท 31 goal domains ยท 5 engines, every figure coloured from one of
nine themes defined in styles/ and generated from a source table, gated by scripts/check-all.mjs
(theme drift ยท contrast ยท block render ยท block coverage ยท theme usage ยท structure) plus
scripts/verify-examples.mjs for the full render pass.
Skills follow the Agent Skills format.
๐ Installation โข ๐งฉ The Package โข โ๏ธ Engines โข ๏ฟฝ๏ธ The documd CLI โข ๏ฟฝ๐ Migrated Skills โข ๐ Links
npx skills add markdown-viewer/skillsThis method works with multiple AI coding agents (Claude Code, Codex, Cursor, etc.) and discovers the
documd-visuals package.
For Claude Code (Manual)
cp -r skills/documd-visuals ~/.claude/skills/For claude.ai
Add the package to project knowledge or paste SKILL.md contents into the conversation.
For GitHub Copilot / VS Code
Packages are automatically detected when placed in .github/skills/ directory.
skills/
โโโ documd-visuals/ โ the skill package โ the only skill here, and the only thing installed
โ โโโ SKILL.md โ router: iron rules, 31 goals, capability boundaries
โ โโโ converting.md โ the documd CLI: install, formats, flags, what survives an export
โ โโโ catalog/ โ every scenario: domain, engines, tier, example files
โ โโโ goals/ โ one guide per goal domain
โ โโโ engines/ โ per-engine reference + coverage/ ledgers (units, then examples by goal)
โ โโโ examples/ โ 242 verified examples, grouped by goal domain
โ โโโ styles/ โ palette.md (the contract) + themes/<theme>.md (values + a block per engine)
โโโ research/ โ engine dossiers: coverage ledgers + verification notes (repo-only, never shipped)
โโโ scripts/ โ repo-level gates (not shipped)
The package is self-contained: it never cites research/ or scripts/, and the gate fails the build if
it does. If you install the package, everything it references is inside it โ and every file inside it is
reachable from SKILL.md, which validate-skills.mjs enforces. The one exception is LICENSE.md: a legal
attachment is not routing content, so it ships with the package without being linked from the router.
research/ and scripts/ are not discovered as skills: the CLI finds a skill by locating a
SKILL.md, and neither directory contains one. Verified โ npx skills add ./skills --list reports
exactly one skill, documd-visuals.
SKILL.mdmatches the reader's intent to one of 31 goal domains, grouped into four meta-clusters: data & metrics ยท process & systems ยท infrastructure & governance ยท knowledge & expression.goals/<domain>.mdlists that domain's scenarios with the example files that implement them.engines/<engine>.mdcovers the chosen engine's limits and anti-patterns.
| Meta cluster | Domains |
|---|---|
| A โ data & metrics | service-reliability ยท ops-monitoring ยท delivery-throughput ยท goal-and-status-reporting ยท product-metrics ยท business-reporting ยท go-to-market ยท cost-and-budget ยท data-exploration |
| B โ process & systems | engineering-operations ยท incident-management ยท process-and-workflow ยท software-design ยท software-behaviour ยท dependencies-and-relations ยท system-architecture |
| C โ infrastructure & governance | cloud-architecture ยท data-platform ยท network-topology ยท security-and-compliance ยท enterprise-architecture ยท organization-and-roles ยท people-and-hiring |
| D โ knowledge & expression | knowledge-and-outline ยท planning-and-roadmap ยท migration-and-rollout ยท comparison-and-selection ยท internal-documents ยท catalogues-and-inventories ยท customer-and-partner-comms |
Recommended โ write new content with these
| Fence | Engine | Use it for |
|---|---|---|
plantuml / puml |
draw-uml 1.5.2 โ drawio2svg | UML, ArchiMate, BPMN, process, cloud/network/security architecture, dependency graphs, 9,514 stencil icons |
vega / vega-lite |
vega 6.4.0 / vega-lite 6.4.3 | charts that need data transforms, faceting, statistics |
echarts |
echarts 6.1.0 | report-grade charts, dashboards, gauges, annotations |
infographic |
@antv/infographic 0.2.20 | template-driven infographics: roadmaps, sequences, comparisons |
| (bare HTML) | built in | system architecture diagrams, cards, memos and page-level layouts |
Anything else is not recommended. The package documents no other engine, and new content uses the
five above; the one place the excluded names are listed is the SKILL.md description, so an agent
recognises them when a user asks for one and can say no.
This package draws figures as text in the Markdown, rendered live by the viewer โ an author never
pre-renders anything. The documd CLI is the optional export half: it renders a whole Markdown
document to a finished file, and a diagram source to an image. It is documented inside the package โ
documd-visuals/converting.md, linked from SKILL.md โ so an agent that installs the skill knows the
export path exists.
Installing the skill does not install the CLI, and the installer cannot be made to. npx skills add
copies or symlinks files into an agent's skills directory; the Agent Skills format has no install-hook
field, and the CLI runs no scripts of its own during add. There is no point at which a skill package
could trigger npm install. Treat the CLI as a separate tool that the skill points at.
Nothing has to be installed to use it:
npx @markdown-viewer/documd report.md report.docx # also .pdf .epub .html
npx @markdown-viewer/documd architecture.puml architecture.svg # also .pngInstall it once if the same command runs repeatedly โ this provides the documd binary:
npm install -g @markdown-viewer/documdโ ๏ธ Use the scope. The bare name
documdon npm is an unrelated package ("markdown object notation").npx documdfetches that one, not this CLI. Always write@markdown-viewer/documd.
The npm release carries the same version as the extension, so a npx run is the build documented here.
This repository used to ship 14 engine- and domain-named skills. They are now one package, and their content was rewritten, not copied:
| Old skill | New home |
|---|---|
uml |
engines/plantuml.md, engines/plantuml-stencils/, examples/software-design/, examples/software-behaviour/ |
cloud ยท network ยท security ยท iot ยท data-analytics |
examples/cloud-architecture/, network-topology/, security-and-compliance/, data-platform/ |
archimate ยท bpmn ยท mindmap |
examples/enterprise-architecture/, process-and-workflow/, knowledge-and-outline/ |
vega ยท graphviz ยท infographic |
engines/vega.md, engines/infographic.md โ the graph examples were re-authored as plantuml rectangles |
architecture ยท infocard |
engines/html-css.md (rules, the seven architecture shapes, page skeletons, connectors); the layout set was recovered into examples/system-architecture/, and the card prototypes became examples/internal-documents/, catalogues-and-inventories/, customer-and-partner-comms/; the rest of the 90-file design library was triaged out |
There are no compatibility stubs: the CLI discovers a skill by locating a SKILL.md, so a stub directory
would be ignored rather than installed โ and would only add a dead directory to the repository. Reinstall
to get the new package.
node scripts/check-all.mjs # every theme gate at once
node scripts/validate-skills.mjs # layout, budgets, catalog, fences, language, theme reachability
node scripts/build-themes.mjs --check # theme files match the source tables
node scripts/build-catalog.mjs --check # catalog โ filesystem consistency
node scripts/build-goals.mjs --check # goal docs match the catalog
node scripts/sync-engine-indexes.mjs --check # shipped template index matches the installed engine
node scripts/build-coverage.mjs --check # coverage ledgers match the catalog
node scripts/verify-examples.mjs --dir documd-visuals/examples --all # render every examplecheck-all.mjs runs the theme gates โ drift (build-themes.mjs --check), contrast
(check-palette-contrast.mjs, per theme), block render (verify-blocks.mjs), block coverage
(apply-block.mjs --all --check), off-theme literals (check-palette-usage.mjs --strict) โ and
validate-skills.mjs, which also enforces that styles/palette.md and every styles/themes/*.md
stay reachable from SKILL.md, the goal docs and the engine references; add --with-examples for
the full render pass. All must exit 0.
build-themes.mjs regenerates documd-visuals/styles/themes/*.md from scripts/themes.json โ
edit the JSON, not the generated theme files.
build-catalog.mjs and build-goals.mjs regenerate
documd-visuals/catalog/scenarios.{json,md} and documd-visuals/goals/*.md from
documd-visuals/catalog/scenarios.tsv โ edit the TSV, not the generated files.
| File | Budget |
|---|---|
documd-visuals/SKILL.md |
300 lines / 12 KB body (frontmatter description: 1024 characters โ the Agent Skills limit) |
goals/*.md |
200 lines |
engines/*.md |
300 lines (generated plantuml-stencils/ exempt) |
examples/**/*.md |
120 lines target, 200 hard limit (verbose Vega specs) |
engines/coverage/*.md |
330 lines (generated: curated unit tables + every example grouped by goal) |
- Write
documd-visuals/examples/<domain>/<scenario>.mdin the standard shape: Best for / Avoid when / Answers โ the fenced block โ Data Shape / Key Options / Pitfalls / Alternatives โ a<!-- source: โฆ -->line. - Add a row to
catalog/scenarios.tsv:domain <TAB> scenario <TAB> engine <TAB> file. node scripts/build-catalog.mjs --apply && node scripts/build-goals.mjs.node scripts/verify-examples.mjs --dir documd-visuals/examples --all.
| Engine | Fence | Output |
|---|---|---|
| PlantUML (draw-uml) | ```plantuml / ```puml |
SVG |
| Vega-Lite / Vega | ```vega-lite / ```vega |
PNG |
| ECharts | ```echarts |
PNG |
| Infographic | ```infographic |
PNG |
| HTML/CSS | (no fence, raw HTML) | HTML |
- Markdown Viewer Extension - The rendering engine behind these skills
- Agent Skills Format - Standard format for AI agent skills
- Chrome Extension - Install for Chrome and Chromium browsers
- Edge Extension - Install from Microsoft Edge Add-ons
- Firefox Add-on - Install for Firefox
- Obsidian Plugin - Install from the Obsidian community directory
- VS Code Extension - Install for VS Code
Contribute to the single package, not to new engine-named skills:
- Find the goal domain your example belongs to in
documd-visuals/catalog/scenarios.tsv(or openSKILL.mdto see the router). If no domain fits, propose one โ domains hold 3โ8 scenarios. - Write the example and register it in the TSV (see Adding an example above).
- Run all four gates; a failing render or a stale catalog blocks the change.
- Keep statements traceable: every example ends with
<!-- source: โฆ -->pointing at the engine docs.
The skill package (documd-visuals/) is CC-BY-4.0 โ use it, copy it, adapt it and
redistribute it, including commercially and including the examples, with attribution. The same text ships
inside the package as documd-visuals/LICENSE.md, so an installed copy
carries its own terms. The grant covers the whole repository, including the repo-only tooling in
scripts/ and the dossiers in research/ โ neither directory is shipped or discovered as a skill.
The documd CLI and the rendering engines are separate works under GPL-3.0-only.
@markdown-viewer/documd, @markdown-viewer/draw-uml and @markdown-viewer/drawio2svg are not part of
this package and are not covered by the CC-BY-4.0 grant above; installing the skill does not license them.
Attribution, in practice. CC-BY-4.0 asks for it when you share the package, and only then. Vendor it and
keep LICENSE.md beside it, or put one credit line in your project's notices โ both satisfy it. Writing
documents with the skill, and documents that stay inside your organisation, require nothing at all. Never a
per-figure credit. Full detail: documd-visuals/LICENSE.md.
Third-party names used throughout this package โ PlantUML, AWS, Azure, Cisco, ArchiMate, ECharts, Vega, AntV and others โ are the trademarks of their respective owners, referenced only to describe the syntax and icon sets this package documents. No trademark rights are granted.