本文へスキップ
Skillpedia
ドキュメント作成33k · #8684

diagrammer

できること

このスキルは、AIが平易な説明をきれいなSVG図に変えられるようにします。デザインツールを使わずに、ドキュメント、README、記事、スライド用の技術図が必要な人向けです。

使う場面

  • ✓リクエストの流れやアーキテクチャの図を、SVGファイルとして保存したいとき。
  • ✓READMEやスライドに使う状態遷移図やデータパイプラインの図が必要なとき。
  • ✓後から編集できるテキストの仕様として図を保存したいとき。

スキルのリンク

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/creative-design/diagrammer/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/creative-design/diagrammer/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“クライアントからAPIを経由してPostgresデータベースにリクエストが届く流れを、SVGの図にしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、ノードとエッジを持つ小さなJSONの仕様を書き、diagrammerツールでSVGファイルに描画します。仕様を変更して、もう一度描画することもできます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

diagrammer

Use diagrammer to turn a small JSON spec into a clean SVG diagram. It is useful when the user wants a precise technical diagram without opening a design tool.

Install

The renderer must be installed locally:

pipx install diagrammer

Workflow

  1. Convert the user's plain-English diagram request into a JSON spec.
  2. Save the spec to a temporary or project file.
  3. Render it:
diagrammer path/to/spec.json > path/to/diagram.svg
  1. Return the SVG path to the user.

Spec Essentials

{
  "nodes": [
    {"id": "client", "type": "box", "label": "client"},
    {"id": "api", "type": "box", "label": "api"},
    {"id": "db", "type": "database", "label": "postgres"}
  ],
  "edges": [
    {"from": "client", "to": "api", "label": "request"},
    {"from": "api", "to": "db", "label": "query"}
  ]
}

Built-in node types: box, circle, text, database, stack, group, note, and custom.

Useful optional fields:

  • direction: "LR" or "TB"
  • router: "straight" or "ortho"
  • label on edges
  • style: "solid" or "dashed"
  • weight: "thin" or "thick"

For the full reference, run:

diagrammer prompt

When To Choose This

Use diagrammer when the output should be a checked-in SVG artifact, especially for:

  • README diagrams
  • architecture sketches
  • request flows
  • state machines
  • neural-net or transformer diagrams
  • simple data pipelines

Prefer Mermaid when the user specifically asks for Mermaid syntax or wants diagrams rendered by a Markdown platform. Prefer Excalidraw when the user wants editable hand-drawn canvas files.

よくある質問

何かインストールする必要がありますか?

はい。ガイドでは、diagrammerの描画ツールを、pipxなどでローカルにインストールする必要があるとしています。

どのノードの種類が使えますか?

ガイドには、box、circle、text、database、stack、group、note、customが挙げられています。

レイアウトは変更できますか?

はい。仕様で、方向、経路の設定、エッジのスタイルを指定できます。

詳細

作者による元の説明

Render clean blueprint-style SVG diagrams from JSON specs. Use when users ask to draw, sketch, or diagram a request flow, neural net, transformer block, system architecture, state machine, data pipeline, or any node-and-edge technical visual they want as an SVG for docs, READMEs, posts, or slides.

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#8684
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル