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.
Python agent-skillsarchitecturearchitecture-diagramasyncapibpmnc4-modelclaude-codediagramdiagrams-as-codedrawioflowchartgithub-actionsgraphqlimage-to-diagramkubernetesmcp-serverprotobufsysmlterraformuml
docs: split Comparison into COMPARISON.md, drop Files + Known Limitations
Agents365-aiad872b2fcb81
diff --git a/COMPARISON.md b/COMPARISON.mdnew file mode 100644index 0000000..ab32fc6--- /dev/null+++ b/COMPARISON.md@@ -0,0 +1,54 @@+# Comparison++[中文](COMPARISON_CN.md)++## vs No Skill (native agent)++| Feature | Native agent | This skill |+|---------|-------------|------------|+| Generate draw.io XML | Yes — LLMs know the format | Yes |+| Self-check after export | No | Yes — reads PNG and auto-fixes 6 issue types |+| Iterative review loop | No — must manually re-prompt | Yes — targeted edits, 5-round safety valve |+| Proactive triggers | No — only when explicitly asked | Yes — auto-suggests when 3+ components |+| Layout guidelines | None — varies by run | Complexity-scaled spacing, routing corridors, hub placement |+| Grid alignment | No | Yes — all coordinates snap to 10px multiples |+| Diagram type presets | No | Yes — 6 presets (ERD, UML, Sequence, Architecture, ML/DL, Flowchart) |+| Animated connectors | No | Yes — `flowAnimation=1` for data-flow visualization |+| ML model diagrams | No | Yes — tensor shape annotations, layer-type color coding |+| Color palette | Random/inconsistent | 7-color semantic system (blue=services, green=DB, purple=auth...) |+| Edge routing rules | Basic | Pin entry/exit points, distribute connections, waypoint corridors |+| Container/group patterns | None | Swimlane, group, custom container with parent-child nesting |+| Embed diagram in export | No | Yes — `--embed-diagram` keeps exported PNG/SVG/PDF editable |+| Browser fallback | No | Yes — generates diagrams.net URL when CLI unavailable |+| Auto-launch desktop app | No | Yes — opens `.drawio` file after export for fine-tuning |++## vs Other draw.io Skills & Tools++| Feature | This skill | [jgraph/drawio-mcp](https://github.com/jgraph/drawio-mcp) (official, 1.3k⭐) | [bahayonghang/drawio-skills](https://github.com/bahayonghang/drawio-skills) (60⭐) | [GBSOSS/ai-drawio](https://github.com/GBSOSS/ai-drawio) (63⭐) |+|---------|-----------|---------------|-------------------|--------------|+| **Approach** | Pure SKILL.md | SKILL.md / MCP / Project | YAML DSL + MCP | Plugin + browser |+| **Dependencies** | draw.io desktop only | draw.io desktop | MCP server (`npx`) | Browser + local server |+| **Multi-agent** | ✅ 6 platforms | ❌ Claude Code only | ❌ Claude Code only | ❌ |+| **Self-check** | ✅ 2-round auto-fix | ❌ | ❌ | ❌ screenshot |+| **Iterative review** | ✅ 5-round loop | ❌ generate once | ✅ 3 workflows | ❌ |+| **Layout guidance** | ✅ complexity-scaled + grid snap | ✅ basic spacing | ❌ relies on MCP | ❌ |+| **Diagram presets** | ✅ 6 types (ERD, UML, Seq, Arch, ML, Flow) | ❌ | ❌ | ❌ |+| **Animated edges** | ✅ `flowAnimation=1` | ❌ | ❌ | ❌ |+| **ML/DL diagrams** | ✅ tensor shapes, layer colors | ❌ | ❌ | ❌ |+| **Color system** | ✅ 7-color semantic | ❌ | ✅ 5 themes | ❌ |+| **Container/group** | ✅ swimlane + group | ✅ detailed | ❌ | ❌ |+| **Embed diagram** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ |+| **Edge routing** | ✅ corridors + waypoints | ✅ arrowhead rules | ❌ | ❌ |+| **Browser fallback** | ✅ diagrams.net URL | ❌ | ❌ | ❌ |+| **Auto-launch** | ✅ opens desktop app | ❌ | ❌ | ❌ |+| **Cloud icons** | AWS basic | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ |+| **Zero-config** | ✅ copy skills/drawio-skill/ | ✅ | ❌ needs `npx` | ❌ needs plugin install |++## Key advantages++1. **Self-check + iterative loop** — the only pure-SKILL.md solution that reads its own output and auto-fixes before showing the user, then supports multi-round refinement+2. **6 diagram type presets** — ERD, UML Class, Sequence, Architecture, ML/Deep Learning, Flowchart — each with preset shapes, styles, and layout conventions+3. **ML/DL model diagrams** — tensor shape annotations, layer-type color coding, encoder/decoder swimlanes — built for academic papers+4. **Multi-agent, zero-config** — works across 6 platforms with just the `skills/drawio-skill/` directory + draw.io desktop. No MCP server, no Python, no Node.js, no browser+5. **Production-grade layout** — grid-aligned coordinates, complexity-scaled spacing, routing corridors, hub-center strategy, animated connectors+6. **Browser fallback** — generates diagrams.net URLs when the desktop CLI is unavailable, plus auto-launch for desktop editingdiff --git a/COMPARISON_CN.md b/COMPARISON_CN.mdnew file mode 100644index 0000000..47d258f--- /dev/null+++ b/COMPARISON_CN.md@@ -0,0 +1,54 @@+# 对比++[English](COMPARISON.md)++## 与无 skill 的原生智能体对比++| 功能 | 原生智能体 | 本 skill |+|------|-----------|---------|+| 生成 draw.io XML | 是 — LLM 本身了解格式 | 是 |+| 导出后自检 | 否 | 是 — 读取 PNG 自动修复 6 类问题 |+| 迭代反馈循环 | 否 — 需手动重新提问 | 是 — 定向编辑,5 轮安全阀 |+| 主动触发 | 否 — 仅在明确要求时 | 是 — 3+ 组件时自动建议画图 |+| 布局规范 | 无 — 每次结果不一致 | 按复杂度分级间距、路由走廊、hub 居中策略 |+| 网格对齐 | 否 | 是 — 所有坐标对齐到 10px 倍数 |+| 图表类型预设 | 否 | 是 — 6 种预设(ERD、UML、序列图、架构图、ML/DL、流程图) |+| 动画连接线 | 否 | 是 — `flowAnimation=1` 数据流可视化 |+| ML/DL 模型图 | 否 | 是 — 张量形状标注、层类型配色 |+| 配色方案 | 随机/不一致 | 7 色语义系统(蓝=服务、绿=数据库、紫=安全…) |+| 连线路由规则 | 基础 | 锚点分配、连接分布、走廊绕行 |+| 容器/分组 | 无 | Swimlane、Group、自定义容器 + 父子嵌套 |+| 嵌入式导出 | 否 | 是 — `--embed-diagram` 保持导出文件可编辑 |+| 浏览器降级 | 否 | 是 — CLI 不可用时生成 diagrams.net URL |+| 自动启动桌面版 | 否 | 是 — 导出后自动打开 `.drawio` 文件精修 |++## 与其他 draw.io Skills / 工具对比++| 功能 | 本 skill | [jgraph/drawio-mcp](https://github.com/jgraph/drawio-mcp)(官方,1.3k⭐) | [bahayonghang/drawio-skills](https://github.com/bahayonghang/drawio-skills)(60⭐) | [GBSOSS/ai-drawio](https://github.com/GBSOSS/ai-drawio)(63⭐) |+|---------|-----------|---------------|-------------------|--------------|+| **方式** | 纯 SKILL.md | SKILL.md / MCP / Project | YAML DSL + MCP | 插件 + 浏览器 |+| **依赖** | 仅 draw.io 桌面版 | draw.io 桌面版 | MCP 服务(`npx`) | 浏览器 + 本地服务 |+| **多智能体** | ✅ 6 个平台 | ❌ 仅 Claude Code | ❌ 仅 Claude Code | ❌ |+| **自检** | ✅ 2 轮自动修复 | ❌ | ❌ | ❌ 截图 |+| **迭代审查** | ✅ 5 轮循环 | ❌ 一次生成 | ✅ 3 种工作流 | ❌ |+| **布局指南** | ✅ 按复杂度分级 + 网格对齐 | ✅ 基础间距 | ❌ 依赖 MCP | ❌ |+| **图表预设** | ✅ 6 种(ERD、UML、序列、架构、ML、流程) | ❌ | ❌ | ❌ |+| **动画连线** | ✅ `flowAnimation=1` | ❌ | ❌ | ❌ |+| **ML/DL 图** | ✅ 张量标注、层配色 | ❌ | ❌ | ❌ |+| **配色系统** | ✅ 7 色语义 | ❌ | ✅ 5 种主题 | ❌ |+| **容器/分组** | ✅ swimlane + group | ✅ 详细 | ❌ | ❌ |+| **嵌入式导出** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ |+| **连线路由** | ✅ 走廊 + waypoints | ✅ 箭头间距规则 | ❌ | ❌ |+| **浏览器降级** | ✅ diagrams.net URL | ❌ | ❌ | ❌ |+| **自动启动** | ✅ 打开桌面版 | ❌ | ❌ | ❌ |+| **云图标** | AWS 基础 | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ |+| **零配置** | ✅ 复制 skills/drawio-skill/ | ✅ | ❌ 需要 `npx` | ❌ 需安装插件 |++## 核心优势++1. **自检 + 迭代循环** — 唯一纯 SKILL.md 方案中能自动读取输出、修复问题、支持多轮优化的+2. **6 种图表类型预设** — ERD、UML 类图、序列图、架构图、ML/深度学习、流程图 — 每种都有预设形状、样式和布局规范+3. **ML/DL 模型图** — 张量形状标注、层类型配色、编码器/解码器泳道 — 专为学术论文打造+4. **多智能体、零配置** — 跨 6 个平台运行,仅需 `skills/drawio-skill/` 目录 + draw.io 桌面版,无需 MCP、Python、Node.js、浏览器+5. **专业级布局** — 网格对齐坐标、按复杂度分级间距、路由走廊、hub 居中策略、动画连接线+6. **浏览器降级** — 桌面 CLI 不可用时生成 diagrams.net URL,导出后自动启动桌面版编辑diff --git a/README.md b/README.mdindex 120976d..02d4369 100644--- a/README.md+++ b/README.md@@ -19,56 +19,7 @@## Comparison-### vs No Skill (native agent)--| Feature | Native agent | This skill |-|---------|-------------|------------|-| Generate draw.io XML | Yes — LLMs know the format | Yes |-| Self-check after export | No | Yes — reads PNG and auto-fixes 6 issue types |-| Iterative review loop | No — must manually re-prompt | Yes — targeted edits, 5-round safety valve |-| Proactive triggers | No — only when explicitly asked | Yes — auto-suggests when 3+ components |-| Layout guidelines | None — varies by run | Complexity-scaled spacing, routing corridors, hub placement |-| Grid alignment | No | Yes — all coordinates snap to 10px multiples |-| Diagram type presets | No | Yes — 6 presets (ERD, UML, Sequence, Architecture, ML/DL, Flowchart) |-| Animated connectors | No | Yes — `flowAnimation=1` for data-flow visualization |-| ML model diagrams | No | Yes — tensor shape annotations, layer-type color coding |-| Color palette | Random/inconsistent | 7-color semantic system (blue=services, green=DB, purple=auth...) |-| Edge routing rules | Basic | Pin entry/exit points, distribute connections, waypoint corridors |-| Container/group patterns | None | Swimlane, group, custom container with parent-child nesting |-| Embed diagram in export | No | Yes — `--embed-diagram` keeps exported PNG/SVG/PDF editable |-| Browser fallback | No | Yes — generates diagrams.net URL when CLI unavailable |-| Auto-launch desktop app | No | Yes — opens `.drawio` file after export for fine-tuning |--### vs Other draw.io Skills & Tools--| Feature | This skill | [jgraph/drawio-mcp](https://github.com/jgraph/drawio-mcp) (official, 1.3k⭐) | [bahayonghang/drawio-skills](https://github.com/bahayonghang/drawio-skills) (60⭐) | [GBSOSS/ai-drawio](https://github.com/GBSOSS/ai-drawio) (63⭐) |-|---------|-----------|---------------|-------------------|--------------|-| **Approach** | Pure SKILL.md | SKILL.md / MCP / Project | YAML DSL + MCP | Plugin + browser |-| **Dependencies** | draw.io desktop only | draw.io desktop | MCP server (`npx`) | Browser + local server |-| **Multi-agent** | ✅ 6 platforms | ❌ Claude Code only | ❌ Claude Code only | ❌ |-| **Self-check** | ✅ 2-round auto-fix | ❌ | ❌ | ❌ screenshot |-| **Iterative review** | ✅ 5-round loop | ❌ generate once | ✅ 3 workflows | ❌ |-| **Layout guidance** | ✅ complexity-scaled + grid snap | ✅ basic spacing | ❌ relies on MCP | ❌ |-| **Diagram presets** | ✅ 6 types (ERD, UML, Seq, Arch, ML, Flow) | ❌ | ❌ | ❌ |-| **Animated edges** | ✅ `flowAnimation=1` | ❌ | ❌ | ❌ |-| **ML/DL diagrams** | ✅ tensor shapes, layer colors | ❌ | ❌ | ❌ |-| **Color system** | ✅ 7-color semantic | ❌ | ✅ 5 themes | ❌ |-| **Container/group** | ✅ swimlane + group | ✅ detailed | ❌ | ❌ |-| **Embed diagram** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ |-| **Edge routing** | ✅ corridors + waypoints | ✅ arrowhead rules | ❌ | ❌ |-| **Browser fallback** | ✅ diagrams.net URL | ❌ | ❌ | ❌ |-| **Auto-launch** | ✅ opens desktop app | ❌ | ❌ | ❌ |-| **Cloud icons** | AWS basic | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ |-| **Zero-config** | ✅ copy skills/drawio-skill/ | ✅ | ❌ needs `npx` | ❌ needs plugin install |--### Key advantages--1. **Self-check + iterative loop** — the only pure-SKILL.md solution that reads its own output and auto-fixes before showing the user, then supports multi-round refinement-2. **6 diagram type presets** — ERD, UML Class, Sequence, Architecture, ML/Deep Learning, Flowchart — each with preset shapes, styles, and layout conventions-3. **ML/DL model diagrams** — tensor shape annotations, layer-type color coding, encoder/decoder swimlanes — built for academic papers-4. **Multi-agent, zero-config** — works across 6 platforms with just the `skills/drawio-skill/` directory + draw.io desktop. No MCP server, no Python, no Node.js, no browser-5. **Production-grade layout** — grid-aligned coordinates, complexity-scaled spacing, routing corridors, hub-center strategy, animated connectors-6. **Browser fallback** — generates diagrams.net URLs when the desktop CLI is unavailable, plus auto-launch for desktop editing+See [COMPARISON.md](COMPARISON.md) for side-by-side tables vs. native agents and vs. other draw.io skills/tools (jgraph/drawio-mcp, bahayonghang/drawio-skills, GBSOSS/ai-drawio), plus the key-advantages summary.## Supported diagram types@@ -96,20 +47,6 @@ Two steps — install the draw.io CLI first, then drop the skill into your host:See [USAGE.md](USAGE.md) for natural-language prompts, a microservices walkthrough, and topology demos (star / layered / ring).-## Files--- `skills/drawio-skill/SKILL.md` — **the only required file**. Loaded by all platforms as the skill instructions.-- `skills/drawio-skill/references/` — detail references (diagram types, style presets, extraction, troubleshooting)-- `skills/drawio-skill/scripts/` — bundled scripts (PNG repair, browser URL encoder)-- `skills/drawio-skill/styles/built-in/` — built-in style presets (`default.json`, `corporate.json`, `handdrawn.json`)-- `README.md` — this file (English, displayed on GitHub homepage)-- `README_CN.md` — Chinese documentation-- `assets/` — example diagrams and workflow images--> **Note:** Only `skills/drawio-skill/SKILL.md` and its `references/` + `scripts/` + `styles/` are needed for the skill to work. The `assets/` and README files are documentation only and can be safely deleted to save space.--> All example diagrams were generated by Claude Opus 4.6 with this skill.-## Style PresetsStyle presets let you capture and reuse a visual style across diagrams. When a preset is active, it replaces the built-in color palette, shape vocabulary, fonts, and edge defaults.@@ -156,15 +93,6 @@ The skill extracts colors, shapes, fonts, and edge style, renders a sample diagr| "delete `<name>`" | Deletes the user preset (prompts for confirmation) || "rename `<a>` to `<b>`" | Renames a user preset |-## Known Limitations--- **Command name varies by platform**: macOS Homebrew installs the command as `draw.io`; some Linux packages use `drawio`. The skill handles both, but verify which name works on your system with `draw.io --version` or `drawio --version`-- **Linux headless export**: Requires `xvfb` for display virtualization — without it, CLI export will fail on servers without a display-- **Browser fallback requires Python**: The `diagrams.net` URL generator uses `python3` for compression/encoding. If neither CLI nor Python is available, the skill generates `.drawio` XML only-- **Self-check requires vision**: The auto-fix step reads exported PNGs using the model's vision capability. Models without vision support skip this step-- **Cloud icons**: Currently supports basic AWS resource icons. GCP, Azure, and Kubernetes icon sets are not yet included-- **No source .drawio for microservices example**: The `microservices-example.png` in assets was generated in a session but the source `.drawio` was not preserved-## LicenseMITdiff --git a/README_CN.md b/README_CN.mdindex 5fcaf44..bc23fa0 100644--- a/README_CN.md+++ b/README_CN.md@@ -19,56 +19,7 @@## 对比-### 与无 skill 的原生智能体对比--| 功能 | 原生智能体 | 本 skill |-|------|-----------|---------|-| 生成 draw.io XML | 是 — LLM 本身了解格式 | 是 |-| 导出后自检 | 否 | 是 — 读取 PNG 自动修复 6 类问题 |-| 迭代反馈循环 | 否 — 需手动重新提问 | 是 — 定向编辑,5 轮安全阀 |-| 主动触发 | 否 — 仅在明确要求时 | 是 — 3+ 组件时自动建议画图 |-| 布局规范 | 无 — 每次结果不一致 | 按复杂度分级间距、路由走廊、hub 居中策略 |-| 网格对齐 | 否 | 是 — 所有坐标对齐到 10px 倍数 |-| 图表类型预设 | 否 | 是 — 6 种预设(ERD、UML、序列图、架构图、ML/DL、流程图) |-| 动画连接线 | 否 | 是 — `flowAnimation=1` 数据流可视化 |-| ML/DL 模型图 | 否 | 是 — 张量形状标注、层类型配色 |-| 配色方案 | 随机/不一致 | 7 色语义系统(蓝=服务、绿=数据库、紫=安全…) |-| 连线路由规则 | 基础 | 锚点分配、连接分布、走廊绕行 |-| 容器/分组 | 无 | Swimlane、Group、自定义容器 + 父子嵌套 |-| 嵌入式导出 | 否 | 是 — `--embed-diagram` 保持导出文件可编辑 |-| 浏览器降级 | 否 | 是 — CLI 不可用时生成 diagrams.net URL |-| 自动启动桌面版 | 否 | 是 — 导出后自动打开 `.drawio` 文件精修 |--### 与其他 draw.io Skills / 工具对比--| 功能 | 本 skill | [jgraph/drawio-mcp](https://github.com/jgraph/drawio-mcp)(官方,1.3k⭐) | [bahayonghang/drawio-skills](https://github.com/bahayonghang/drawio-skills)(60⭐) | [GBSOSS/ai-drawio](https://github.com/GBSOSS/ai-drawio)(63⭐) |-|---------|-----------|---------------|-------------------|--------------|-| **方式** | 纯 SKILL.md | SKILL.md / MCP / Project | YAML DSL + MCP | 插件 + 浏览器 |-| **依赖** | 仅 draw.io 桌面版 | draw.io 桌面版 | MCP 服务(`npx`) | 浏览器 + 本地服务 |-| **多智能体** | ✅ 6 个平台 | ❌ 仅 Claude Code | ❌ 仅 Claude Code | ❌ |-| **自检** | ✅ 2 轮自动修复 | ❌ | ❌ | ❌ 截图 |-| **迭代审查** | ✅ 5 轮循环 | ❌ 一次生成 | ✅ 3 种工作流 | ❌ |-| **布局指南** | ✅ 按复杂度分级 + 网格对齐 | ✅ 基础间距 | ❌ 依赖 MCP | ❌ |-| **图表预设** | ✅ 6 种(ERD、UML、序列、架构、ML、流程) | ❌ | ❌ | ❌ |-| **动画连线** | ✅ `flowAnimation=1` | ❌ | ❌ | ❌ |-| **ML/DL 图** | ✅ 张量标注、层配色 | ❌ | ❌ | ❌ |-| **配色系统** | ✅ 7 色语义 | ❌ | ✅ 5 种主题 | ❌ |-| **容器/分组** | ✅ swimlane + group | ✅ 详细 | ❌ | ❌ |-| **嵌入式导出** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ |-| **连线路由** | ✅ 走廊 + waypoints | ✅ 箭头间距规则 | ❌ | ❌ |-| **浏览器降级** | ✅ diagrams.net URL | ❌ | ❌ | ❌ |-| **自动启动** | ✅ 打开桌面版 | ❌ | ❌ | ❌ |-| **云图标** | AWS 基础 | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ |-| **零配置** | ✅ 复制 skills/drawio-skill/ | ✅ | ❌ 需要 `npx` | ❌ 需安装插件 |--### 核心优势--1. **自检 + 迭代循环** — 唯一纯 SKILL.md 方案中能自动读取输出、修复问题、支持多轮优化的-2. **6 种图表类型预设** — ERD、UML 类图、序列图、架构图、ML/深度学习、流程图 — 每种都有预设形状、样式和布局规范-3. **ML/DL 模型图** — 张量形状标注、层类型配色、编码器/解码器泳道 — 专为学术论文打造-4. **多智能体、零配置** — 跨 6 个平台运行,仅需 `skills/drawio-skill/` 目录 + draw.io 桌面版,无需 MCP、Python、Node.js、浏览器-5. **专业级布局** — 网格对齐坐标、按复杂度分级间距、路由走廊、hub 居中策略、动画连接线-6. **浏览器降级** — 桌面 CLI 不可用时生成 diagrams.net URL,导出后自动启动桌面版编辑+参见 [COMPARISON_CN.md](COMPARISON_CN.md) —— 与原生智能体、其他 draw.io skills/工具(jgraph/drawio-mcp、bahayonghang/drawio-skills、GBSOSS/ai-drawio)的对照表,以及核心优势小结。## 支持的图表类型@@ -96,20 +47,6 @@参见 [USAGE_CN.md](USAGE_CN.md) —— 包含自然语言提示词、微服务示例,以及多种拓扑演示(星形 / 分层 / 环形)。-## 文件说明--- `skills/drawio-skill/SKILL.md` — **唯一必需的文件**,所有平台加载的 skill 指令-- `skills/drawio-skill/references/` — 详细参考(图表类型、样式预设、提取算法、故障排除)-- `skills/drawio-skill/scripts/` — 内置脚本(PNG 修复、浏览器 URL 编码器)-- `skills/drawio-skill/styles/built-in/` — 内置样式预设(`default.json`、`corporate.json`、`handdrawn.json`)-- `README.md` — 英文说明(GitHub 首页显示)-- `README_CN.md` — 本文件(中文)-- `assets/` — 示例图表和工作流图片--> **提示:** 仅 `skills/drawio-skill/SKILL.md` 及其 `references/` + `scripts/` + `styles/` 为 skill 运行所必需。`assets/` 和 README 文件仅为文档用途,可以安全删除以节省空间。--> 所有示例图表均由 Claude Opus 4.6 配合本 skill 生成。-## 样式预设样式预设让你捕获并复用视觉风格,跨多张图表保持一致。激活预设后,它会替代内置的配色、形状词汇、字体和连线默认值。@@ -156,15 +93,6 @@ Skill 会自动提取配色、形状、字体和连线风格,渲染样例图| "删除 `<name>`" | 删除用户预设(会请求确认) || "把 `<a>` 重命名为 `<b>`" | 重命名用户预设 |-## 已知限制--- **命令名因平台而异**:macOS Homebrew 安装的命令是 `draw.io`,部分 Linux 包使用 `drawio`。本 skill 兼容两者,请用 `draw.io --version` 或 `drawio --version` 确认你的系统使用哪个-- **Linux 无头导出**:需要 `xvfb` 进行显示虚拟化 — 没有显示器的服务器上 CLI 导出会失败-- **浏览器降级需要 Python**:`diagrams.net` URL 生成器使用 `python3` 进行压缩/编码。如果 CLI 和 Python 都不可用,skill 仅生成 `.drawio` XML 文件-- **自检需要视觉能力**:自动修复步骤需要模型的视觉能力来读取导出的 PNG。不支持视觉的模型会跳过此步骤-- **云图标**:目前支持基础 AWS 资源图标。GCP、Azure 和 Kubernetes 图标集尚未包含-- **微服务示例缺少源文件**:`assets/` 中的 `microservices-example.png` 在会话中生成,但源 `.drawio` 文件未保留-## 开源协议MIT