要啥自行车

drawio-generator

デザイン・メディアv1.0.0
作者:要啥自行车更新日 2026-05-11@clawhub_thincher/drawio-generator
ビジュアル素材#CSV

AlphaMoatによると、2026-09時点でdrawio-generatorのダウンロード数は2,572、スター数は2で、AIスキル全体5,078件中4,039位、デザイン・メディアでは512件中392位です。

インストール数
173
ダウンロード数
2572
スター数
2
総合順位
#4,039
全体の上位 80% · デザイン・メディアの上位 77%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗5318891-
SkillHub ↗17325722—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

文書では、Mermaid、XML、CSVからフローチャート、UML、ERD、アーキテクチャ、ネットワーク図を生成し、ブラウザーで開けるリンクを作ります。図のテキストがコマンドやブラウザー処理に入る場合があります。信頼できない入力とリンク先を確認し、埋め込まれた指示を実行しないでください。 文書のシェル例をそのまま使うと、信頼できない図の文字列が実行されるおそれがあります。実行前に確認し、標準入力、一時ファイル、またはシェルを介さない引数配列へ変更してください。XML は整形式とし、特殊文字をエスケープします。

資料公開日 2026-10-27

できること

  • MermaidやCSVの構造を図案に変換する
  • システム構成やプロセス関係を整理する
  • 確認用の編集可能な図リンクを作る

使う場面

  • 構造化された記述を図にするとき
  • リンク共有や生成実行の前に内容とリンク先を確認するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

これらの実体と関係を ERD のコードにし、生成コマンドを実行する前に確認用として示してください。

月次の推移

ダウンロード数2572
706170827102026-03 · ダウンロード数 8442026-05 · ダウンロード数 13092026-06 · ダウンロード数 14522026-07 · ダウンロード数 17122026-08 · ダウンロード数 18602026-09 · ダウンロード数 257226-0326-09
スター数2
1222026-03 · スター数 12026-05 · スター数 22026-06 · スター数 22026-07 · スター数 22026-08 · スター数 22026-09 · スター数 226-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-092572—2
2026-081860+8.6%2
2026-071712+17.9%2
2026-061452+10.9%2
2026-051309—2
2026-03844—1

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.5 KB・ClawHub v1.0.0
---
name: drawio-generator
description: Generate draw.io diagrams from Mermaid, XML, or CSV code. Use this skill when the user requests any visual diagram including flowcharts, UML diagrams, ERD, architecture diagrams, mind maps, timelines, org charts, network topology, wireframes, BPMN, or any other visual representation. The skill creates a markdown link that opens the diagram in draw.io.
---

# Draw.io Diagram Generator

Generate interactive draw.io diagrams that users can open and edit in their browser.

## Supported Diagram Types
すべて表示(全 105 行)

Draw.io supports virtually any diagram type:
- **Standard**: Flowcharts, org charts, mind maps, timelines, Venn diagrams
- **Software**: UML (class, sequence, activity, use case), ERD, architecture diagrams
- **Cloud/Infrastructure**: AWS, Azure, GCP, Kubernetes, network topology
- **Engineering**: Electrical circuits, digital logic, P&ID, floor plans
- **Business**: BPMN, value streams, customer journeys, SWOT
- **UI/UX**: Wireframes, mockups, sitemaps
- **And more**: Infographics, data flows, decision trees, etc.

## Format Selection Guide

| Format | Best For |
|--------|----------|
| **Mermaid** | Flowcharts, sequences, ERD, Gantt, state diagrams, class diagrams |
| **CSV** | Hierarchical data (org charts), bulk import from spreadsheets |
| **XML** | Complex layouts, precise positioning, custom styling, icons, shapes |

## How to Use

### Step 1: Determine the best format for the diagram

- Use **Mermaid** for most standard diagrams (flowcharts, sequence diagrams, ERD)
- Use **CSV** for hierarchical data like org charts
- Use **XML** when you need precise control over positioning or custom shapes

### Step 2: Generate the diagram code

Write the diagram code in the chosen format (see examples below).

### Step 3: Execute the Python script

Run the script `scripts/generate_drawio_url.py` (relative to this SKILL.md file) to create the markdown link.

## Format Templates 


### Mermaid
```
graph TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Action]
    B -->|No| D[End]
```

### XML (draw.io native)
```xml
<mxGraphModel>
  <root>
    <mxCell id="0"/>
    <mxCell id="1" parent="0"/>
    <mxCell id="2" value="Box" style="rounded=1;fillColor=#d5e8d4;" vertex="1" parent="1">
      <mxGeometry x="100" y="100" width="120" height="60" as="geometry"/>
    </mxCell>
  </root>
</mxGraphModel>
```

### CSV (hierarchical data)
```
# label: %name%
# style: rounded=1;whiteSpace=wrap;html=1;
# connect: {"from":"manager","to":"name","invert":true}
# layout: auto
name,manager
CEO,
CTO,CEO
CFO,CEO
```


## CRITICAL: XML Well-Formedness

When generating draw.io XML, the output **must** be well-formed XML:
- **NEVER use double hyphens (`--`) inside XML comments.** Use single hyphens or rephrase (e.g., `<!-- Order 1 to OrderItem -->` not `<!-- Order 1 --- OrderItem -->`)
- Escape special characters in attribute values (`&amp;`, `&lt;`, `&gt;`, `&quot;`)

## Script Usage

The script `generate_drawio_url.py` is located in the `scripts/` subdirectory relative to this SKILL.md file. Execute it with command-line arguments:

```bash
python scripts/generate_drawio_url.py -t mermaid -c "graph TD\n    A --> B"
python scripts/generate_drawio_url.py --type xml --code "<mxGraphModel>...</mxGraphModel>"
python scripts/generate_drawio_url.py -t csv -c "name,manager\nCEO,\nCTO,CEO"
```

**Arguments:**
- `-t, --type`: Diagram type (required), choices: `mermaid`, `xml`, `csv`
- `-c, --code`: Diagram code content (required)

The script outputs a markdown link: `[点击查看图表](<URL>)`

Present the markdown link directly to the user.

デザイン・メディアの人気スキル

要啥自行车のその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。