Claude Code command · cathrynlavery/diagram-design

Export Diagram

Exports a generated HTML diagram’s SVG as standalone SVG, PNG, or both; PNG uses Playwright.

Type
Claude Code command
Repository
cathrynlavery/diagram-design
Readiness
Usable for diagram generation with strong repository-authored checks, but output quality, host compatibility, and security claims were not independently verified from executed tests.
Keywords
4

Location

Repository path

commands/export-diagram.md

Invocation

/diagram-design:export-diagram path/to/diagram.html [--svg-only|--png-only] [--scale=3]

Setup

Installation / activation

Explicit slash command or natural-language export request.

Keywords

exportsvgpngplaywright

Repository context

cathrynlavery/diagram-design

MIT-licensed Claude Code plugin and portable Agent Skill for producing 39 opinionated editorial diagram types as self-contained HTML with inline SVG, importing draw.io and Mermaid structure for redrawing, applying brand profiles, optionally adding accessible motion, and exporting diagram-only SVG or PNG through documented supporting workflows.

diagrammingdata visualizationtechnical communicationarchitecture documentationproduct designeditorial designaccessibilitybrand systems

Open full repository research