diagram-maker
できること
このスキルは、概念、プロセス、システムのアーキテクチャ、ホワイトボードのスケッチの図を作ります。アイデアやシステムを説明するための図が必要な人が対象です。
使う場面
- ✓プロセス、フロー、概念の図が必要で、ファイルとして共有したいとき。
- ✓後で変更できる、編集可能なホワイトボードのスケッチが欲しいとき。
- ✓サービス、データベース、キューを示すアーキテクチャの図が必要なとき。
スキルのリンク
https://github.com/iflytek/skillhub/blob/main/builtin-skills/skills/diagram-maker/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チェックアウトから配送までの注文の流れを、編集可能なExcalidrawの図にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは最適な形式を選び、主なステップと関係を抜き出して、配置し、ファイルを作成します。出力が正しく開けるか、解析できるかを確認します。
技術的な内容(元の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
- Extract nodes, groups, labels, and directed relationships.
- Pick layout first: left-to-right, top-down, hub-spoke, swimlanes, layered stack, sequence.
- Keep labels short. Prefer 5-9 main elements over dense diagrams.
- Generate the file at the requested path. If none is provided, use
diagram.htmlordiagram.excalidrawin the current working directory. - Do not overwrite an existing file by default. Choose an unused suffixed name such as
diagram-2.html, or ask before replacing the existing file. - Verify syntax by opening or parsing the output when feasible.
SVG/HTML rules
- Single standalone
.htmlfile 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
.excalidrawJSON withtype,version,source,elements, andappState. - Use bound text for shape labels. Do not use a nonstandard
labelproperty. - 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.
よくある質問
どんなファイル形式を作れますか?
単独のSVGまたはHTMLファイルと、編集可能なExcalidrawファイルを作れます。
既存のファイルを上書きしますか?
いいえ。スキルは既定では既存のファイルを上書きせず、新しい名前を選びます。
図の要素は何個までにすべきですか?
スキルは、読みやすさを保つため、主な要素は5〜9個程度にすることを勧めています。
詳細
作者による元の説明
Create standalone SVG/HTML or editable Excalidraw diagrams for concepts, architecture, processes, flows, and whiteboards.
repo: iflytek/skillhub
人気
- GitHubのスター
- 5.4k
- ランキング
- #14975
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ai-claim-checker
5.4kエージェントが、AIの回答に含まれる事実の主張を確認し、独立した情報源を選んで、AIを慎重に読み解く習慣づくりを支援します。
cue-omni-reader
5.4kエージェントが、Cue Omni Readerサービスを通じてWebページ、文書、音声、動画ファイルを読み込み、解析された内容をあなたの作業に使えるよう支援します。
daily-standup-journal
5.4kエージェントが、セッションで共有された内容だけに基づいて、短い毎日のスタンドアップ、振り返りの問いかけ、週次のレトロスペクティブを作成できるよう支援します。
decision-matrix
5.4kエージェントが、明確な採点方法を使って選択肢を比べ、長所と短所、そして各点数の裏にある前提を整理できるよう支援します。