本文へスキップ
Skillpedia
インターフェース(UI/UX)394k · #52

diagram-maker

できること

このスキルは、概念、システム、フロー、ホワイトボードの図を作り、それぞれに最適な形式を選ぶ手順を、AIエージェントに示します。何かがどう動くかを明確な図で示す必要がある人のためのものです。

使う場面

  • ✓プロセス、フロー、または何かがどう動くかの図がほしいとき。
  • ✓サービスやデータベースを含む、ソフトウェアシステムの図が必要なとき。
  • ✓後で変更できる、編集可能なホワイトボードのスケッチがほしいとき。

スキルのリンク

https://github.com/openclaw/openclaw/blob/main/skills/diagram-maker/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“注文の流れを、チェックアウトから配送まで簡単な図にして、HTMLファイルで作ってください。”

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

仕組み

このスキルは、まず部品とそのつながりを一覧にし、そのうえでレイアウトを決めます。SVG、HTML、Excalidrawなどの独立したファイルを作成し、そのファイルが正しいかを確認します。

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

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

Diagram Maker

Create diagrams as artifacts, not prose. Choose one output mode:

  • clean-svg: educational concepts, physical systems, processes, lifecycle, simple data flow.
  • architecture-svg: software/cloud/infra topology, services, databases, queues, trust zones.
  • excalidraw: editable hand-drawn whiteboard, flowchart, sequence, architecture sketch.

Routing

  • User wants editable/collaborative: choose Excalidraw.
  • User wants polished standalone browser output: choose SVG/HTML.
  • Software architecture with infra components: choose architecture SVG.
  • Science, product, process, concept map, physical object: choose clean SVG.
  • Unsure: ask one short question only if output format matters; otherwise choose clean SVG.

Workflow

  1. Extract nodes, groups, labels, and directed relationships.
  2. Pick layout first: left-to-right, top-down, hub-spoke, swimlanes, layered stack, sequence.
  3. Keep labels short. Prefer 5-9 main elements over dense diagrams.
  4. Generate the file at the requested path, or ./diagram.html / ./diagram.excalidraw.
  5. Verify syntax by opening/parsing when feasible.

SVG/HTML rules

  • Single standalone .html file with inline CSS and inline SVG.
  • No external fonts, JS, images, gradients, glows, decorative blobs, or remote assets.
  • Use semantic colors, not rainbow sequences: neutral, input, process, storage, external, risk.
  • Draw connectors before nodes so arrows sit behind boxes.
  • Every connector path has fill="none" and a marker arrow when directed.
  • Leave 24px text padding inside boxes; do not let text touch borders.
  • Legend only when symbols/colors are not obvious.

SVG template

Use references/svg-template.md as the wrapper and replace <!-- SVG -->.

Excalidraw rules

  • Save .excalidraw JSON with type, version, source, elements, and appState.
  • Use bound text for shape labels. Do not use a nonstandard label property.
  • Keep bound text immediately after its container in the elements array.
  • Minimum labeled shape: 120x60. Minimum body text: 16px.
  • Use roughness 1, fontFamily: 1, and simple fills.

For exact Excalidraw element snippets, read references/excalidraw-patterns.md.

よくある質問

どの形式を選ぶべきですか?

編集や共同作業向けのスケッチにはExcalidraw、洗練された単独のページにはSVGやHTML、ソフトウェアのアーキテクチャにはアーキテクチャ用のSVGスタイルが適しています。

図を表示するのにインターネット接続が必要ですか?

いいえ。HTMLとSVGのファイルはインラインのスタイルを使い、外部のフォント、スクリプト、画像を読み込みません。

図はどのくらい複雑にできますか?

短いラベルの主な要素を5から9個程度にすることを目指します。密度の高い図は読みにくいためです。

詳細

作者による元の説明

Create SVG/HTML or Excalidraw diagrams for concepts, architecture, flows, and whiteboards.

repo: openclaw/openclaw

人気

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

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

0

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

コメント

  • …

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

似ているスキル