Communityコーディング&開発github.com

ダイアグラムメーカー

コンセプト、アーキテクチャ、フロー、ホワイトボード用のSVG/HTMLまたはExcalidraw図を作成します。

ダイアグラムメーカー とは?

このスキルは、開発者がテキスト記述から構造化された図をアーティファクトとして直接生成できるようにします。主に3つの出力モード(クリーンSVG、アーキテクチャSVG、Excalidraw)をサポートしており、教育的な概念、ソフトウェア/クラウドインフラのトポロジー、編集可能な手描きスタイルのホワイトボードなど、目的に応じて最適な形式を選択できます。ワークフローは、ノードと関係の抽出、レイアウトの選択(左から右、トップダウン、ハブアンドスポーク、スイムレーンなど)、ラベルの短縮、ファイル生成、構文検証で構成されます。SVG/HTML出力では、外部依存関係のない単一のスタンドアロンファイルが生成され、意味論的な色使いと適切な間隔が適用されます。Excalidraw出力では、バウンドテキストや最低サイズなどの正確な要素ルールに従ったJSON形式が生成され、編集やコラボレーションが容易です。このスキルは、Claude CodeやCursorなどのAIエージェントや、コード生成を支援する開発ツールでの使用に適しています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/diagram-maker

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ダイアグラムメーカー は何をしますか?

図を散文ではなくアーティファクトとして作成します。次の出力モードのいずれかを選択してください:

  • clean-svg: 教育的な概念、物理システム、プロセス、ライフサイクル、シンプルなデータフロー。
  • architecture-svg: ソフトウェア/クラウド/インフラのトポロジー、サービス、データベース、キュー、トラストゾーン。
  • excalidraw: 編集可能な手描きホワイトボード、フローチャート、シーケンス、アーキテクチャスケッチ。

選択基準

  • ユーザーが編集可能/共同作業を希望する場合:Excalidraw を選択。
  • ユーザーが洗練されたスタンドアロンブラウザ出力を希望する場合:SVG/HTML を選択。
  • インフラコンポーネントを含むソフトウェアアーキテクチャの場合:アーキテクチャ SVG を選択。
  • サイエンス、製品、プロセス、コンセプトマップ、物理オブジェクトの場合:クリーン SVG を選択。
  • 不明な場合:出力形式が重要になる場合にのみ短い質問を1つ行い、それ以外はクリーン SVG を選択。

ワークフロー

  1. ノード、グループ、ラベル、および有向関係を抽出します。
  2. 最初にレイアウトを選択します:左から右、トップダウン、ハブアンドスポーク、スイムレーン、レイヤードスタック、シーケンス。
  3. ラベルは短く保ちます。密集した図よりも5〜9個の主要要素を優先します。
  4. 要求されたパス、または ./diagram.html / ./diagram.excalidraw にファイルを生成します。
  5. 可能な場合は開く/解析して構文を検証します。

SVG/HTML ルール

  • インラインCSSとインラインSVGを含む単一のスタンドアロン .html ファイル。
  • 外部フォント、JS、画像、グラデーション、グロー、装飾的なブロブ、リモートアセットは使用禁止。
  • 虹色の順序ではなく、意味論的な色を使用:ニュートラル、入力、プロセス、ストレージ、外部、リスク。
  • コネクタをノードの前に描画し、矢印がボックスの後ろに来るようにします。
  • すべてのコネクタパスは fill="none" を持ち、有向の場合はマーカー矢印を持ちます。
  • ボックス内部に24pxのテキストパディングを確保し、テキストが境界線に接触しないようにします。
  • 凡例は、記号や色が明らかでない場合にのみ追加します。

SVG テンプレート

ラッパーとして references/svg-template.md を使用し、<!-- SVG --> を置き換えます。

Excalidraw ルール

  • .excalidraw JSON を type、version、source、elements、appState と共に保存します。
  • シェイプラベルにはバウンドテキストを使用します。非標準の label プロパティは使用しないでください。
  • バウンドテキストは、そのコンテナの直後に elements 配列内に配置します。
  • ラベル付きシェイプの最小サイズ:120x60。本文テキストの最小サイズ:16px。
  • ラフネス 1、fontFamily: 1、およびシンプルな塗りつぶしを使用します。

正確な Excalidraw 要素スニペットについては、references/excalidraw-patterns.md を参照してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

関連スキル