Skip to content

Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.

docs: agent-agnostic positioning

Agents365-aif93f5efd8411
diff --git a/.gitignore b/.gitignore
index 48957d9..03a24fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+# Local dev notes (never pushed)
+CLAUDE.md
+
# macOS
.DS_Store
@@ -6,6 +9,8 @@
logs/
__pycache__/
*.pyc
+.pytest_cache/
+.ruff_cache/
# Auto-update timestamp (written by SKILL.md step 0)
.last_update
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4d57905..6e11c9c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,24 @@ on [Keep a Changelog](https://keepachangelog.com/), and the project follows
semantic-ish versioning (the `metadata.version` field in
`skills/drawio-skill/SKILL.md`).
+## [3.2.1] - 2026-09-03
+
+### Changed
+
+- **Agent-agnostic docs**: removed the ClawHub badge, the "indexed on ClawHub"
+ mentions, `clawhub install/update` commands, and the ClawHub install tab on
+ the docs site, so no single agent or marketplace is emphasized. The skill
+ stays a universal Agent Skills package: per-agent install snippets and the
+ platform list remain parallel, ending in "any agent compatible with the
+ Agent Skills format".
+- **README / README_CN**: removed the Support (donation) section; the footer
+ is now Author, then License.
+- **SKILL.md routing table**: added an entry for turning screenshots,
+ whiteboard photos, or legacy PNGs into editable diagrams
+ (`references/derasterize.md`).
+- **Docs site**: theme-toggle button uses `textContent` instead of
+ `innerHTML` (static emoji strings, no behavioral change).
+
## [3.2.0] — 2026-09-01
### Added
diff --git a/README.md b/README.md
index 2db470f..935253c 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,6 @@
[![Last Commit](https://img.shields.io/github/last-commit/Agents365-ai/drawio-skill?logo=github)](https://github.com/Agents365-ai/drawio-skill/commits/main)
[![SkillsMP](https://img.shields.io/badge/SkillsMP-listed-1f6feb)](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md)
-[![ClawHub](https://img.shields.io/badge/ClawHub-listed-ff6b35)](https://clawhub.ai/agents365-ai/drawio-pro-skill)
[![Claude Code Plugin](https://img.shields.io/badge/Claude%20Code-plugin-8a2be2)](https://github.com/Agents365-ai/365-skills)
[![Agent Skills](https://img.shields.io/badge/Agent%20Skills-compatible-2ea44f)](https://agentskills.io)
@@ -146,9 +145,9 @@ git clone https://github.com/Agents365-ai/drawio-skill.git \
Autohand Code also supports `autohand --skill-install` for cataloged skills, with `--project` for workspace-level installs. Until this skill is listed there, use the direct clone path above.
-Also indexed on [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md) and [ClawHub](https://clawhub.ai/agents365-ai/drawio-pro-skill).
+Also indexed on [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md).
-**Updating:** `/plugin update drawio` (Claude Code), `skills update drawio-skill` (SkillsMP), `clawhub update drawio-pro-skill` (OpenClaw), or `git pull` for manual installs — see [docs/INSTALL_SKILL.md#updates](docs/INSTALL_SKILL.md#updates). Release history in [CHANGELOG.md](CHANGELOG.md).
+**Updating:** `/plugin update drawio` (Claude Code), `skills update drawio-skill` (SkillsMP), or `git pull` for manual installs — see [docs/INSTALL_SKILL.md#updates](docs/INSTALL_SKILL.md#updates). Release history in [CHANGELOG.md](CHANGELOG.md).
## ⚡ Quick Start
@@ -422,35 +421,6 @@ Part of the [Agents365-ai diagram-skill family](https://github.com/Agents365-ai)
| [plantuml-skill](https://github.com/Agents365-ai/plantuml-skill) | UML-focused | Class / sequence diagrams in CI pipelines |
| [tldraw-skill](https://github.com/Agents365-ai/tldraw-skill) | Whiteboard collaboration | Casual sketches, FigJam-style boards |
-## ❤️ Support
-
-If this skill helps you, consider supporting the author:
-
-<table>
- <tr>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png" width="180" alt="WeChat Pay">
- <br>
- <b>WeChat Pay</b>
- </td>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png" width="180" alt="Alipay">
- <br>
- <b>Alipay</b>
- </td>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png" width="180" alt="Buy Me a Coffee">
- <br>
- <b>Buy Me a Coffee</b>
- </td>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif" width="180" alt="Give a Reward">
- <br>
- <b>Give a Reward</b>
- </td>
- </tr>
-</table>
-
## 👤 Author
**Agents365-ai**
diff --git a/README_CN.md b/README_CN.md
index 99848e8..6e301fd 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -7,7 +7,6 @@
[![Last Commit](https://img.shields.io/github/last-commit/Agents365-ai/drawio-skill?logo=github)](https://github.com/Agents365-ai/drawio-skill/commits/main)
[![SkillsMP](https://img.shields.io/badge/SkillsMP-listed-1f6feb)](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md)
-[![ClawHub](https://img.shields.io/badge/ClawHub-listed-ff6b35)](https://clawhub.ai/agents365-ai/drawio-pro-skill)
[![Claude Code Plugin](https://img.shields.io/badge/Claude%20Code-plugin-8a2be2)](https://github.com/Agents365-ai/365-skills)
[![Agent Skills](https://img.shields.io/badge/Agent%20Skills-兼容-2ea44f)](https://agentskills.io)
@@ -144,9 +143,9 @@ git clone https://github.com/Agents365-ai/drawio-skill.git \
Autohand Code 也支持通过 `autohand --skill-install` 安装已收录在 Autohand catalog 中的 skill,并可通过 `--project` 安装到当前项目。在该 skill 收录前,请使用上面的直接克隆方式。
-同时索引于 [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md) 与 [ClawHub](https://clawhub.ai/agents365-ai/drawio-pro-skill)。
+同时索引于 [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md)。
-**更新:** `/plugin update drawio`(Claude Code)、`skills update drawio-skill`(SkillsMP)、`clawhub update drawio-pro-skill`(OpenClaw),或 `git pull`(手动安装)—— 详见 [docs/INSTALL_SKILL_CN.md#更新](docs/INSTALL_SKILL_CN.md#更新)。版本历史见 [CHANGELOG.md](CHANGELOG.md)。
+**更新:** `/plugin update drawio`(Claude Code)、`skills update drawio-skill`(SkillsMP),或 `git pull`(手动安装)—— 详见 [docs/INSTALL_SKILL_CN.md#更新](docs/INSTALL_SKILL_CN.md#更新)。版本历史见 [CHANGELOG.md](CHANGELOG.md)。
## ⚡ 快速开始
@@ -419,35 +418,6 @@ Skill 会提取配色、形状、字体和连线风格,渲染预览图,**确
| [plantuml-skill](https://github.com/Agents365-ai/plantuml-skill) | UML 专精 | CI 流水线里的类图 / 序列图 |
| [tldraw-skill](https://github.com/Agents365-ai/tldraw-skill) | 白板协作 | 随手画、FigJam 风格 |
-## ❤️ 支持作者
-
-如果这个 skill 对你有帮助,欢迎支持作者:
-
-<table>
- <tr>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png" width="180" alt="微信支付">
- <br>
- <b>微信支付</b>
- </td>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png" width="180" alt="支付宝">
- <br>
- <b>支付宝</b>
- </td>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png" width="180" alt="Buy Me a Coffee">
- <br>
- <b>Buy Me a Coffee</b>
- </td>
- <td align="center">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif" width="180" alt="打赏">
- <br>
- <b>打赏</b>
- </td>
- </tr>
-</table>
-
## 👤 作者
**Agents365-ai**
diff --git a/docs/INSTALL_SKILL.md b/docs/INSTALL_SKILL.md
index 85e05b8..2ed1e00 100644
--- a/docs/INSTALL_SKILL.md
+++ b/docs/INSTALL_SKILL.md
@@ -19,7 +19,7 @@ git clone https://github.com/Agents365-ai/drawio-skill.git ~/.autohand/skills/dr
git clone https://github.com/Agents365-ai/drawio-skill.git .autohand/skills/drawio-skill
```
-Common paths: `~/.claude/skills/` (Claude Code), `~/.config/opencode/skills/` (Opencode), `~/.openclaw/skills/` (OpenClaw), `~/.agents/skills/` (Codex), `~/.autohand/skills/` (Autohand Code global), and `<project>/.autohand/skills/` (Autohand Code project). Also indexed on [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md) and [ClawHub](https://clawhub.ai/agents365-ai/drawio-pro-skill).
+Common paths: `~/.claude/skills/` (Claude Code), `~/.config/opencode/skills/` (Opencode), `~/.openclaw/skills/` (OpenClaw), `~/.agents/skills/` (Codex), `~/.autohand/skills/` (Autohand Code global), and `<project>/.autohand/skills/` (Autohand Code project). Also indexed on [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md).
Autohand Code supports `autohand --skill-install` for cataloged skills, with `--project` for workspace-level installs. Until this skill is listed there, use the direct clone path above.
@@ -31,9 +31,6 @@ Updates flow through whatever channel you installed from:
# Claude Code plugin
/plugin update drawio
-# OpenClaw
-clawhub update drawio-pro-skill
-
# SkillsMP
skills update drawio-skill
```
diff --git a/docs/INSTALL_SKILL_CN.md b/docs/INSTALL_SKILL_CN.md
index f36cf72..97a4a7a 100644
--- a/docs/INSTALL_SKILL_CN.md
+++ b/docs/INSTALL_SKILL_CN.md
@@ -19,7 +19,7 @@ git clone https://github.com/Agents365-ai/drawio-skill.git ~/.autohand/skills/dr
git clone https://github.com/Agents365-ai/drawio-skill.git .autohand/skills/drawio-skill
```
-常用路径:`~/.claude/skills/`(Claude Code)、`~/.config/opencode/skills/`(Opencode)、`~/.openclaw/skills/`(OpenClaw)、`~/.agents/skills/`(Codex)、`~/.autohand/skills/`(Autohand Code 全局)和 `<project>/.autohand/skills/`(Autohand Code 项目级)。同时已索引于 [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md) 和 [ClawHub](https://clawhub.ai/agents365-ai/drawio-pro-skill)。
+常用路径:`~/.claude/skills/`(Claude Code)、`~/.config/opencode/skills/`(Opencode)、`~/.openclaw/skills/`(OpenClaw)、`~/.agents/skills/`(Codex)、`~/.autohand/skills/`(Autohand Code 全局)和 `<project>/.autohand/skills/`(Autohand Code 项目级)。同时已索引于 [SkillsMP](https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md)。
Autohand Code 支持通过 `autohand --skill-install` 安装已收录在 Autohand catalog 中的 skill,并可通过 `--project` 安装到当前项目。在该 skill 收录前,请使用上面的直接克隆方式。
@@ -31,9 +31,6 @@ Autohand Code 支持通过 `autohand --skill-install` 安装已收录在 Autohan
# Claude Code 插件
/plugin update drawio
-# OpenClaw
-clawhub update drawio-pro-skill
-
# SkillsMP
skills update drawio-skill
```
diff --git a/docs/index.html b/docs/index.html
index e8af470..15de0b0 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,393 +1,970 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en" data-theme="dark">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>drawio-skill — From Text to Professional Diagrams</title>
- <meta name="description" content="Claude Code skill for professional draw.io diagrams from natural language: 11 presets, ML/DL support, codebase visualization, 10,000+ official shapes, 321 AI/LLM brand logos, self-check loop. Exports PNG/SVG/PDF/JPG.">
- <meta name="theme-color" content="#0d1117">
- <link rel="canonical" href="https://agents365-ai.github.io/drawio-skill/">
- <link rel="alternate" hreflang="zh" href="https://agents365-ai.github.io/drawio-skill/zh.html">
- <link rel="alternate" hreflang="en" href="https://agents365-ai.github.io/drawio-skill/">
- <meta property="og:title" content="drawio-skill — From Text to Professional Diagrams">
- <meta property="og:description" content="Professional draw.io diagrams from natural language: 11 presets, codebase visualization, 10,000+ official shapes, 321 AI/LLM brand logos, self-check loop.">
- <meta property="og:type" content="website">
- <meta property="og:url" content="https://agents365-ai.github.io/drawio-skill/">
- <meta property="og:image" content="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star.png">
- <meta name="twitter:card" content="summary_large_image">
- <style>
- *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
-
- /* Theme variables */
- [data-theme="dark"] {
- --bg: #0d1117; --bg-card: #161b22; --bg-code: #1c2128;
- --border: #30363d; --text: #e6edf3; --text-muted: #8b949e;
- --accent: #58a6ff; --accent-hover: #79c0ff;
- --green: #3fb950; --red: #f85149;
- }
- [data-theme="light"] {
- --bg: #ffffff; --bg-card: #f6f8fa; --bg-code: #f0f3f6;
- --border: #d0d7de; --text: #1f2328; --text-muted: #656d76;
- --accent: #0969da; --accent-hover: #0550ae;
- --green: #1a7f37; --red: #cf222e;
- }
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>drawio-skill — From Text to Professional Diagrams</title>
+ <meta
+ name="description"
+ content="Claude Code skill for professional draw.io diagrams from natural language: 11 presets, ML/DL support, codebase visualization, 10,000+ official shapes, 321 AI/LLM brand logos, self-check loop. Exports PNG/SVG/PDF/JPG."
+ />
+ <meta name="theme-color" content="#0d1117" />
+ <link rel="canonical" href="https://agents365-ai.github.io/drawio-skill/" />
+ <link
+ rel="alternate"
+ hreflang="zh"
+ href="https://agents365-ai.github.io/drawio-skill/zh.html"
+ />
+ <link
+ rel="alternate"
+ hreflang="en"
+ href="https://agents365-ai.github.io/drawio-skill/"
+ />
+ <meta
+ property="og:title"
+ content="drawio-skill — From Text to Professional Diagrams"
+ />
+ <meta
+ property="og:description"
+ content="Professional draw.io diagrams from natural language: 11 presets, codebase visualization, 10,000+ official shapes, 321 AI/LLM brand logos, self-check loop."
+ />
+ <meta property="og:type" content="website" />
+ <meta
+ property="og:url"
+ content="https://agents365-ai.github.io/drawio-skill/"
+ />
+ <meta
+ property="og:image"
+ content="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star.png"
+ />
+ <meta name="twitter:card" content="summary_large_image" />
+ <style>
+ *,
+ *::before,
+ *::after {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+ }
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
- background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;
- transition: background 0.3s, color 0.3s;
- }
- a { color: var(--accent); text-decoration: none; }
- a:hover { color: var(--accent-hover); text-decoration: underline; }
+ /* Theme variables */
+ [data-theme="dark"] {
+ --bg: #0d1117;
+ --bg-card: #161b22;
+ --bg-code: #1c2128;
+ --border: #30363d;
+ --text: #e6edf3;
+ --text-muted: #8b949e;
+ --accent: #58a6ff;
+ --accent-hover: #79c0ff;
+ --green: #3fb950;
+ --red: #f85149;
+ }
+ [data-theme="light"] {
+ --bg: #ffffff;
+ --bg-card: #f6f8fa;
+ --bg-code: #f0f3f6;
+ --border: #d0d7de;
+ --text: #1f2328;
+ --text-muted: #656d76;
+ --accent: #0969da;
+ --accent-hover: #0550ae;
+ --green: #1a7f37;
+ --red: #cf222e;
+ }
- /* Nav */
- nav {
- position: sticky; top: 0; z-index: 100;
- background: var(--bg); border-bottom: 1px solid var(--border);
- padding: 12px 24px; display: flex; justify-content: space-between; align-items: center;
- transition: background 0.3s;
- }
- nav .logo { font-weight: 700; font-size: 16px; color: var(--text); }
- nav .logo span { color: var(--accent); }
- nav .nav-right { display: flex; align-items: center; gap: 16px; }
- .lang-switch {
- font-size: 14px; font-weight: 500; color: var(--text-muted);
- padding: 4px 12px; border: 1px solid var(--border); border-radius: 6px;
- transition: all 0.2s;
- }
- .lang-switch:hover { color: var(--text); border-color: var(--text-muted); text-decoration: none; }
- .theme-btn {
- background: none; border: 1px solid var(--border); color: var(--text-muted);
- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 16px;
- transition: all 0.2s; line-height: 1;
- }
- .theme-btn:hover { color: var(--text); border-color: var(--text-muted); }
+ body {
+ font-family:
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
+ sans-serif;
+ background: var(--bg);
+ color: var(--text);
+ line-height: 1.6;
+ overflow-x: hidden;
+ transition:
+ background 0.3s,
+ color 0.3s;
+ }
+ a {
+ color: var(--accent);
+ text-decoration: none;
+ }
+ a:hover {
+ color: var(--accent-hover);
+ text-decoration: underline;
+ }
- /* Layout */
- .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
- section { padding: 72px 0; }
- section + section { border-top: 1px solid var(--border); }
+ /* Nav */
+ nav {
+ position: sticky;
+ top: 0;
+ z-index: 100;
+ background: var(--bg);
+ border-bottom: 1px solid var(--border);
+ padding: 12px 24px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ transition: background 0.3s;
+ }
+ nav .logo {
+ font-weight: 700;
+ font-size: 16px;
+ color: var(--text);
+ }
+ nav .logo span {
+ color: var(--accent);
+ }
+ nav .nav-right {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ }
+ .lang-switch {
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--text-muted);
+ padding: 4px 12px;
+ border: 1px solid var(--border);
+ border-radius: 6px;
+ transition: all 0.2s;
+ }
+ .lang-switch:hover {
+ color: var(--text);
+ border-color: var(--text-muted);
+ text-decoration: none;
+ }
+ .theme-btn {
+ background: none;
+ border: 1px solid var(--border);
+ color: var(--text-muted);
+ border-radius: 6px;
+ padding: 4px 10px;
+ cursor: pointer;
+ font-size: 16px;
+ transition: all 0.2s;
+ line-height: 1;
+ }
+ .theme-btn:hover {
+ color: var(--text);
+ border-color: var(--text-muted);
+ }
- /* Hero */
- .hero { text-align: center; padding: 96px 0 72px; border-bottom: 1px solid var(--border); }
- .hero-badge {
- display: inline-block; font-size: 13px; color: var(--accent);
- border: 1px solid var(--accent); border-radius: 20px;
- padding: 4px 14px; margin-bottom: 20px; letter-spacing: 0.5px;
- }
- .hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
- .hero h1 span { color: var(--accent); }
- .hero p { font-size: 20px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }
- .hero-install {
- display: inline-flex; align-items: center; gap: 12px;
- background: var(--bg-code); border: 1px solid var(--border); border-radius: 8px;
- padding: 12px 20px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 15px;
- margin-bottom: 24px;
- }
- .hero-install code { color: var(--green); }
- .copy-btn {
- background: none; border: 1px solid var(--border); color: var(--text-muted);
- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 13px; transition: all 0.2s;
- }
- .copy-btn:hover { color: var(--text); border-color: var(--text-muted); }
- .hero-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
- .btn {
- display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px;
- border-radius: 8px; font-size: 15px; font-weight: 600; transition: all 0.2s;
- }
- .btn-primary { background: var(--accent); color: #fff; }
- [data-theme="light"] .btn-primary { color: #fff; }
- .btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
- .btn-outline { border: 1px solid var(--border); color: var(--text); }
- .btn-outline:hover { border-color: var(--text-muted); text-decoration: none; }
+ /* Layout */
+ .container {
+ max-width: 1080px;
+ margin: 0 auto;
+ padding: 0 24px;
+ }
+ section {
+ padding: 72px 0;
+ }
+ section + section {
+ border-top: 1px solid var(--border);
+ }
- /* Section headers */
- .section-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; text-align: center; }
- .section-sub { color: var(--text-muted); font-size: 17px; text-align: center; margin-bottom: 48px; }
+ /* Hero */
+ .hero {
+ text-align: center;
+ padding: 96px 0 72px;
+ border-bottom: 1px solid var(--border);
+ }
+ .hero-badge {
+ display: inline-block;
+ font-size: 13px;
+ color: var(--accent);
+ border: 1px solid var(--accent);
+ border-radius: 20px;
+ padding: 4px 14px;
+ margin-bottom: 20px;
+ letter-spacing: 0.5px;
+ }
+ .hero h1 {
+ font-size: 48px;
+ font-weight: 800;
+ margin-bottom: 16px;
+ letter-spacing: -1px;
+ }
+ .hero h1 span {
+ color: var(--accent);
+ }
+ .hero p {
+ font-size: 20px;
+ color: var(--text-muted);
+ max-width: 600px;
+ margin: 0 auto 32px;
+ }
+ .hero-install {
+ display: inline-flex;
+ align-items: center;
+ gap: 12px;
+ background: var(--bg-code);
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ padding: 12px 20px;
+ font-family: "SF Mono", "Fira Code", monospace;
+ font-size: 15px;
+ margin-bottom: 24px;
+ }
+ .hero-install code {
+ color: var(--green);
+ }
+ .copy-btn {
+ background: none;
+ border: 1px solid var(--border);
+ color: var(--text-muted);
+ border-radius: 6px;
+ padding: 4px 10px;
+ cursor: pointer;
+ font-size: 13px;
+ transition: all 0.2s;
+ }
+ .copy-btn:hover {
+ color: var(--text);
+ border-color: var(--text-muted);
+ }
+ .hero-links {
+ display: flex;
+ justify-content: center;
+ gap: 16px;
+ flex-wrap: wrap;
+ }
+ .btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 10px 24px;
+ border-radius: 8px;
+ font-size: 15px;
+ font-weight: 600;
+ transition: all 0.2s;
+ }
+ .btn-primary {
+ background: var(--accent);
+ color: #fff;
+ }
+ [data-theme="light"] .btn-primary {
+ color: #fff;
+ }
+ .btn-primary:hover {
+ background: var(--accent-hover);
+ text-decoration: none;
+ }
+ .btn-outline {
+ border: 1px solid var(--border);
+ color: var(--text);
+ }
+ .btn-outline:hover {
+ border-color: var(--text-muted);
+ text-decoration: none;
+ }
- /* Feature cards */
- .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
- .feature-card {
- background: var(--bg-card); border: 1px solid var(--border);
- border-radius: 12px; padding: 28px; transition: background 0.3s;
- }
- .feature-icon { font-size: 28px; margin-bottom: 12px; }
- .feature-card h3 { font-size: 18px; margin-bottom: 8px; }
- .feature-card p { color: var(--text-muted); font-size: 14px; }
+ /* Section headers */
+ .section-title {
+ font-size: 32px;
+ font-weight: 700;
+ margin-bottom: 8px;
+ text-align: center;
+ }
+ .section-sub {
+ color: var(--text-muted);
+ font-size: 17px;
+ text-align: center;
+ margin-bottom: 48px;
+ }
- /* Demo gallery */
- .demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
- .demo-item { text-align: center; }
- .demo-item img { width: 100%; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 12px; }
- .demo-item h4 { font-size: 16px; margin-bottom: 4px; }
- .demo-item p { color: var(--text-muted); font-size: 13px; }
+ /* Feature cards */
+ .features-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 20px;
+ }
+ .feature-card {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: 12px;
+ padding: 28px;
+ transition: background 0.3s;
+ }
+ .feature-icon {
+ font-size: 28px;
+ margin-bottom: 12px;
+ }
+ .feature-card h3 {
+ font-size: 18px;
+ margin-bottom: 8px;
+ }
+ .feature-card p {
+ color: var(--text-muted);
+ font-size: 14px;
+ }
- /* Comparison table */
- .compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
- .compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
- .compare-table th { color: var(--text-muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
- .compare-table tr:hover { background: var(--bg-card); }
- .check { color: var(--green); font-weight: 700; }
- .cross { color: var(--red); }
+ /* Demo gallery */
+ .demos {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
+ gap: 24px;
+ }
+ .demo-item {
+ text-align: center;
+ }
+ .demo-item img {
+ width: 100%;
+ border-radius: 10px;
+ border: 1px solid var(--border);
+ margin-bottom: 12px;
+ }
+ .demo-item h4 {
+ font-size: 16px;
+ margin-bottom: 4px;
+ }
+ .demo-item p {
+ color: var(--text-muted);
+ font-size: 13px;
+ }
- /* Install tabs */
- .tabs { display: flex; gap: 0; margin-bottom: 0; flex-wrap: wrap; }
- .tab {
- padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border);
- border-bottom: none; color: var(--text-muted); cursor: pointer;
- font-size: 14px; font-weight: 500; transition: all 0.2s;
- }
- .tab:first-child { border-radius: 8px 0 0 0; }
- .tab:last-child { border-radius: 0 8px 0 0; }
- button.tab { font-family: inherit; }
- .tab.active { background: var(--bg-code); color: var(--text); border-bottom-color: var(--bg-code); }
- .tab-content {
- display: none; background: var(--bg-code); border: 1px solid var(--border);
- border-radius: 0 8px 8px 8px; padding: 20px;
- }
- .tab-content.active { display: block; }
- .tab-content pre {
- font-family: 'SF Mono', 'Fira Code', monospace; font-size: 14px;
- line-height: 1.5; white-space: pre-wrap; color: var(--green);
- }
+ /* Comparison table */
+ .compare-table {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: 15px;
+ }
+ .compare-table th,
+ .compare-table td {
+ padding: 12px 16px;
+ text-align: left;
+ border-bottom: 1px solid var(--border);
+ }
+ .compare-table th {
+ color: var(--text-muted);
+ font-weight: 600;
+ font-size: 13px;
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
+ }
+ .compare-table tr:hover {
+ background: var(--bg-card);
+ }
+ .check {
+ color: var(--green);
+ font-weight: 700;
+ }
+ .cross {
+ color: var(--red);
+ }
- /* Support */
- .support-grid {
- display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
- gap: 20px; max-width: 820px; margin: 0 auto 40px;
- }
- .support-card {
- background: var(--bg-card); border: 1px solid var(--border);
- border-radius: 12px; padding: 20px;
- display: flex; flex-direction: column; align-items: center; text-align: center;
- transition: background 0.3s;
- }
- .support-card img {
- width: 160px; height: 160px; object-fit: contain;
- border-radius: 8px; margin-bottom: 12px; background: #fff;
- }
- .support-card b { font-size: 14px; color: var(--text); }
- .author-block {
- text-align: center; padding-top: 32px; margin-top: 16px;
- border-top: 1px solid var(--border);
- }
- .author-block h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
- .author-block p { color: var(--text-muted); margin-bottom: 12px; }
- .author-links { display: inline-flex; gap: 24px; font-size: 14px; }
+ /* Install tabs */
+ .tabs {
+ display: flex;
+ gap: 0;
+ margin-bottom: 0;
+ flex-wrap: wrap;
+ }
+ .tab {
+ padding: 10px 20px;
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-bottom: none;
+ color: var(--text-muted);
+ cursor: pointer;
+ font-size: 14px;
+ font-weight: 500;
+ transition: all 0.2s;
+ }
+ .tab:first-child {
+ border-radius: 8px 0 0 0;
+ }
+ .tab:last-child {
+ border-radius: 0 8px 0 0;
+ }
+ button.tab {
+ font-family: inherit;
+ }
+ .tab.active {
+ background: var(--bg-code);
+ color: var(--text);
+ border-bottom-color: var(--bg-code);
+ }
+ .tab-content {
+ display: none;
+ background: var(--bg-code);
+ border: 1px solid var(--border);
+ border-radius: 0 8px 8px 8px;
+ padding: 20px;
+ }
+ .tab-content.active {
+ display: block;
+ }
+ .tab-content pre {
+ font-family: "SF Mono", "Fira Code", monospace;
+ font-size: 14px;
+ line-height: 1.5;
+ white-space: pre-wrap;
+ color: var(--green);
+ }
- /* Footer */
- footer {
- border-top: 1px solid var(--border); padding: 32px 0;
- text-align: center; color: var(--text-muted); font-size: 14px;
- }
- footer a { color: var(--text-muted); }
- footer a:hover { color: var(--text); }
+ /* Support */
+ .support-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
+ gap: 20px;
+ max-width: 820px;
+ margin: 0 auto 40px;
+ }
+ .support-card {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: 12px;
+ padding: 20px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ transition: background 0.3s;
+ }
+ .support-card img {
+ width: 160px;
+ height: 160px;
+ object-fit: contain;
+ border-radius: 8px;
+ margin-bottom: 12px;
+ background: #fff;
+ }
+ .support-card b {
+ font-size: 14px;
+ color: var(--text);
+ }
+ .author-block {
+ text-align: center;
+ padding-top: 32px;
+ margin-top: 16px;
+ border-top: 1px solid var(--border);
+ }
+ .author-block h3 {
+ font-size: 18px;
+ margin-bottom: 8px;
+ font-weight: 700;
+ }
+ .author-block p {
+ color: var(--text-muted);
+ margin-bottom: 12px;
+ }
+ .author-links {
+ display: inline-flex;
+ gap: 24px;
+ font-size: 14px;
+ }
- /* Responsive */
- @media (max-width: 640px) {
- .hero h1 { font-size: 32px; }
- .hero p { font-size: 17px; }
- section { padding: 48px 0; }
- .features-grid { grid-template-columns: 1fr; }
- .hero-install { flex-direction: column; font-size: 13px; }
- }
- .skip-link {
- position: absolute; top: -40px; left: 0; background: var(--accent); color: #fff;
- padding: 8px 16px; z-index: 200; font-size: 14px; transition: top 0.2s;
- }
- .skip-link:focus { top: 0; }
- .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
- </style>
-</head>
-<body>
- <a href="#main-content" class="skip-link">Skip to main content</a>
+ /* Footer */
+ footer {
+ border-top: 1px solid var(--border);
+ padding: 32px 0;
+ text-align: center;
+ color: var(--text-muted);
+ font-size: 14px;
+ }
+ footer a {
+ color: var(--text-muted);
+ }
+ footer a:hover {
+ color: var(--text);
+ }
- <nav role="navigation" aria-label="Main">
- <div class="logo">drawio-<span>skill</span></div>
- <div class="nav-right">
- <a href="zh.html" class="lang-switch">中文</a>
- <button class="theme-btn" onclick="toggleTheme()" title="Toggle theme" aria-label="Toggle dark/light theme">&#x1F319;</button>
- </div>
- </nav>
+ /* Responsive */
+ @media (max-width: 640px) {
+ .hero h1 {
+ font-size: 32px;
+ }
+ .hero p {
+ font-size: 17px;
+ }
+ section {
+ padding: 48px 0;
+ }
+ .features-grid {
+ grid-template-columns: 1fr;
+ }
+ .hero-install {
+ flex-direction: column;
+ font-size: 13px;
+ }
+ }
+ .skip-link {
+ position: absolute;
+ top: -40px;
+ left: 0;
+ background: var(--accent);
+ color: #fff;
+ padding: 8px 16px;
+ z-index: 200;
+ font-size: 14px;
+ transition: top 0.2s;
+ }
+ .skip-link:focus {
+ top: 0;
+ }
+ .table-wrapper {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+ </style>
+ </head>
+ <body>
+ <a href="#main-content" class="skip-link">Skip to main content</a>
- <main id="main-content">
- <!-- Hero -->
- <div class="hero">
- <div class="container">
- <div class="hero-badge">v1.32.0 &mdash; Codebase Viz, Shape Search, AI &amp; Data Logos</div>
- <h1>drawio-<span>skill</span></h1>
- <p>From text to professional diagrams. Generate draw.io files from natural language &mdash; or turn an existing codebase into a structure diagram &mdash; with self-check, iterative refinement, 10,000+ official shapes, and AI/LLM brand logos.</p>
- <div class="hero-install">
- <code id="install-cmd">/plugin marketplace add Agents365-ai/365-skills</code>
- <button class="copy-btn" onclick="copyInstall()">Copy</button>
- </div>
- <div class="hero-links">
- <a href="https://github.com/Agents365-ai/drawio-skill" class="btn btn-primary">GitHub</a>
- <a href="https://clawhub.ai/agents365-ai/drawio-pro-skill" class="btn btn-outline">ClawHub</a>
- <a href="https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md" class="btn btn-outline">SkillsMP</a>
- <a href="https://discord.gg/Fpbkw7cAhp" class="btn btn-outline">Discord</a>
- </div>
- <div style="margin-top:56px;">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/microservices-example.png"
- alt="Microservices architecture diagram generated by drawio-skill from a single natural-language prompt"
- style="width:100%;max-width:920px;height:auto;border-radius:12px;border:1px solid var(--border);box-shadow:0 8px 32px rgba(0,0,0,0.3);">
- <p style="margin-top:14px;font-size:13px;color:var(--text-muted);">Generated from one natural-language prompt &mdash; full prompt in the <a href="https://github.com/Agents365-ai/drawio-skill#-examples">README</a>.</p>
+ <nav role="navigation" aria-label="Main">
+ <div class="logo">drawio-<span>skill</span></div>
+ <div class="nav-right">
+ <a href="zh.html" class="lang-switch">中文</a>
+ <button
+ class="theme-btn"
+ onclick="toggleTheme()"
+ title="Toggle theme"
+ aria-label="Toggle dark/light theme"
+ >
+ &#x1F319;
+ </button>
</div>
- </div>
- </div>
+ </nav>
- <!-- Features -->
- <section>
- <div class="container">
- <h2 class="section-title">Why This Skill</h2>
- <p class="section-sub">The only pure-SKILL.md solution that reads its own output and auto-fixes before showing you.</p>
- <div class="features-grid">
- <div class="feature-card">
- <div class="feature-icon">&#x1F5FA;&#xFE0F;</div>
- <h3>Visualize a Codebase</h3>
- <p>Turn a Python / JS-TS / Go / Rust project (import graphs) or a Python class hierarchy into an auto-laid-out diagram &mdash; Graphviz placement, transitive reduction, colour-by-module containers.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F50D;</div>
- <h3>10,000+ Official Shapes</h3>
- <p>Search the real draw.io shape library (AWS, Azure, GCP, Cisco, Kubernetes, UML, BPMN, P&amp;ID&hellip;) for the exact style instead of guessing &mdash; no blank-box typos.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F916;</div>
- <h3>AI / LLM Brand Logos</h3>
- <p>321 logos (OpenAI, Claude, Gemini, Mistral, Llama, Ollama, LangChain&hellip;) that draw.io has none of &mdash; for LLM-app architecture diagrams.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F4CB;</div>
- <h3>11 Diagram Presets</h3>
- <p>ERD, UML Class, Sequence, C4, Architecture, ML/Deep Learning, Flowchart, SysML, BPMN, Network Topology, Cross-Functional Swimlane &mdash; each with preset shapes, styles, and layout conventions.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F9E0;</div>
- <h3>ML / Deep Learning</h3>
- <p>Transformer, CNN, LSTM architectures with tensor shape annotations (B, C, H, W). Built for NeurIPS, ICML, ICLR papers.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F50D;</div>
- <h3>Self-Check Loop</h3>
- <p>Reads the exported PNG, detects 6 issue types (overlaps, clipped labels, stacked edges), and auto-fixes before showing you.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x2728;</div>
- <h3>Animated Connectors</h3>
- <p>Add <code>flowAnimation=1</code> for moving dot animations along arrows. Ideal for data-flow and pipeline diagrams in SVG.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F3A8;</div>
- <h3>Style Presets</h3>
- <p>Teach the skill your visual style from a <code>.drawio</code> file or image. Save by name and apply to future diagrams. 3 built-ins included: <code>default</code>, <code>corporate</code>, <code>handdrawn</code>.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F310;</div>
- <h3>6 Platforms, Zero Config</h3>
- <p>Claude Code, Opencode, OpenClaw, Hermes, Codex, SkillsMP &mdash; just one SKILL.md file + draw.io desktop. No MCP server, no background daemon.</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F4BB;</div>
- <h3>Browser Fallback</h3>
- <p>No desktop CLI? Generates a diagrams.net URL that opens your diagram in the browser for viewing and editing.</p>
+ <main id="main-content">
+ <!-- Hero -->
+ <div class="hero">
+ <div class="container">
+ <div class="hero-badge">
+ v1.32.0 &mdash; Codebase Viz, Shape Search, AI &amp; Data Logos
+ </div>
+ <h1>drawio-<span>skill</span></h1>
+ <p>
+ From text to professional diagrams. Generate draw.io files from
+ natural language &mdash; or turn an existing codebase into a
+ structure diagram &mdash; with self-check, iterative refinement,
+ 10,000+ official shapes, and AI/LLM brand logos.
+ </p>
+ <div class="hero-install">
+ <code id="install-cmd"
+ >/plugin marketplace add Agents365-ai/365-skills</code
+ >
+ <button class="copy-btn" onclick="copyInstall()">Copy</button>
+ </div>
+ <div class="hero-links">
+ <a
+ href="https://github.com/Agents365-ai/drawio-skill"
+ class="btn btn-primary"
+ >GitHub</a
+ >
+ <a
+ href="https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md"
+ class="btn btn-outline"
+ >SkillsMP</a
+ >
+ <a href="https://discord.gg/Fpbkw7cAhp" class="btn btn-outline"
+ >Discord</a
+ >
+ </div>
+ <div style="margin-top: 56px">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/microservices-example.png"
+ alt="Microservices architecture diagram generated by drawio-skill from a single natural-language prompt"
+ style="
+ width: 100%;
+ max-width: 920px;
+ height: auto;
+ border-radius: 12px;
+ border: 1px solid var(--border);
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
+ "
+ />
+ <p
+ style="
+ margin-top: 14px;
+ font-size: 13px;
+ color: var(--text-muted);
+ "
+ >
+ Generated from one natural-language prompt &mdash; full prompt in
+ the
+ <a href="https://github.com/Agents365-ai/drawio-skill#-examples"
+ >README</a
+ >.
+ </p>
+ </div>
</div>
</div>
- </div>
- </section>
- <!-- Demo Gallery -->
- <section>
- <div class="container">
- <h2 class="section-title">Demo Gallery</h2>
- <p class="section-sub">Clean edge routing across different topologies &mdash; no lines crossing through shapes.</p>
- <div class="demos">
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star.png" alt="Star topology diagram">
- <h4>Star Topology</h4>
- <p>7 nodes &mdash; central broker, 6 services radiating outward</p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-layered.png" alt="Layered flow diagram">
- <h4>Layered Flow</h4>
- <p>10 nodes, 4 tiers &mdash; with cross-connections routed cleanly</p>
+ <!-- Features -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">Why This Skill</h2>
+ <p class="section-sub">
+ The only pure-SKILL.md solution that reads its own output and
+ auto-fixes before showing you.
+ </p>
+ <div class="features-grid">
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F5FA;&#xFE0F;</div>
+ <h3>Visualize a Codebase</h3>
+ <p>
+ Turn a Python / JS-TS / Go / Rust project (import graphs) or a
+ Python class hierarchy into an auto-laid-out diagram &mdash;
+ Graphviz placement, transitive reduction, colour-by-module
+ containers.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F50D;</div>
+ <h3>10,000+ Official Shapes</h3>
+ <p>
+ Search the real draw.io shape library (AWS, Azure, GCP, Cisco,
+ Kubernetes, UML, BPMN, P&amp;ID&hellip;) for the exact style
+ instead of guessing &mdash; no blank-box typos.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F916;</div>
+ <h3>AI / LLM Brand Logos</h3>
+ <p>
+ 321 logos (OpenAI, Claude, Gemini, Mistral, Llama, Ollama,
+ LangChain&hellip;) that draw.io has none of &mdash; for LLM-app
+ architecture diagrams.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F4CB;</div>
+ <h3>11 Diagram Presets</h3>
+ <p>
+ ERD, UML Class, Sequence, C4, Architecture, ML/Deep Learning,
+ Flowchart, SysML, BPMN, Network Topology, Cross-Functional
+ Swimlane &mdash; each with preset shapes, styles, and layout
+ conventions.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F9E0;</div>
+ <h3>ML / Deep Learning</h3>
+ <p>
+ Transformer, CNN, LSTM architectures with tensor shape
+ annotations (B, C, H, W). Built for NeurIPS, ICML, ICLR papers.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F50D;</div>
+ <h3>Self-Check Loop</h3>
+ <p>
+ Reads the exported PNG, detects 6 issue types (overlaps, clipped
+ labels, stacked edges), and auto-fixes before showing you.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x2728;</div>
+ <h3>Animated Connectors</h3>
+ <p>
+ Add <code>flowAnimation=1</code> for moving dot animations along
+ arrows. Ideal for data-flow and pipeline diagrams in SVG.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F3A8;</div>
+ <h3>Style Presets</h3>
+ <p>
+ Teach the skill your visual style from a
+ <code>.drawio</code> file or image. Save by name and apply to
+ future diagrams. 3 built-ins included: <code>default</code>,
+ <code>corporate</code>, <code>handdrawn</code>.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F310;</div>
+ <h3>6 Platforms, Zero Config</h3>
+ <p>
+ Claude Code, Opencode, OpenClaw, Hermes, Codex, SkillsMP &mdash;
+ just one SKILL.md file + draw.io desktop. No MCP server, no
+ background daemon.
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F4BB;</div>
+ <h3>Browser Fallback</h3>
+ <p>
+ No desktop CLI? Generates a diagrams.net URL that opens your
+ diagram in the browser for viewing and editing.
+ </p>
+ </div>
+ </div>
</div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-ring.png" alt="Ring cycle diagram">
- <h4>Ring / Cycle</h4>
- <p>8 nodes &mdash; CI/CD pipeline with closed loop and spur branches</p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/code-structure-example.png" alt="Auto-generated class hierarchy coloured by module">
- <h4>Visualize a Codebase</h4>
- <p>Python <code>logging</code> class hierarchy &mdash; 38 classes auto-laid-out, coloured by module</p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/shape-search-example.png" alt="Serverless AWS architecture from official shapes">
- <h4>Official Shape Search</h4>
- <p>Serverless AWS architecture &mdash; every icon resolved by <code>shapesearch.py</code></p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/ai-logos-example.png" alt="Multi-provider LLM app with AI brand logos">
- <h4>AI / LLM Brand Logos</h4>
- <p>Multi-provider LLM app &mdash; OpenAI, Claude, Gemini&hellip; via <code>aiicons.py</code></p>
+ </section>
+
+ <!-- Demo Gallery -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">Demo Gallery</h2>
+ <p class="section-sub">
+ Clean edge routing across different topologies &mdash; no lines
+ crossing through shapes.
+ </p>
+ <div class="demos">
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star.png"
+ alt="Star topology diagram"
+ />
+ <h4>Star Topology</h4>
+ <p>
+ 7 nodes &mdash; central broker, 6 services radiating outward
+ </p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-layered.png"
+ alt="Layered flow diagram"
+ />
+ <h4>Layered Flow</h4>
+ <p>
+ 10 nodes, 4 tiers &mdash; with cross-connections routed cleanly
+ </p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-ring.png"
+ alt="Ring cycle diagram"
+ />
+ <h4>Ring / Cycle</h4>
+ <p>
+ 8 nodes &mdash; CI/CD pipeline with closed loop and spur
+ branches
+ </p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/code-structure-example.png"
+ alt="Auto-generated class hierarchy coloured by module"
+ />
+ <h4>Visualize a Codebase</h4>
+ <p>
+ Python <code>logging</code> class hierarchy &mdash; 38 classes
+ auto-laid-out, coloured by module
+ </p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/shape-search-example.png"
+ alt="Serverless AWS architecture from official shapes"
+ />
+ <h4>Official Shape Search</h4>
+ <p>
+ Serverless AWS architecture &mdash; every icon resolved by
+ <code>shapesearch.py</code>
+ </p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/ai-logos-example.png"
+ alt="Multi-provider LLM app with AI brand logos"
+ />
+ <h4>AI / LLM Brand Logos</h4>
+ <p>
+ Multi-provider LLM app &mdash; OpenAI, Claude, Gemini&hellip;
+ via <code>aiicons.py</code>
+ </p>
+ </div>
+ </div>
</div>
- </div>
- </div>
- </section>
+ </section>
- <!-- Comparison -->
- <section>
- <div class="container">
- <h2 class="section-title">vs Native Agent</h2>
- <p class="section-sub">What you get with the skill vs prompting an LLM directly.</p>
- <div class="table-wrapper">
- <table class="compare-table">
- <thead>
- <tr><th>Feature</th><th>Native Agent</th><th>This Skill</th></tr>
- </thead>
- <tbody>
- <tr><td>Self-check after export</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 2-round auto-fix</td></tr>
- <tr><td>Iterative review loop</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 5-round with targeted edits</td></tr>
- <tr><td>Diagram type presets</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 11 presets (ERD, UML, Seq, C4, Arch, ML, Flow, SysML, BPMN, Network, Swimlane)</td></tr>
- <tr><td>ML model diagrams</td><td class="cross">&#x2717;</td><td class="check">&#x2713; Tensor shapes, layer colors</td></tr>
- <tr><td>Animated connectors</td><td class="cross">&#x2717;</td><td class="check">&#x2713; flowAnimation=1</td></tr>
- <tr><td>Grid-aligned layout</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 10px snap</td></tr>
- <tr><td>Complexity-scaled spacing</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 200&ndash;350px by node count</td></tr>
- <tr><td>Color palette</td><td class="cross">Random</td><td class="check">&#x2713; 7-color semantic system</td></tr>
- <tr><td>Edge routing rules</td><td class="cross">Basic</td><td class="check">&#x2713; Corridors + waypoints + distribution</td></tr>
- <tr><td>Container/group nesting</td><td class="cross">&#x2717;</td><td class="check">&#x2713; Swimlane + group + custom</td></tr>
- <tr><td>Visualize a codebase</td><td class="cross">&#x2717;</td><td class="check">&#x2713; import graphs (Py/JS/Go/Rust) + class diagrams</td></tr>
- <tr><td>Auto-layout for large graphs</td><td class="cross">&#x2717;</td><td class="check">&#x2713; Graphviz placement, ortho routing, nested containers</td></tr>
- <tr><td>Structural validation</td><td class="cross">&#x2717;</td><td class="check">&#x2713; deterministic .drawio linter</td></tr>
- <tr><td>Official shape search</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 10,000+ AWS/Azure/GCP/UML styles</td></tr>
- <tr><td>AI/LLM brand logos</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 321 logos (OpenAI/Claude/Gemini&hellip;)</td></tr>
- <tr><td>Embed diagram in export</td><td class="cross">&#x2717;</td><td class="check">&#x2713; --embed-diagram</td></tr>
- <tr><td>Browser fallback</td><td class="cross">&#x2717;</td><td class="check">&#x2713; diagrams.net URL</td></tr>
- <tr><td>Auto-launch desktop app</td><td class="cross">&#x2717;</td><td class="check">&#x2713; Opens .drawio for fine-tuning</td></tr>
- <tr><td>Style presets</td><td class="cross">&#x2717;</td><td class="check">&#x2713; Learn, save &amp; apply named styles</td></tr>
- <tr><td>Plugin marketplace install</td><td class="cross">&#x2717;</td><td class="check">&#x2713; via Agents365-ai/365-skills</td></tr>
- </tbody>
- </table>
- </div>
- </div>
- </section>
+ <!-- Comparison -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">vs Native Agent</h2>
+ <p class="section-sub">
+ What you get with the skill vs prompting an LLM directly.
+ </p>
+ <div class="table-wrapper">
+ <table class="compare-table">
+ <thead>
+ <tr>
+ <th>Feature</th>
+ <th>Native Agent</th>
+ <th>This Skill</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Self-check after export</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 2-round auto-fix</td>
+ </tr>
+ <tr>
+ <td>Iterative review loop</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 5-round with targeted edits</td>
+ </tr>
+ <tr>
+ <td>Diagram type presets</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; 11 presets (ERD, UML, Seq, C4, Arch, ML, Flow,
+ SysML, BPMN, Network, Swimlane)
+ </td>
+ </tr>
+ <tr>
+ <td>ML model diagrams</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; Tensor shapes, layer colors</td>
+ </tr>
+ <tr>
+ <td>Animated connectors</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; flowAnimation=1</td>
+ </tr>
+ <tr>
+ <td>Grid-aligned layout</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 10px snap</td>
+ </tr>
+ <tr>
+ <td>Complexity-scaled spacing</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 200&ndash;350px by node count</td>
+ </tr>
+ <tr>
+ <td>Color palette</td>
+ <td class="cross">Random</td>
+ <td class="check">&#x2713; 7-color semantic system</td>
+ </tr>
+ <tr>
+ <td>Edge routing rules</td>
+ <td class="cross">Basic</td>
+ <td class="check">
+ &#x2713; Corridors + waypoints + distribution
+ </td>
+ </tr>
+ <tr>
+ <td>Container/group nesting</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; Swimlane + group + custom</td>
+ </tr>
+ <tr>
+ <td>Visualize a codebase</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; import graphs (Py/JS/Go/Rust) + class diagrams
+ </td>
+ </tr>
+ <tr>
+ <td>Auto-layout for large graphs</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; Graphviz placement, ortho routing, nested
+ containers
+ </td>
+ </tr>
+ <tr>
+ <td>Structural validation</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; deterministic .drawio linter</td>
+ </tr>
+ <tr>
+ <td>Official shape search</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; 10,000+ AWS/Azure/GCP/UML styles
+ </td>
+ </tr>
+ <tr>
+ <td>AI/LLM brand logos</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; 321 logos (OpenAI/Claude/Gemini&hellip;)
+ </td>
+ </tr>
+ <tr>
+ <td>Embed diagram in export</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; --embed-diagram</td>
+ </tr>
+ <tr>
+ <td>Browser fallback</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; diagrams.net URL</td>
+ </tr>
+ <tr>
+ <td>Auto-launch desktop app</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; Opens .drawio for fine-tuning</td>
+ </tr>
+ <tr>
+ <td>Style presets</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; Learn, save &amp; apply named styles
+ </td>
+ </tr>
+ <tr>
+ <td>Plugin marketplace install</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; via Agents365-ai/365-skills</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </section>
- <!-- Install -->
- <section>
- <div class="container">
- <h2 class="section-title">Install</h2>
- <p class="section-sub">Pick your platform. Takes 10 seconds.</p>
- <div class="tabs" role="tablist" aria-label="Installation platforms">
- <button class="tab active" role="tab" aria-selected="true" aria-controls="tab-claude" onclick="switchTab(event, 'tab-claude')">Claude Code</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-opencode" onclick="switchTab(event, 'tab-opencode')">Opencode</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-openclaw" onclick="switchTab(event, 'tab-openclaw')">OpenClaw</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-skillsmp" onclick="switchTab(event, 'tab-skillsmp')">SkillsMP</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-clawhub" onclick="switchTab(event, 'tab-clawhub')">ClawHub</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-codex" onclick="switchTab(event, 'tab-codex')">Codex</button>
- </div>
- <div id="tab-claude" class="tab-content active" role="tabpanel">
- <pre># Plugin marketplace (recommended)
+ <!-- Install -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">Install</h2>
+ <p class="section-sub">Pick your platform. Takes 10 seconds.</p>
+ <div class="tabs" role="tablist" aria-label="Installation platforms">
+ <button
+ class="tab active"
+ role="tab"
+ aria-selected="true"
+ aria-controls="tab-claude"
+ onclick="switchTab(event, 'tab-claude')"
+ >
+ Claude Code
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-opencode"
+ onclick="switchTab(event, 'tab-opencode')"
+ >
+ Opencode
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-openclaw"
+ onclick="switchTab(event, 'tab-openclaw')"
+ >
+ OpenClaw
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-skillsmp"
+ onclick="switchTab(event, 'tab-skillsmp')"
+ >
+ SkillsMP
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-codex"
+ onclick="switchTab(event, 'tab-codex')"
+ >
+ Codex
+ </button>
+ </div>
+ <div id="tab-claude" class="tab-content active" role="tabpanel">
+ <pre>
+# Plugin marketplace (recommended)
/plugin marketplace add Agents365-ai/365-skills
/plugin install drawio
@@ -396,9 +973,10 @@ git clone https://github.com/Agents365-ai/drawio-skill.git ~/.claude/skills/draw
# Manual project-level install
git clone https://github.com/Agents365-ai/drawio-skill.git .claude/skills/drawio-skill</pre>
- </div>
- <div id="tab-opencode" class="tab-content" role="tabpanel">
- <pre># Global install (Opencode-native path)
+ </div>
+ <div id="tab-opencode" class="tab-content" role="tabpanel">
+ <pre>
+# Global install (Opencode-native path)
git clone https://github.com/Agents365-ai/drawio-skill.git ~/.config/opencode/skills/drawio-skill
# Project-level install
@@ -406,141 +984,196 @@ git clone https://github.com/Agents365-ai/drawio-skill.git .opencode/skills/draw
# Also auto-detected from existing Claude Code install
# (~/.claude/skills/ and .claude/skills/ are read automatically)</pre>
- </div>
- <div id="tab-openclaw" class="tab-content" role="tabpanel">
- <pre># Via ClawHub registry
-clawhub install drawio-pro-skill
-
+ </div>
+ <div id="tab-openclaw" class="tab-content" role="tabpanel">
+ <pre>
# Manual install
git clone https://github.com/Agents365-ai/drawio-skill.git ~/.openclaw/skills/drawio-skill</pre>
- </div>
- <div id="tab-skillsmp" class="tab-content" role="tabpanel">
- <pre># Via SkillsMP CLI
+ </div>
+ <div id="tab-skillsmp" class="tab-content" role="tabpanel">
+ <pre>
+# Via SkillsMP CLI
skills install drawio-skill</pre>
- </div>
- <div id="tab-clawhub" class="tab-content" role="tabpanel">
- <pre># Via ClawHub CLI
-clawhub install drawio-pro-skill</pre>
- </div>
- <div id="tab-codex" class="tab-content" role="tabpanel">
- <pre># User-level install
+ </div>
+ <div id="tab-codex" class="tab-content" role="tabpanel">
+ <pre>
+# User-level install
git clone https://github.com/Agents365-ai/drawio-skill.git ~/.agents/skills/drawio-skill
# Project-level install
git clone https://github.com/Agents365-ai/drawio-skill.git .agents/skills/drawio-skill</pre>
- </div>
- </div>
- </section>
-
- <!-- Related Skills -->
- <section>
- <div class="container">
- <h2 class="section-title">Related Skills</h2>
- <p class="section-sub">Part of the Agents365-ai diagram-skill family &mdash; pick the right tool for the job.</p>
- <div class="features-grid">
- <a href="https://github.com/Agents365-ai/excalidraw-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x270F;&#xFE0F;</div>
- <h3>excalidraw-skill</h3>
- <p>Hand-drawn / sketchy &mdash; whiteboard mockups, informal diagrams.</p>
- </a>
- <a href="https://github.com/Agents365-ai/mermaid-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x1F4CA;</div>
- <h3>mermaid-skill</h3>
- <p>Text-based, auto-layout &mdash; README-embeddable, version-control friendly.</p>
- </a>
- <a href="https://github.com/Agents365-ai/plantuml-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x1F9E9;</div>
- <h3>plantuml-skill</h3>
- <p>UML-focused &mdash; class / sequence diagrams in CI pipelines.</p>
- </a>
- <a href="https://github.com/Agents365-ai/tldraw-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x1F3A8;</div>
- <h3>tldraw-skill</h3>
- <p>Whiteboard collaboration &mdash; casual sketches, FigJam-style boards.</p>
- </a>
- </div>
- </div>
- </section>
-
- <!-- Support & Author -->
- <section id="support">
- <div class="container">
- <h2 class="section-title">Support</h2>
- <p class="section-sub">If this skill helps you, consider supporting the author.</p>
- <div class="support-grid">
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png" alt="WeChat Pay" loading="lazy">
- <b>WeChat Pay</b>
- </div>
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png" alt="Alipay" loading="lazy">
- <b>Alipay</b>
+ </div>
</div>
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png" alt="Buy Me a Coffee" loading="lazy">
- <b>Buy Me a Coffee</b>
- </div>
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif" alt="Give a Reward" loading="lazy">
- <b>Give a Reward</b>
- </div>
- </div>
- <div class="author-block">
- <h3>Author</h3>
- <p><strong>Agents365-ai</strong></p>
- <div class="author-links">
- <a href="https://github.com/Agents365-ai">GitHub</a>
- <a href="https://space.bilibili.com/441831884">Bilibili</a>
+ </section>
+
+ <!-- Related Skills -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">Related Skills</h2>
+ <p class="section-sub">
+ Part of the Agents365-ai diagram-skill family &mdash; pick the right
+ tool for the job.
+ </p>
+ <div class="features-grid">
+ <a
+ href="https://github.com/Agents365-ai/excalidraw-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x270F;&#xFE0F;</div>
+ <h3>excalidraw-skill</h3>
+ <p>
+ Hand-drawn / sketchy &mdash; whiteboard mockups, informal
+ diagrams.
+ </p>
+ </a>
+ <a
+ href="https://github.com/Agents365-ai/mermaid-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x1F4CA;</div>
+ <h3>mermaid-skill</h3>
+ <p>
+ Text-based, auto-layout &mdash; README-embeddable,
+ version-control friendly.
+ </p>
+ </a>
+ <a
+ href="https://github.com/Agents365-ai/plantuml-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x1F9E9;</div>
+ <h3>plantuml-skill</h3>
+ <p>
+ UML-focused &mdash; class / sequence diagrams in CI pipelines.
+ </p>
+ </a>
+ <a
+ href="https://github.com/Agents365-ai/tldraw-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x1F3A8;</div>
+ <h3>tldraw-skill</h3>
+ <p>
+ Whiteboard collaboration &mdash; casual sketches, FigJam-style
+ boards.
+ </p>
+ </a>
+ </div>
</div>
- </div>
- </div>
- </section>
+ </section>
- </main>
+ <!-- Support & Author -->
+ <section id="support">
+ <div class="container">
+ <h2 class="section-title">Support</h2>
+ <p class="section-sub">
+ If this skill helps you, consider supporting the author.
+ </p>
+ <div class="support-grid">
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png"
+ alt="WeChat Pay"
+ loading="lazy"
+ />
+ <b>WeChat Pay</b>
+ </div>
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png"
+ alt="Alipay"
+ loading="lazy"
+ />
+ <b>Alipay</b>
+ </div>
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png"
+ alt="Buy Me a Coffee"
+ loading="lazy"
+ />
+ <b>Buy Me a Coffee</b>
+ </div>
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif"
+ alt="Give a Reward"
+ loading="lazy"
+ />
+ <b>Give a Reward</b>
+ </div>
+ </div>
+ <div class="author-block">
+ <h3>Author</h3>
+ <p><strong>Agents365-ai</strong></p>
+ <div class="author-links">
+ <a href="https://github.com/Agents365-ai">GitHub</a>
+ <a href="https://space.bilibili.com/441831884">Bilibili</a>
+ </div>
+ </div>
+ </div>
+ </section>
+ </main>
- <!-- Footer -->
- <footer>
- <div class="container">
- <p>
- <a href="https://github.com/Agents365-ai/drawio-skill/blob/main/LICENSE">MIT License</a> &middot;
- <a href="https://github.com/Agents365-ai/drawio-skill">GitHub</a> &middot;
- <a href="https://github.com/Agents365-ai">Agents365-ai</a>
- </p>
- </div>
- </footer>
+ <!-- Footer -->
+ <footer>
+ <div class="container">
+ <p>
+ <a
+ href="https://github.com/Agents365-ai/drawio-skill/blob/main/LICENSE"
+ >MIT License</a
+ >
+ &middot;
+ <a href="https://github.com/Agents365-ai/drawio-skill">GitHub</a>
+ &middot;
+ <a href="https://github.com/Agents365-ai">Agents365-ai</a>
+ </p>
+ </div>
+ </footer>
- <script>
- function copyInstall() {
- const cmd = document.getElementById('install-cmd').textContent;
- navigator.clipboard.writeText(cmd).then(() => {
- const btn = document.querySelector('.copy-btn');
- btn.textContent = 'Copied!';
- setTimeout(() => btn.textContent = 'Copy', 2000);
- });
- }
- function switchTab(e, id) {
- document.querySelectorAll('.tab').forEach(t => { t.classList.remove('active'); t.setAttribute('aria-selected', 'false'); });
- document.querySelectorAll('.tab-content').forEach(t => t.classList.remove('active'));
- e.target.classList.add('active');
- e.target.setAttribute('aria-selected', 'true');
- document.getElementById(id).classList.add('active');
- }
- function toggleTheme() {
- const html = document.documentElement;
- const current = html.getAttribute('data-theme');
- const next = current === 'dark' ? 'light' : 'dark';
- html.setAttribute('data-theme', next);
- localStorage.setItem('theme', next);
- document.querySelector('.theme-btn').innerHTML = next === 'dark' ? '&#x1F319;' : '&#x2600;&#xFE0F;';
- }
- // Restore saved theme
- (function() {
- const saved = localStorage.getItem('theme');
- if (saved) {
- document.documentElement.setAttribute('data-theme', saved);
- document.querySelector('.theme-btn').innerHTML = saved === 'dark' ? '&#x1F319;' : '&#x2600;&#xFE0F;';
- }
- })();
- </script>
-</body>
+ <script>
+ function copyInstall() {
+ const cmd = document.getElementById("install-cmd").textContent;
+ navigator.clipboard.writeText(cmd).then(() => {
+ const btn = document.querySelector(".copy-btn");
+ btn.textContent = "Copied!";
+ setTimeout(() => (btn.textContent = "Copy"), 2000);
+ });
+ }
+ function switchTab(e, id) {
+ document.querySelectorAll(".tab").forEach((t) => {
+ t.classList.remove("active");
+ t.setAttribute("aria-selected", "false");
+ });
+ document
+ .querySelectorAll(".tab-content")
+ .forEach((t) => t.classList.remove("active"));
+ e.target.classList.add("active");
+ e.target.setAttribute("aria-selected", "true");
+ document.getElementById(id).classList.add("active");
+ }
+ function toggleTheme() {
+ const html = document.documentElement;
+ const current = html.getAttribute("data-theme");
+ const next = current === "dark" ? "light" : "dark";
+ html.setAttribute("data-theme", next);
+ localStorage.setItem("theme", next);
+ document.querySelector(".theme-btn").textContent =
+ next === "dark" ? "🌙" : "☀️";
+ }
+ // Restore saved theme
+ (function () {
+ const saved = localStorage.getItem("theme");
+ if (saved) {
+ document.documentElement.setAttribute("data-theme", saved);
+ document.querySelector(".theme-btn").textContent =
+ saved === "dark" ? "🌙" : "☀️";
+ }
+ })();
+ </script>
+ </body>
</html>
diff --git a/docs/zh.html b/docs/zh.html
index e40bf29..3058264 100644
--- a/docs/zh.html
+++ b/docs/zh.html
@@ -1,382 +1,942 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="zh-CN" data-theme="dark">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>drawio-skill — 从文本到专业图表</title>
- <meta name="description" content="Claude Code skill,通过自然语言生成专业 draw.io 图表:11 种预设、ML/DL 支持、代码库可视化、10,000+ 官方形状、321 个 AI/LLM 品牌图标、自检循环。导出 PNG/SVG/PDF/JPG。">
- <meta name="theme-color" content="#0d1117">
- <link rel="canonical" href="https://agents365-ai.github.io/drawio-skill/zh.html">
- <link rel="alternate" hreflang="zh" href="https://agents365-ai.github.io/drawio-skill/zh.html">
- <link rel="alternate" hreflang="en" href="https://agents365-ai.github.io/drawio-skill/">
- <meta property="og:title" content="drawio-skill — 从文本到专业图表">
- <meta property="og:description" content="通过自然语言生成专业 draw.io 图表:11 种预设、代码库可视化、10,000+ 官方形状、321 个 AI/LLM 品牌图标、自检循环。">
- <meta property="og:type" content="website">
- <meta property="og:url" content="https://agents365-ai.github.io/drawio-skill/zh.html">
- <meta property="og:image" content="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star-cn.png">
- <meta name="twitter:card" content="summary_large_image">
- <style>
- *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
-
- [data-theme="dark"] {
- --bg: #0d1117; --bg-card: #161b22; --bg-code: #1c2128;
- --border: #30363d; --text: #e6edf3; --text-muted: #8b949e;
- --accent: #58a6ff; --accent-hover: #79c0ff;
- --green: #3fb950; --red: #f85149;
- }
- [data-theme="light"] {
- --bg: #ffffff; --bg-card: #f6f8fa; --bg-code: #f0f3f6;
- --border: #d0d7de; --text: #1f2328; --text-muted: #656d76;
- --accent: #0969da; --accent-hover: #0550ae;
- --green: #1a7f37; --red: #cf222e;
- }
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>drawio-skill — 从文本到专业图表</title>
+ <meta
+ name="description"
+ content="Claude Code skill,通过自然语言生成专业 draw.io 图表:11 种预设、ML/DL 支持、代码库可视化、10,000+ 官方形状、321 个 AI/LLM 品牌图标、自检循环。导出 PNG/SVG/PDF/JPG。"
+ />
+ <meta name="theme-color" content="#0d1117" />
+ <link
+ rel="canonical"
+ href="https://agents365-ai.github.io/drawio-skill/zh.html"
+ />
+ <link
+ rel="alternate"
+ hreflang="zh"
+ href="https://agents365-ai.github.io/drawio-skill/zh.html"
+ />
+ <link
+ rel="alternate"
+ hreflang="en"
+ href="https://agents365-ai.github.io/drawio-skill/"
+ />
+ <meta property="og:title" content="drawio-skill — 从文本到专业图表" />
+ <meta
+ property="og:description"
+ content="通过自然语言生成专业 draw.io 图表:11 种预设、代码库可视化、10,000+ 官方形状、321 个 AI/LLM 品牌图标、自检循环。"
+ />
+ <meta property="og:type" content="website" />
+ <meta
+ property="og:url"
+ content="https://agents365-ai.github.io/drawio-skill/zh.html"
+ />
+ <meta
+ property="og:image"
+ content="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star-cn.png"
+ />
+ <meta name="twitter:card" content="summary_large_image" />
+ <style>
+ *,
+ *::before,
+ *::after {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+ }
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
- background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden;
- transition: background 0.3s, color 0.3s;
- }
- a { color: var(--accent); text-decoration: none; }
- a:hover { color: var(--accent-hover); text-decoration: underline; }
+ [data-theme="dark"] {
+ --bg: #0d1117;
+ --bg-card: #161b22;
+ --bg-code: #1c2128;
+ --border: #30363d;
+ --text: #e6edf3;
+ --text-muted: #8b949e;
+ --accent: #58a6ff;
+ --accent-hover: #79c0ff;
+ --green: #3fb950;
+ --red: #f85149;
+ }
+ [data-theme="light"] {
+ --bg: #ffffff;
+ --bg-card: #f6f8fa;
+ --bg-code: #f0f3f6;
+ --border: #d0d7de;
+ --text: #1f2328;
+ --text-muted: #656d76;
+ --accent: #0969da;
+ --accent-hover: #0550ae;
+ --green: #1a7f37;
+ --red: #cf222e;
+ }
- nav {
- position: sticky; top: 0; z-index: 100;
- background: var(--bg); border-bottom: 1px solid var(--border);
- padding: 12px 24px; display: flex; justify-content: space-between; align-items: center;
- transition: background 0.3s;
- }
- nav .logo { font-weight: 700; font-size: 16px; color: var(--text); }
- nav .logo span { color: var(--accent); }
- nav .nav-right { display: flex; align-items: center; gap: 16px; }
- .lang-switch {
- font-size: 14px; font-weight: 500; color: var(--text-muted);
- padding: 4px 12px; border: 1px solid var(--border); border-radius: 6px;
- transition: all 0.2s;
- }
- .lang-switch:hover { color: var(--text); border-color: var(--text-muted); text-decoration: none; }
- .theme-btn {
- background: none; border: 1px solid var(--border); color: var(--text-muted);
- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 16px;
- transition: all 0.2s; line-height: 1;
- }
- .theme-btn:hover { color: var(--text); border-color: var(--text-muted); }
+ body {
+ font-family:
+ -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
+ "Microsoft YaHei", sans-serif;
+ background: var(--bg);
+ color: var(--text);
+ line-height: 1.6;
+ overflow-x: hidden;
+ transition:
+ background 0.3s,
+ color 0.3s;
+ }
+ a {
+ color: var(--accent);
+ text-decoration: none;
+ }
+ a:hover {
+ color: var(--accent-hover);
+ text-decoration: underline;
+ }
- .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
- section { padding: 72px 0; }
- section + section { border-top: 1px solid var(--border); }
+ nav {
+ position: sticky;
+ top: 0;
+ z-index: 100;
+ background: var(--bg);
+ border-bottom: 1px solid var(--border);
+ padding: 12px 24px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ transition: background 0.3s;
+ }
+ nav .logo {
+ font-weight: 700;
+ font-size: 16px;
+ color: var(--text);
+ }
+ nav .logo span {
+ color: var(--accent);
+ }
+ nav .nav-right {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ }
+ .lang-switch {
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--text-muted);
+ padding: 4px 12px;
+ border: 1px solid var(--border);
+ border-radius: 6px;
+ transition: all 0.2s;
+ }
+ .lang-switch:hover {
+ color: var(--text);
+ border-color: var(--text-muted);
+ text-decoration: none;
+ }
+ .theme-btn {
+ background: none;
+ border: 1px solid var(--border);
+ color: var(--text-muted);
+ border-radius: 6px;
+ padding: 4px 10px;
+ cursor: pointer;
+ font-size: 16px;
+ transition: all 0.2s;
+ line-height: 1;
+ }
+ .theme-btn:hover {
+ color: var(--text);
+ border-color: var(--text-muted);
+ }
- .hero { text-align: center; padding: 96px 0 72px; border-bottom: 1px solid var(--border); }
- .hero-badge {
- display: inline-block; font-size: 13px; color: var(--accent);
- border: 1px solid var(--accent); border-radius: 20px;
- padding: 4px 14px; margin-bottom: 20px; letter-spacing: 0.5px;
- }
- .hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
- .hero h1 span { color: var(--accent); }
- .hero p { font-size: 20px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }
- .hero-install {
- display: inline-flex; align-items: center; gap: 12px;
- background: var(--bg-code); border: 1px solid var(--border); border-radius: 8px;
- padding: 12px 20px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 15px;
- margin-bottom: 24px;
- }
- .hero-install code { color: var(--green); }
- .copy-btn {
- background: none; border: 1px solid var(--border); color: var(--text-muted);
- border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 13px; transition: all 0.2s;
- }
- .copy-btn:hover { color: var(--text); border-color: var(--text-muted); }
- .hero-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
- .btn {
- display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px;
- border-radius: 8px; font-size: 15px; font-weight: 600; transition: all 0.2s;
- }
- .btn-primary { background: var(--accent); color: #fff; }
- [data-theme="light"] .btn-primary { color: #fff; }
- .btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
- .btn-outline { border: 1px solid var(--border); color: var(--text); }
- .btn-outline:hover { border-color: var(--text-muted); text-decoration: none; }
+ .container {
+ max-width: 1080px;
+ margin: 0 auto;
+ padding: 0 24px;
+ }
+ section {
+ padding: 72px 0;
+ }
+ section + section {
+ border-top: 1px solid var(--border);
+ }
- .section-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; text-align: center; }
- .section-sub { color: var(--text-muted); font-size: 17px; text-align: center; margin-bottom: 48px; }
+ .hero {
+ text-align: center;
+ padding: 96px 0 72px;
+ border-bottom: 1px solid var(--border);
+ }
+ .hero-badge {
+ display: inline-block;
+ font-size: 13px;
+ color: var(--accent);
+ border: 1px solid var(--accent);
+ border-radius: 20px;
+ padding: 4px 14px;
+ margin-bottom: 20px;
+ letter-spacing: 0.5px;
+ }
+ .hero h1 {
+ font-size: 48px;
+ font-weight: 800;
+ margin-bottom: 16px;
+ letter-spacing: -1px;
+ }
+ .hero h1 span {
+ color: var(--accent);
+ }
+ .hero p {
+ font-size: 20px;
+ color: var(--text-muted);
+ max-width: 600px;
+ margin: 0 auto 32px;
+ }
+ .hero-install {
+ display: inline-flex;
+ align-items: center;
+ gap: 12px;
+ background: var(--bg-code);
+ border: 1px solid var(--border);
+ border-radius: 8px;
+ padding: 12px 20px;
+ font-family: "SF Mono", "Fira Code", monospace;
+ font-size: 15px;
+ margin-bottom: 24px;
+ }
+ .hero-install code {
+ color: var(--green);
+ }
+ .copy-btn {
+ background: none;
+ border: 1px solid var(--border);
+ color: var(--text-muted);
+ border-radius: 6px;
+ padding: 4px 10px;
+ cursor: pointer;
+ font-size: 13px;
+ transition: all 0.2s;
+ }
+ .copy-btn:hover {
+ color: var(--text);
+ border-color: var(--text-muted);
+ }
+ .hero-links {
+ display: flex;
+ justify-content: center;
+ gap: 16px;
+ flex-wrap: wrap;
+ }
+ .btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 10px 24px;
+ border-radius: 8px;
+ font-size: 15px;
+ font-weight: 600;
+ transition: all 0.2s;
+ }
+ .btn-primary {
+ background: var(--accent);
+ color: #fff;
+ }
+ [data-theme="light"] .btn-primary {
+ color: #fff;
+ }
+ .btn-primary:hover {
+ background: var(--accent-hover);
+ text-decoration: none;
+ }
+ .btn-outline {
+ border: 1px solid var(--border);
+ color: var(--text);
+ }
+ .btn-outline:hover {
+ border-color: var(--text-muted);
+ text-decoration: none;
+ }
- .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
- .feature-card {
- background: var(--bg-card); border: 1px solid var(--border);
- border-radius: 12px; padding: 28px; transition: background 0.3s;
- }
- .feature-icon { font-size: 28px; margin-bottom: 12px; }
- .feature-card h3 { font-size: 18px; margin-bottom: 8px; }
- .feature-card p { color: var(--text-muted); font-size: 14px; }
+ .section-title {
+ font-size: 32px;
+ font-weight: 700;
+ margin-bottom: 8px;
+ text-align: center;
+ }
+ .section-sub {
+ color: var(--text-muted);
+ font-size: 17px;
+ text-align: center;
+ margin-bottom: 48px;
+ }
- .demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
- .demo-item { text-align: center; }
- .demo-item img { width: 100%; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 12px; }
- .demo-item h4 { font-size: 16px; margin-bottom: 4px; }
- .demo-item p { color: var(--text-muted); font-size: 13px; }
+ .features-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 20px;
+ }
+ .feature-card {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: 12px;
+ padding: 28px;
+ transition: background 0.3s;
+ }
+ .feature-icon {
+ font-size: 28px;
+ margin-bottom: 12px;
+ }
+ .feature-card h3 {
+ font-size: 18px;
+ margin-bottom: 8px;
+ }
+ .feature-card p {
+ color: var(--text-muted);
+ font-size: 14px;
+ }
- .compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
- .compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
- .compare-table th { color: var(--text-muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
- .compare-table tr:hover { background: var(--bg-card); }
- .check { color: var(--green); font-weight: 700; }
- .cross { color: var(--red); }
+ .demos {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
+ gap: 24px;
+ }
+ .demo-item {
+ text-align: center;
+ }
+ .demo-item img {
+ width: 100%;
+ border-radius: 10px;
+ border: 1px solid var(--border);
+ margin-bottom: 12px;
+ }
+ .demo-item h4 {
+ font-size: 16px;
+ margin-bottom: 4px;
+ }
+ .demo-item p {
+ color: var(--text-muted);
+ font-size: 13px;
+ }
- .tabs { display: flex; gap: 0; margin-bottom: 0; flex-wrap: wrap; }
- .tab {
- padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border);
- border-bottom: none; color: var(--text-muted); cursor: pointer;
- font-size: 14px; font-weight: 500; transition: all 0.2s;
- }
- .tab:first-child { border-radius: 8px 0 0 0; }
- .tab:last-child { border-radius: 0 8px 0 0; }
- button.tab { font-family: inherit; }
- .tab.active { background: var(--bg-code); color: var(--text); border-bottom-color: var(--bg-code); }
- .tab-content {
- display: none; background: var(--bg-code); border: 1px solid var(--border);
- border-radius: 0 8px 8px 8px; padding: 20px;
- }
- .tab-content.active { display: block; }
- .tab-content pre {
- font-family: 'SF Mono', 'Fira Code', monospace; font-size: 14px;
- line-height: 1.5; white-space: pre-wrap; color: var(--green);
- }
+ .compare-table {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: 15px;
+ }
+ .compare-table th,
+ .compare-table td {
+ padding: 12px 16px;
+ text-align: left;
+ border-bottom: 1px solid var(--border);
+ }
+ .compare-table th {
+ color: var(--text-muted);
+ font-weight: 600;
+ font-size: 13px;
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
+ }
+ .compare-table tr:hover {
+ background: var(--bg-card);
+ }
+ .check {
+ color: var(--green);
+ font-weight: 700;
+ }
+ .cross {
+ color: var(--red);
+ }
- .support-grid {
- display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
- gap: 20px; max-width: 820px; margin: 0 auto 40px;
- }
- .support-card {
- background: var(--bg-card); border: 1px solid var(--border);
- border-radius: 12px; padding: 20px;
- display: flex; flex-direction: column; align-items: center; text-align: center;
- transition: background 0.3s;
- }
- .support-card img {
- width: 160px; height: 160px; object-fit: contain;
- border-radius: 8px; margin-bottom: 12px; background: #fff;
- }
- .support-card b { font-size: 14px; color: var(--text); }
- .author-block {
- text-align: center; padding-top: 32px; margin-top: 16px;
- border-top: 1px solid var(--border);
- }
- .author-block h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
- .author-block p { color: var(--text-muted); margin-bottom: 12px; }
- .author-links { display: inline-flex; gap: 24px; font-size: 14px; }
+ .tabs {
+ display: flex;
+ gap: 0;
+ margin-bottom: 0;
+ flex-wrap: wrap;
+ }
+ .tab {
+ padding: 10px 20px;
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-bottom: none;
+ color: var(--text-muted);
+ cursor: pointer;
+ font-size: 14px;
+ font-weight: 500;
+ transition: all 0.2s;
+ }
+ .tab:first-child {
+ border-radius: 8px 0 0 0;
+ }
+ .tab:last-child {
+ border-radius: 0 8px 0 0;
+ }
+ button.tab {
+ font-family: inherit;
+ }
+ .tab.active {
+ background: var(--bg-code);
+ color: var(--text);
+ border-bottom-color: var(--bg-code);
+ }
+ .tab-content {
+ display: none;
+ background: var(--bg-code);
+ border: 1px solid var(--border);
+ border-radius: 0 8px 8px 8px;
+ padding: 20px;
+ }
+ .tab-content.active {
+ display: block;
+ }
+ .tab-content pre {
+ font-family: "SF Mono", "Fira Code", monospace;
+ font-size: 14px;
+ line-height: 1.5;
+ white-space: pre-wrap;
+ color: var(--green);
+ }
- footer {
- border-top: 1px solid var(--border); padding: 32px 0;
- text-align: center; color: var(--text-muted); font-size: 14px;
- }
- footer a { color: var(--text-muted); }
- footer a:hover { color: var(--text); }
+ .support-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
+ gap: 20px;
+ max-width: 820px;
+ margin: 0 auto 40px;
+ }
+ .support-card {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: 12px;
+ padding: 20px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ transition: background 0.3s;
+ }
+ .support-card img {
+ width: 160px;
+ height: 160px;
+ object-fit: contain;
+ border-radius: 8px;
+ margin-bottom: 12px;
+ background: #fff;
+ }
+ .support-card b {
+ font-size: 14px;
+ color: var(--text);
+ }
+ .author-block {
+ text-align: center;
+ padding-top: 32px;
+ margin-top: 16px;
+ border-top: 1px solid var(--border);
+ }
+ .author-block h3 {
+ font-size: 18px;
+ margin-bottom: 8px;
+ font-weight: 700;
+ }
+ .author-block p {
+ color: var(--text-muted);
+ margin-bottom: 12px;
+ }
+ .author-links {
+ display: inline-flex;
+ gap: 24px;
+ font-size: 14px;
+ }
- @media (max-width: 640px) {
- .hero h1 { font-size: 32px; }
- .hero p { font-size: 17px; }
- section { padding: 48px 0; }
- .features-grid { grid-template-columns: 1fr; }
- .hero-install { flex-direction: column; font-size: 13px; }
- }
- .skip-link {
- position: absolute; top: -40px; left: 0; background: var(--accent); color: #fff;
- padding: 8px 16px; z-index: 200; font-size: 14px; transition: top 0.2s;
- }
- .skip-link:focus { top: 0; }
- .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
- </style>
-</head>
-<body>
- <a href="#main-content" class="skip-link">跳转到主要内容</a>
+ footer {
+ border-top: 1px solid var(--border);
+ padding: 32px 0;
+ text-align: center;
+ color: var(--text-muted);
+ font-size: 14px;
+ }
+ footer a {
+ color: var(--text-muted);
+ }
+ footer a:hover {
+ color: var(--text);
+ }
- <nav role="navigation" aria-label="主导航">
- <div class="logo">drawio-<span>skill</span></div>
- <div class="nav-right">
- <a href="index.html" class="lang-switch">English</a>
- <button class="theme-btn" onclick="toggleTheme()" title="切换主题" aria-label="切换深色/浅色主题">&#x1F319;</button>
- </div>
- </nav>
+ @media (max-width: 640px) {
+ .hero h1 {
+ font-size: 32px;
+ }
+ .hero p {
+ font-size: 17px;
+ }
+ section {
+ padding: 48px 0;
+ }
+ .features-grid {
+ grid-template-columns: 1fr;
+ }
+ .hero-install {
+ flex-direction: column;
+ font-size: 13px;
+ }
+ }
+ .skip-link {
+ position: absolute;
+ top: -40px;
+ left: 0;
+ background: var(--accent);
+ color: #fff;
+ padding: 8px 16px;
+ z-index: 200;
+ font-size: 14px;
+ transition: top 0.2s;
+ }
+ .skip-link:focus {
+ top: 0;
+ }
+ .table-wrapper {
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+ </style>
+ </head>
+ <body>
+ <a href="#main-content" class="skip-link">跳转到主要内容</a>
- <main id="main-content">
- <!-- Hero -->
- <div class="hero">
- <div class="container">
- <div class="hero-badge">v1.32.0 &mdash; 代码库可视化、形状搜索、AI &amp; 数据图标</div>
- <h1>drawio-<span>skill</span></h1>
- <p>从文本到专业图表。通过自然语言生成 draw.io 文件 &mdash; 也能把现有代码库变成结构图 &mdash; 支持自检、迭代优化、10,000+ 官方形状和 AI/LLM 品牌图标。</p>
- <div class="hero-install">
- <code id="install-cmd">/plugin marketplace add Agents365-ai/365-skills</code>
- <button class="copy-btn" onclick="copyInstall()">复制</button>
- </div>
- <div class="hero-links">
- <a href="https://github.com/Agents365-ai/drawio-skill" class="btn btn-primary">GitHub</a>
- <a href="https://gitee.com/Agents365-ai/drawio-skill" class="btn btn-outline">Gitee 镜像</a>
- <a href="https://clawhub.ai/agents365-ai/drawio-pro-skill" class="btn btn-outline">ClawHub</a>
- <a href="https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md" class="btn btn-outline">SkillsMP</a>
- <a href="https://discord.gg/Fpbkw7cAhp" class="btn btn-outline">Discord</a>
- </div>
- <div style="margin-top:56px;">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/microservices-example.png"
- alt="drawio-skill 用一条自然语言提示词生成的微服务架构图"
- style="width:100%;max-width:920px;height:auto;border-radius:12px;border:1px solid var(--border);box-shadow:0 8px 32px rgba(0,0,0,0.3);">
- <p style="margin-top:14px;font-size:13px;color:var(--text-muted);">由一条自然语言提示词生成 &mdash; 完整提示词见 <a href="https://github.com/Agents365-ai/drawio-skill/blob/main/README_CN.md#-示例">README</a>。</p>
+ <nav role="navigation" aria-label="主导航">
+ <div class="logo">drawio-<span>skill</span></div>
+ <div class="nav-right">
+ <a href="index.html" class="lang-switch">English</a>
+ <button
+ class="theme-btn"
+ onclick="toggleTheme()"
+ title="切换主题"
+ aria-label="切换深色/浅色主题"
+ >
+ &#x1F319;
+ </button>
</div>
- </div>
- </div>
+ </nav>
- <!-- Features -->
- <section>
- <div class="container">
- <h2 class="section-title">为什么选择这个 Skill</h2>
- <p class="section-sub">唯一能自动读取输出并在展示前自动修复的纯 SKILL.md 方案。</p>
- <div class="features-grid">
- <div class="feature-card">
- <div class="feature-icon">&#x1F5FA;&#xFE0F;</div>
- <h3>可视化代码库</h3>
- <p>把 Python / JS-TS / Go / Rust 项目(导入关系图)或 Python 类继承层级变成自动布局的结构图 &mdash; Graphviz 布点、传递约简、按模块配色的容器。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F50D;</div>
- <h3>10,000+ 官方形状</h3>
- <p>搜索真实的 draw.io 形状库(AWS、Azure、GCP、Cisco、Kubernetes、UML、BPMN、P&amp;ID&hellip;)拿到精确 style,不靠猜 &mdash; 杜绝空白框。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F916;</div>
- <h3>AI / LLM 品牌图标</h3>
- <p>321 个 draw.io 自身没有的 logo(OpenAI、Claude、Gemini、Mistral、Llama、Ollama、LangChain&hellip;)&mdash; 专为 LLM 应用架构图准备。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F4CB;</div>
- <h3>11 种图表预设</h3>
- <p>ERD、UML 类图、序列图、C4、架构图、ML/深度学习、流程图、SysML、BPMN、网络拓扑、跨职能泳道图 &mdash; 每种都有预设形状、样式和布局规范。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F9E0;</div>
- <h3>ML / 深度学习</h3>
- <p>Transformer、CNN、LSTM 架构,带张量形状标注 (B, C, H, W)。专为 NeurIPS、ICML、ICLR 论文打造。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F50D;</div>
- <h3>自检循环</h3>
- <p>读取导出的 PNG,检测 6 类问题(重叠、标签裁切、连线堆叠),在展示给你之前自动修复。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x2728;</div>
- <h3>动画连接线</h3>
- <p>添加 <code>flowAnimation=1</code> 即可在箭头上显示移动动画。适合数据流和管道图的 SVG 导出。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F3A8;</div>
- <h3>样式预设</h3>
- <p>用一个 <code>.drawio</code> 文件或图片"教会" Skill 你的风格,命名保存后可在后续图表中复用。内置 3 种预设:<code>default</code>、<code>corporate</code>、<code>handdrawn</code>。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F310;</div>
- <h3>6 大平台、零配置</h3>
- <p>Claude Code、Opencode、OpenClaw、Hermes、Codex、SkillsMP &mdash; 仅需一个 SKILL.md + draw.io 桌面版,无需 MCP 服务、无后台 daemon。</p>
- </div>
- <div class="feature-card">
- <div class="feature-icon">&#x1F4BB;</div>
- <h3>浏览器降级</h3>
- <p>没有桌面 CLI?自动生成 diagrams.net URL,在浏览器中查看和编辑图表。</p>
+ <main id="main-content">
+ <!-- Hero -->
+ <div class="hero">
+ <div class="container">
+ <div class="hero-badge">
+ v1.32.0 &mdash; 代码库可视化、形状搜索、AI &amp; 数据图标
+ </div>
+ <h1>drawio-<span>skill</span></h1>
+ <p>
+ 从文本到专业图表。通过自然语言生成 draw.io 文件 &mdash;
+ 也能把现有代码库变成结构图 &mdash; 支持自检、迭代优化、10,000+
+ 官方形状和 AI/LLM 品牌图标。
+ </p>
+ <div class="hero-install">
+ <code id="install-cmd"
+ >/plugin marketplace add Agents365-ai/365-skills</code
+ >
+ <button class="copy-btn" onclick="copyInstall()">复制</button>
+ </div>
+ <div class="hero-links">
+ <a
+ href="https://github.com/Agents365-ai/drawio-skill"
+ class="btn btn-primary"
+ >GitHub</a
+ >
+ <a
+ href="https://gitee.com/Agents365-ai/drawio-skill"
+ class="btn btn-outline"
+ >Gitee 镜像</a
+ >
+ <a
+ href="https://skillsmp.com/skills/agents365-ai-drawio-skill-skills-drawio-skill-skill-md"
+ class="btn btn-outline"
+ >SkillsMP</a
+ >
+ <a href="https://discord.gg/Fpbkw7cAhp" class="btn btn-outline"
+ >Discord</a
+ >
+ </div>
+ <div style="margin-top: 56px">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/microservices-example.png"
+ alt="drawio-skill 用一条自然语言提示词生成的微服务架构图"
+ style="
+ width: 100%;
+ max-width: 920px;
+ height: auto;
+ border-radius: 12px;
+ border: 1px solid var(--border);
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
+ "
+ />
+ <p
+ style="
+ margin-top: 14px;
+ font-size: 13px;
+ color: var(--text-muted);
+ "
+ >
+ 由一条自然语言提示词生成 &mdash; 完整提示词见
+ <a
+ href="https://github.com/Agents365-ai/drawio-skill/blob/main/README_CN.md#-示例"
+ >README</a
+ >。
+ </p>
+ </div>
</div>
</div>
- </div>
- </section>
- <!-- Demo Gallery -->
- <section>
- <div class="container">
- <h2 class="section-title">示例展示</h2>
- <p class="section-sub">不同拓扑的清晰连线路由 &mdash; 线条不会穿越无关形状。</p>
- <div class="demos">
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star-cn.png" alt="星形拓扑图">
- <h4>星形拓扑</h4>
- <p>7 个节点 &mdash; 中央消息代理 + 6 个微服务辐射排列</p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-layered-cn.png" alt="分层流程图">
- <h4>分层流程</h4>
- <p>10 个节点、4 层 &mdash; 交叉连线清晰路由</p>
+ <!-- Features -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">为什么选择这个 Skill</h2>
+ <p class="section-sub">
+ 唯一能自动读取输出并在展示前自动修复的纯 SKILL.md 方案。
+ </p>
+ <div class="features-grid">
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F5FA;&#xFE0F;</div>
+ <h3>可视化代码库</h3>
+ <p>
+ 把 Python / JS-TS / Go / Rust 项目(导入关系图)或 Python
+ 类继承层级变成自动布局的结构图 &mdash; Graphviz
+ 布点、传递约简、按模块配色的容器。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F50D;</div>
+ <h3>10,000+ 官方形状</h3>
+ <p>
+ 搜索真实的 draw.io
+ 形状库(AWS、Azure、GCP、Cisco、Kubernetes、UML、BPMN、P&amp;ID&hellip;)拿到精确
+ style,不靠猜 &mdash; 杜绝空白框。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F916;</div>
+ <h3>AI / LLM 品牌图标</h3>
+ <p>
+ 321 个 draw.io 自身没有的
+ logo(OpenAI、Claude、Gemini、Mistral、Llama、Ollama、LangChain&hellip;)&mdash;
+ 专为 LLM 应用架构图准备。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F4CB;</div>
+ <h3>11 种图表预设</h3>
+ <p>
+ ERD、UML
+ 类图、序列图、C4、架构图、ML/深度学习、流程图、SysML、BPMN、网络拓扑、跨职能泳道图
+ &mdash; 每种都有预设形状、样式和布局规范。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F9E0;</div>
+ <h3>ML / 深度学习</h3>
+ <p>
+ Transformer、CNN、LSTM 架构,带张量形状标注 (B, C, H, W)。专为
+ NeurIPS、ICML、ICLR 论文打造。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F50D;</div>
+ <h3>自检循环</h3>
+ <p>
+ 读取导出的 PNG,检测 6
+ 类问题(重叠、标签裁切、连线堆叠),在展示给你之前自动修复。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x2728;</div>
+ <h3>动画连接线</h3>
+ <p>
+ 添加
+ <code>flowAnimation=1</code>
+ 即可在箭头上显示移动动画。适合数据流和管道图的 SVG 导出。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F3A8;</div>
+ <h3>样式预设</h3>
+ <p>
+ 用一个 <code>.drawio</code> 文件或图片"教会" Skill
+ 你的风格,命名保存后可在后续图表中复用。内置 3
+ 种预设:<code>default</code>、<code>corporate</code>、<code>handdrawn</code>。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F310;</div>
+ <h3>6 大平台、零配置</h3>
+ <p>
+ Claude Code、Opencode、OpenClaw、Hermes、Codex、SkillsMP &mdash;
+ 仅需一个 SKILL.md + draw.io 桌面版,无需 MCP 服务、无后台
+ daemon。
+ </p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">&#x1F4BB;</div>
+ <h3>浏览器降级</h3>
+ <p>
+ 没有桌面 CLI?自动生成 diagrams.net
+ URL,在浏览器中查看和编辑图表。
+ </p>
+ </div>
+ </div>
</div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-ring-cn.png" alt="环形循环图">
- <h4>环形 / 循环</h4>
- <p>8 个节点 &mdash; CI/CD 流水线,含闭合回路和分支</p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/code-structure-example.png" alt="按模块配色的类继承层级">
- <h4>可视化代码库</h4>
- <p>Python <code>logging</code> 类继承层级 &mdash; 38 个类自动布局,按模块配色</p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/shape-search-example.png" alt="用官方形状搭建的 AWS 无服务器架构">
- <h4>官方形状搜索</h4>
- <p>AWS 无服务器架构 &mdash; 每个图标都由 <code>shapesearch.py</code> 解析</p>
- </div>
- <div class="demo-item">
- <img src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/ai-logos-example.png" alt="带 AI 品牌图标的多供应商 LLM 应用">
- <h4>AI / LLM 品牌图标</h4>
- <p>多供应商 LLM 应用 &mdash; OpenAI、Claude、Gemini&hellip; 经 <code>aiicons.py</code></p>
+ </section>
+
+ <!-- Demo Gallery -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">示例展示</h2>
+ <p class="section-sub">
+ 不同拓扑的清晰连线路由 &mdash; 线条不会穿越无关形状。
+ </p>
+ <div class="demos">
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-star-cn.png"
+ alt="星形拓扑图"
+ />
+ <h4>星形拓扑</h4>
+ <p>7 个节点 &mdash; 中央消息代理 + 6 个微服务辐射排列</p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-layered-cn.png"
+ alt="分层流程图"
+ />
+ <h4>分层流程</h4>
+ <p>10 个节点、4 层 &mdash; 交叉连线清晰路由</p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/demo-ring-cn.png"
+ alt="环形循环图"
+ />
+ <h4>环形 / 循环</h4>
+ <p>8 个节点 &mdash; CI/CD 流水线,含闭合回路和分支</p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/code-structure-example.png"
+ alt="按模块配色的类继承层级"
+ />
+ <h4>可视化代码库</h4>
+ <p>
+ Python <code>logging</code> 类继承层级 &mdash; 38
+ 个类自动布局,按模块配色
+ </p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/shape-search-example.png"
+ alt="用官方形状搭建的 AWS 无服务器架构"
+ />
+ <h4>官方形状搜索</h4>
+ <p>
+ AWS 无服务器架构 &mdash; 每个图标都由
+ <code>shapesearch.py</code> 解析
+ </p>
+ </div>
+ <div class="demo-item">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/assets/ai-logos-example.png"
+ alt="带 AI 品牌图标的多供应商 LLM 应用"
+ />
+ <h4>AI / LLM 品牌图标</h4>
+ <p>
+ 多供应商 LLM 应用 &mdash; OpenAI、Claude、Gemini&hellip; 经
+ <code>aiicons.py</code>
+ </p>
+ </div>
+ </div>
</div>
- </div>
- </div>
- </section>
+ </section>
- <!-- Comparison -->
- <section>
- <div class="container">
- <h2 class="section-title">对比原生智能体</h2>
- <p class="section-sub">使用本 skill 与直接提示 LLM 的区别。</p>
- <div class="table-wrapper">
- <table class="compare-table">
- <thead>
- <tr><th>功能</th><th>原生智能体</th><th>本 Skill</th></tr>
- </thead>
- <tbody>
- <tr><td>导出后自检</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 2 轮自动修复</td></tr>
- <tr><td>迭代反馈循环</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 5 轮定向编辑</td></tr>
- <tr><td>图表类型预设</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 11 种预设(ERD、UML、序列、C4、架构、ML、流程、SysML、BPMN、网络、泳道)</td></tr>
- <tr><td>ML 模型图</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 张量标注、层配色</td></tr>
- <tr><td>动画连接线</td><td class="cross">&#x2717;</td><td class="check">&#x2713; flowAnimation=1</td></tr>
- <tr><td>网格对齐布局</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 10px 对齐</td></tr>
- <tr><td>按复杂度分级间距</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 200&ndash;350px</td></tr>
- <tr><td>配色方案</td><td class="cross">随机</td><td class="check">&#x2713; 7 色语义系统</td></tr>
- <tr><td>连线路由规则</td><td class="cross">基础</td><td class="check">&#x2713; 走廊 + waypoints + 分布</td></tr>
- <tr><td>容器/分组</td><td class="cross">&#x2717;</td><td class="check">&#x2713; Swimlane + group + 自定义</td></tr>
- <tr><td>可视化代码库</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 导入关系图(Py/JS/Go/Rust)+ 类图</td></tr>
- <tr><td>大图自动布局</td><td class="cross">&#x2717;</td><td class="check">&#x2713; Graphviz 布点、正交路由、嵌套容器</td></tr>
- <tr><td>结构校验</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 确定性 .drawio linter</td></tr>
- <tr><td>官方形状搜索</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 1 万+ AWS/Azure/GCP/UML 样式</td></tr>
- <tr><td>AI/LLM 品牌图标</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 321 个 logo(OpenAI/Claude/Gemini&hellip;)</td></tr>
- <tr><td>嵌入式导出</td><td class="cross">&#x2717;</td><td class="check">&#x2713; --embed-diagram</td></tr>
- <tr><td>浏览器降级</td><td class="cross">&#x2717;</td><td class="check">&#x2713; diagrams.net URL</td></tr>
- <tr><td>自动启动桌面版</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 导出后打开 .drawio</td></tr>
- <tr><td>样式预设</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 学习、保存并应用命名样式</td></tr>
- <tr><td>插件市场安装</td><td class="cross">&#x2717;</td><td class="check">&#x2713; 通过 Agents365-ai/365-skills</td></tr>
- </tbody>
- </table>
- </div>
- </div>
- </section>
+ <!-- Comparison -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">对比原生智能体</h2>
+ <p class="section-sub">使用本 skill 与直接提示 LLM 的区别。</p>
+ <div class="table-wrapper">
+ <table class="compare-table">
+ <thead>
+ <tr>
+ <th>功能</th>
+ <th>原生智能体</th>
+ <th>本 Skill</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>导出后自检</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 2 轮自动修复</td>
+ </tr>
+ <tr>
+ <td>迭代反馈循环</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 5 轮定向编辑</td>
+ </tr>
+ <tr>
+ <td>图表类型预设</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; 11
+ 种预设(ERD、UML、序列、C4、架构、ML、流程、SysML、BPMN、网络、泳道)
+ </td>
+ </tr>
+ <tr>
+ <td>ML 模型图</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 张量标注、层配色</td>
+ </tr>
+ <tr>
+ <td>动画连接线</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; flowAnimation=1</td>
+ </tr>
+ <tr>
+ <td>网格对齐布局</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 10px 对齐</td>
+ </tr>
+ <tr>
+ <td>按复杂度分级间距</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 200&ndash;350px</td>
+ </tr>
+ <tr>
+ <td>配色方案</td>
+ <td class="cross">随机</td>
+ <td class="check">&#x2713; 7 色语义系统</td>
+ </tr>
+ <tr>
+ <td>连线路由规则</td>
+ <td class="cross">基础</td>
+ <td class="check">&#x2713; 走廊 + waypoints + 分布</td>
+ </tr>
+ <tr>
+ <td>容器/分组</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; Swimlane + group + 自定义</td>
+ </tr>
+ <tr>
+ <td>可视化代码库</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; 导入关系图(Py/JS/Go/Rust)+ 类图
+ </td>
+ </tr>
+ <tr>
+ <td>大图自动布局</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; Graphviz 布点、正交路由、嵌套容器
+ </td>
+ </tr>
+ <tr>
+ <td>结构校验</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 确定性 .drawio linter</td>
+ </tr>
+ <tr>
+ <td>官方形状搜索</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 1 万+ AWS/Azure/GCP/UML 样式</td>
+ </tr>
+ <tr>
+ <td>AI/LLM 品牌图标</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">
+ &#x2713; 321 个 logo(OpenAI/Claude/Gemini&hellip;)
+ </td>
+ </tr>
+ <tr>
+ <td>嵌入式导出</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; --embed-diagram</td>
+ </tr>
+ <tr>
+ <td>浏览器降级</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; diagrams.net URL</td>
+ </tr>
+ <tr>
+ <td>自动启动桌面版</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 导出后打开 .drawio</td>
+ </tr>
+ <tr>
+ <td>样式预设</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 学习、保存并应用命名样式</td>
+ </tr>
+ <tr>
+ <td>插件市场安装</td>
+ <td class="cross">&#x2717;</td>
+ <td class="check">&#x2713; 通过 Agents365-ai/365-skills</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </section>
- <!-- Install -->
- <section>
- <div class="container">
- <h2 class="section-title">安装</h2>
- <p class="section-sub">选择你的平台,10 秒搞定。</p>
- <div class="tabs" role="tablist" aria-label="安装平台">
- <button class="tab active" role="tab" aria-selected="true" aria-controls="tab-claude" onclick="switchTab(event, 'tab-claude')">Claude Code</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-opencode" onclick="switchTab(event, 'tab-opencode')">Opencode</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-openclaw" onclick="switchTab(event, 'tab-openclaw')">OpenClaw</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-skillsmp" onclick="switchTab(event, 'tab-skillsmp')">SkillsMP</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-clawhub" onclick="switchTab(event, 'tab-clawhub')">ClawHub</button>
- <button class="tab" role="tab" aria-selected="false" aria-controls="tab-codex" onclick="switchTab(event, 'tab-codex')">Codex</button>
- </div>
- <div id="tab-claude" class="tab-content active" role="tabpanel">
- <pre># 插件市场(推荐)
+ <!-- Install -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">安装</h2>
+ <p class="section-sub">选择你的平台,10 秒搞定。</p>
+ <div class="tabs" role="tablist" aria-label="安装平台">
+ <button
+ class="tab active"
+ role="tab"
+ aria-selected="true"
+ aria-controls="tab-claude"
+ onclick="switchTab(event, 'tab-claude')"
+ >
+ Claude Code
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-opencode"
+ onclick="switchTab(event, 'tab-opencode')"
+ >
+ Opencode
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-openclaw"
+ onclick="switchTab(event, 'tab-openclaw')"
+ >
+ OpenClaw
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-skillsmp"
+ onclick="switchTab(event, 'tab-skillsmp')"
+ >
+ SkillsMP
+ </button>
+ <button
+ class="tab"
+ role="tab"
+ aria-selected="false"
+ aria-controls="tab-codex"
+ onclick="switchTab(event, 'tab-codex')"
+ >
+ Codex
+ </button>
+ </div>
+ <div id="tab-claude" class="tab-content active" role="tabpanel">
+ <pre>
+# 插件市场(推荐)
/plugin marketplace add Agents365-ai/365-skills
/plugin install drawio
@@ -385,9 +945,10 @@ git clone https://github.com/Agents365-ai/drawio-skill.git ~/.claude/skills/draw
# 手动项目级安装
git clone https://github.com/Agents365-ai/drawio-skill.git .claude/skills/drawio-skill</pre>
- </div>
- <div id="tab-opencode" class="tab-content" role="tabpanel">
- <pre># 全局安装(Opencode 原生路径)
+ </div>
+ <div id="tab-opencode" class="tab-content" role="tabpanel">
+ <pre>
+# 全局安装(Opencode 原生路径)
git clone https://github.com/Agents365-ai/drawio-skill.git ~/.config/opencode/skills/drawio-skill
# 项目级安装
@@ -395,140 +956,181 @@ git clone https://github.com/Agents365-ai/drawio-skill.git .opencode/skills/draw
# 也可自动识别已有的 Claude Code 安装
# (~/.claude/skills/ 和 .claude/skills/ 会被自动读取)</pre>
- </div>
- <div id="tab-openclaw" class="tab-content" role="tabpanel">
- <pre># 通过 ClawHub 安装
-clawhub install drawio-pro-skill
-
+ </div>
+ <div id="tab-openclaw" class="tab-content" role="tabpanel">
+ <pre>
# 手动安装
git clone https://github.com/Agents365-ai/drawio-skill.git ~/.openclaw/skills/drawio-skill</pre>
- </div>
- <div id="tab-skillsmp" class="tab-content" role="tabpanel">
- <pre># 通过 SkillsMP CLI
+ </div>
+ <div id="tab-skillsmp" class="tab-content" role="tabpanel">
+ <pre>
+# 通过 SkillsMP CLI
skills install drawio-skill</pre>
- </div>
- <div id="tab-clawhub" class="tab-content" role="tabpanel">
- <pre># 通过 ClawHub CLI
-clawhub install drawio-pro-skill</pre>
- </div>
- <div id="tab-codex" class="tab-content" role="tabpanel">
- <pre># 用户级安装
+ </div>
+ <div id="tab-codex" class="tab-content" role="tabpanel">
+ <pre>
+# 用户级安装
git clone https://github.com/Agents365-ai/drawio-skill.git ~/.agents/skills/drawio-skill
# 项目级安装
git clone https://github.com/Agents365-ai/drawio-skill.git .agents/skills/drawio-skill</pre>
- </div>
- </div>
- </section>
-
- <!-- 相关 Skill -->
- <section>
- <div class="container">
- <h2 class="section-title">相关 Skill</h2>
- <p class="section-sub">Agents365-ai 图表 skill 家族一员 &mdash; 按场景挑工具。</p>
- <div class="features-grid">
- <a href="https://github.com/Agents365-ai/excalidraw-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x270F;&#xFE0F;</div>
- <h3>excalidraw-skill</h3>
- <p>手绘 / 草图 &mdash; 白板原型、非正式图。</p>
- </a>
- <a href="https://github.com/Agents365-ai/mermaid-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x1F4CA;</div>
- <h3>mermaid-skill</h3>
- <p>文本驱动、自动布局 &mdash; 可嵌入 README、易于版本管理。</p>
- </a>
- <a href="https://github.com/Agents365-ai/plantuml-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x1F9E9;</div>
- <h3>plantuml-skill</h3>
- <p>UML 专精 &mdash; CI 流水线里的类图 / 序列图。</p>
- </a>
- <a href="https://github.com/Agents365-ai/tldraw-skill" class="feature-card" style="text-decoration:none;color:inherit;">
- <div class="feature-icon">&#x1F3A8;</div>
- <h3>tldraw-skill</h3>
- <p>白板协作 &mdash; 随手画、FigJam 风格。</p>
- </a>
- </div>
- </div>
- </section>
-
- <!-- 支持作者 -->
- <section id="support">
- <div class="container">
- <h2 class="section-title">支持作者</h2>
- <p class="section-sub">如果这个 skill 对你有帮助,欢迎支持作者。</p>
- <div class="support-grid">
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png" alt="微信支付" loading="lazy">
- <b>微信支付</b>
- </div>
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png" alt="支付宝" loading="lazy">
- <b>支付宝</b>
+ </div>
</div>
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png" alt="Buy Me a Coffee" loading="lazy">
- <b>Buy Me a Coffee</b>
- </div>
- <div class="support-card">
- <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif" alt="打赏" loading="lazy">
- <b>打赏</b>
- </div>
- </div>
- <div class="author-block">
- <h3>作者</h3>
- <p><strong>Agents365-ai</strong></p>
- <div class="author-links">
- <a href="https://github.com/Agents365-ai">GitHub</a>
- <a href="https://space.bilibili.com/441831884">Bilibili</a>
+ </section>
+
+ <!-- 相关 Skill -->
+ <section>
+ <div class="container">
+ <h2 class="section-title">相关 Skill</h2>
+ <p class="section-sub">
+ Agents365-ai 图表 skill 家族一员 &mdash; 按场景挑工具。
+ </p>
+ <div class="features-grid">
+ <a
+ href="https://github.com/Agents365-ai/excalidraw-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x270F;&#xFE0F;</div>
+ <h3>excalidraw-skill</h3>
+ <p>手绘 / 草图 &mdash; 白板原型、非正式图。</p>
+ </a>
+ <a
+ href="https://github.com/Agents365-ai/mermaid-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x1F4CA;</div>
+ <h3>mermaid-skill</h3>
+ <p>文本驱动、自动布局 &mdash; 可嵌入 README、易于版本管理。</p>
+ </a>
+ <a
+ href="https://github.com/Agents365-ai/plantuml-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x1F9E9;</div>
+ <h3>plantuml-skill</h3>
+ <p>UML 专精 &mdash; CI 流水线里的类图 / 序列图。</p>
+ </a>
+ <a
+ href="https://github.com/Agents365-ai/tldraw-skill"
+ class="feature-card"
+ style="text-decoration: none; color: inherit"
+ >
+ <div class="feature-icon">&#x1F3A8;</div>
+ <h3>tldraw-skill</h3>
+ <p>白板协作 &mdash; 随手画、FigJam 风格。</p>
+ </a>
+ </div>
</div>
- </div>
- </div>
- </section>
+ </section>
- </main>
+ <!-- 支持作者 -->
+ <section id="support">
+ <div class="container">
+ <h2 class="section-title">支持作者</h2>
+ <p class="section-sub">如果这个 skill 对你有帮助,欢迎支持作者。</p>
+ <div class="support-grid">
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png"
+ alt="微信支付"
+ loading="lazy"
+ />
+ <b>微信支付</b>
+ </div>
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png"
+ alt="支付宝"
+ loading="lazy"
+ />
+ <b>支付宝</b>
+ </div>
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png"
+ alt="Buy Me a Coffee"
+ loading="lazy"
+ />
+ <b>Buy Me a Coffee</b>
+ </div>
+ <div class="support-card">
+ <img
+ src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/awarding/award.gif"
+ alt="打赏"
+ loading="lazy"
+ />
+ <b>打赏</b>
+ </div>
+ </div>
+ <div class="author-block">
+ <h3>作者</h3>
+ <p><strong>Agents365-ai</strong></p>
+ <div class="author-links">
+ <a href="https://github.com/Agents365-ai">GitHub</a>
+ <a href="https://space.bilibili.com/441831884">Bilibili</a>
+ </div>
+ </div>
+ </div>
+ </section>
+ </main>
- <!-- Footer -->
- <footer>
- <div class="container">
- <p>
- <a href="https://github.com/Agents365-ai/drawio-skill/blob/main/LICENSE">MIT 许可证</a> &middot;
- <a href="https://github.com/Agents365-ai/drawio-skill">GitHub</a> &middot;
- <a href="https://github.com/Agents365-ai">Agents365-ai</a>
- </p>
- </div>
- </footer>
+ <!-- Footer -->
+ <footer>
+ <div class="container">
+ <p>
+ <a
+ href="https://github.com/Agents365-ai/drawio-skill/blob/main/LICENSE"
+ >MIT 许可证</a
+ >
+ &middot;
+ <a href="https://github.com/Agents365-ai/drawio-skill">GitHub</a>
+ &middot;
+ <a href="https://github.com/Agents365-ai">Agents365-ai</a>
+ </p>
+ </div>
+ </footer>
- <script>
- function copyInstall() {
- const cmd = document.getElementById('install-cmd').textContent;
- navigator.clipboard.writeText(cmd).then(() => {
- const btn = document.querySelector('.copy-btn');
- btn.textContent = '已复制!';
- setTimeout(() => btn.textContent = '复制', 2000);
- });
- }
- function switchTab(e, id) {
- document.querySelectorAll('.tab').forEach(t => { t.classList.remove('active'); t.setAttribute('aria-selected', 'false'); });
- document.querySelectorAll('.tab-content').forEach(t => t.classList.remove('active'));
- e.target.classList.add('active');
- e.target.setAttribute('aria-selected', 'true');
- document.getElementById(id).classList.add('active');
- }
- function toggleTheme() {
- const html = document.documentElement;
- const current = html.getAttribute('data-theme');
- const next = current === 'dark' ? 'light' : 'dark';
- html.setAttribute('data-theme', next);
- localStorage.setItem('theme', next);
- document.querySelector('.theme-btn').innerHTML = next === 'dark' ? '&#x1F319;' : '&#x2600;&#xFE0F;';
- }
- (function() {
- const saved = localStorage.getItem('theme');
- if (saved) {
- document.documentElement.setAttribute('data-theme', saved);
- document.querySelector('.theme-btn').innerHTML = saved === 'dark' ? '&#x1F319;' : '&#x2600;&#xFE0F;';
- }
- })();
- </script>
-</body>
+ <script>
+ function copyInstall() {
+ const cmd = document.getElementById("install-cmd").textContent;
+ navigator.clipboard.writeText(cmd).then(() => {
+ const btn = document.querySelector(".copy-btn");
+ btn.textContent = "已复制!";
+ setTimeout(() => (btn.textContent = "复制"), 2000);
+ });
+ }
+ function switchTab(e, id) {
+ document.querySelectorAll(".tab").forEach((t) => {
+ t.classList.remove("active");
+ t.setAttribute("aria-selected", "false");
+ });
+ document
+ .querySelectorAll(".tab-content")
+ .forEach((t) => t.classList.remove("active"));
+ e.target.classList.add("active");
+ e.target.setAttribute("aria-selected", "true");
+ document.getElementById(id).classList.add("active");
+ }
+ function toggleTheme() {
+ const html = document.documentElement;
+ const current = html.getAttribute("data-theme");
+ const next = current === "dark" ? "light" : "dark";
+ html.setAttribute("data-theme", next);
+ localStorage.setItem("theme", next);
+ document.querySelector(".theme-btn").textContent =
+ next === "dark" ? "🌙" : "☀️";
+ }
+ (function () {
+ const saved = localStorage.getItem("theme");
+ if (saved) {
+ document.documentElement.setAttribute("data-theme", saved);
+ document.querySelector(".theme-btn").textContent =
+ saved === "dark" ? "🌙" : "☀️";
+ }
+ })();
+ </script>
+ </body>
</html>
diff --git a/skills/drawio-skill/SKILL.md b/skills/drawio-skill/SKILL.md
index 4de11be..d95332d 100644
--- a/skills/drawio-skill/SKILL.md
+++ b/skills/drawio-skill/SKILL.md
@@ -3,7 +3,7 @@ name: drawio-skill
description: Create, edit, synchronize, inspect, test, and publish editable draw.io diagrams. Use when the user explicitly requests draw.io/diagrams.net, needs a polished architecture, ERD, UML, sequence, C4, SysML, BPMN, network, swimlane, ML, or infrastructure diagram, wants code/IaC/SQL/OpenAPI converted into a diagram, or wants an existing diagram queried, reviewed, diffed, restyled, kept in sync, or made interactive. Prefer Mermaid/PlantUML elsewhere when the requested artifact is diagrams-as-code rather than an editable draw.io file.
license: MIT
allowed-tools: [Bash, Read, Write, WebFetch]
-metadata: {"openclaw":{"requires":{"anyBins":["python3"]},"emoji":"📐","os":["darwin","linux","win32"],"install":[{"id":"brew-drawio","kind":"brew","formula":"drawio","bins":["drawio"],"label":"Install draw.io for native exports","os":["darwin"],"optional":true},{"id":"brew-graphviz","kind":"brew","formula":"graphviz","bins":["dot"],"label":"Install Graphviz for automatic layout","os":["darwin"],"optional":true}]},"hermes":{"tags":["drawio","diagram","architecture","visualization","uml"],"category":"design","requires_tools":["python3"],"related_skills":["mermaid","excalidraw","plantuml"]},"author":"Agents365-ai","version":"3.2.0","homepage":"https://github.com/Agents365-ai/drawio-skill","compatibility":"Core IR, XML, sync, query, test, review, and Story workflows need Python 3 only; native export needs draw.io; Graphviz is optional.","platforms":["macos","linux","windows"]}
+metadata: {"openclaw":{"requires":{"anyBins":["python3"]},"emoji":"📐","os":["darwin","linux","win32"],"install":[{"id":"brew-drawio","kind":"brew","formula":"drawio","bins":["drawio"],"label":"Install draw.io for native exports","os":["darwin"],"optional":true},{"id":"brew-graphviz","kind":"brew","formula":"graphviz","bins":["dot"],"label":"Install Graphviz for automatic layout","os":["darwin"],"optional":true}]},"hermes":{"tags":["drawio","diagram","architecture","visualization","uml"],"category":"design","requires_tools":["python3"],"related_skills":["mermaid","excalidraw","plantuml"]},"author":"Agents365-ai","version":"3.2.1","homepage":"https://github.com/Agents365-ai/drawio-skill","compatibility":"Core IR, XML, sync, query, test, review, and Story workflows need Python 3 only; native export needs draw.io; Graphviz is optional.","platforms":["macos","linux","windows"]}
---
# Draw.io Architecture Studio
@@ -29,6 +29,7 @@ and accessible publishing over a shared Diagram IR.
| Existing `.drawio` to HTML/PPTX/Mermaid/Markdown/animation/runbook | Read `references/toolbox.md`; `diagramctl.py transform` exposes the existing tools |
| Shape, cloud/vendor, AI, or Databricks icon | Read `references/shapes.md` or `references/databricks.md`; never guess shape names |
| Learn/apply/manage a visual style | Read `references/style-presets.md` |
+| Existing image to editable diagram (screenshot, whiteboard photo, legacy PNG) | Read `references/derasterize.md` |
| Export/platform problem | Read `references/troubleshooting.md`; for access/network questions read `references/security.md` |
## Unified CLI
diff --git a/tests/test_skill_metadata.py b/tests/test_skill_metadata.py
index d280f0a..e34be5b 100644
--- a/tests/test_skill_metadata.py
+++ b/tests/test_skill_metadata.py
@@ -20,7 +20,7 @@ class TestSkillMetadata(unittest.TestCase):
assert metadata_match is not None
metadata = json.loads(metadata_match.group(1))
- self.assertEqual("3.2.0", metadata.get("version"))
+ self.assertEqual("3.2.1", metadata.get("version"))
self.assertEqual(
"https://github.com/Agents365-ai/drawio-skill", metadata.get("homepage")
)