From svg-diagram
LLMでカスタムデザインのSVG図解を生成。Mermaidでは表現できない自由配置の図解・インフォグラフィック向け。「図解を作って」「アーキテクチャ図」「インフォグラフィック」で発動。
How this skill is triggered — by the user, by Claude, or both
Slash command
/svg-diagram:svg-diagramThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
LLM(Gemini 3 Flash等)にカスタムデザインのSVG図解を生成させるプラグイン。
LLM(Gemini 3 Flash等)にカスタムデザインのSVG図解を生成させるプラグイン。 Mermaidでは対応できない自由配置・装飾付きの図解に使用。
通常のフローチャート・シーケンス図・ER図は mermaid-to-webp を優先。
# 基本的な図解生成
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js \
--prompt "3層アーキテクチャ図:フロントエンド、API、DB" \
--output diagram.svg
# ライトテーマ
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js \
--prompt "CI/CDパイプライン図" \
--output pipeline.svg \
--theme light
# カスタムサイズ
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js \
--prompt "マイクロサービス構成図" \
--output microservices.svg \
--width 2560 --height 1440
| オプション | 短縮 | 説明 | デフォルト |
|---|---|---|---|
--prompt | -p | 図の説明(必須) | - |
--output | -o | 出力SVGパス(必須) | - |
--theme | -t | dark / light | dark |
--model | -m | OpenRouterモデル | google/gemini-3-flash-preview |
--width | -w | viewBox幅 | 1920 |
--height | -h | viewBox高さ | 1080 |
--system-prompt | - | カスタムシステムプロンプト | - |
--max-tokens | - | 最大出力トークン数 | - |
--temperature | - | 温度パラメータ (0.0-2.0) | - |
docs/reference.md - カラーパレット・フォント・SVG要素リファレンスOPENROUTER_API_KEY 環境変数svg-to-webp プラグインと組み合わせnpx claudepluginhub haboshi/claude-code-skills --plugin svg-diagramCreates professional dark-themed SVG diagrams of any type: architecture, flowcharts, sequence, structural, mind maps, timelines, state machines, data flow, and illustrative/conceptual diagrams.
Creates technical and product diagrams (architecture, flowchart, sequence, etc.) as standalone HTML files with inline SVG. Includes style guide setup and 14 diagram types.
Generates Excalidraw diagram JSON files that argue visually, not just display information. Use for workflows, architectures, or concepts.