architecture-diagram
Installation
SKILL.md
gmdiagram — Architecture Diagram Skill
What This Skill Does
Generate publication-quality diagrams as standalone files. The output can be:
- HTML: Single
.htmlfile with inline SVG and embedded CSS (default, no JavaScript) - SVG: Standalone
.svgfile - Mermaid: Mermaid text syntax (paste into GitHub, Notion, etc.)
- PNG/PDF: Via the export script at
scripts/export.sh
Interactive Selection
When the user's request does NOT already specify all three choices (diagram type, style, output format), use the AskUserQuestion tool to let the user choose.
Important: AskUserQuestion supports at most 4 options per question and 4 questions per call. When there are more than 4 choices, split into two calls or use the auto-infer + confirm pattern below.
Selection Strategy
For each dimension, follow this logic:
Related skills