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
Move comparison tables to top of READMEs and remove ekusiadadus
Agents365-ai5b35e4ab1948
diff --git a/README.md b/README.mdindex 8d7e220..3c62176 100644--- a/README.md+++ b/README.md@@ -10,6 +10,47 @@- 迭代设计:预览、获取反馈、反复优化直到图表满意为止- 当图表有助于解释复杂系统时自动触发+## 对比++### 与原生 Claude Code(无 skill)对比++| 功能 | 原生 Claude Code | 本 skill |+|------|-----------------|---------|+| 生成 draw.io XML | 是 — Claude 本身了解格式 | 是 |+| 导出后自检 | 否 | 是 — 读取 PNG 自动修复 6 类问题 |+| 迭代反馈循环 | 否 — 需手动重新提问 | 是 — 定向编辑,5 轮安全阀 |+| 主动触发 | 否 — 仅在明确要求时 | 是 — 3+ 组件时自动建议画图 |+| 布局规范 | 无 — 每次结果不一致 | 按复杂度分级间距、路由走廊、hub 居中策略 |+| 配色方案 | 随机/不一致 | 7 色语义系统(蓝=服务、绿=数据库、紫=安全…) |+| 连线路由规则 | 基础 | 锚点分配、连接分布、走廊绕行 |+| 容器/分组 | 无 | Swimlane、Group、自定义容器 + 父子嵌套 |+| 嵌入式导出 | 否 | 是 — `--embed-diagram` 保持导出文件可编辑 |+| 中文支持 | 否 | 是 — "画图"、"架构图"、"流程图" |++### 与其他 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`) | 浏览器 + 本地服务 |+| **自检** | ✅ 2 轮自动修复 | ❌ | ❌ | ❌ 截图 |+| **迭代审查** | ✅ 5 轮循环 | ❌ 一次生成 | ✅ 3 种工作流 | ❌ |+| **布局指南** | ✅ 按复杂度分级 | ✅ 基础间距 | ❌ 依赖 MCP | ❌ |+| **配色系统** | ✅ 7 色语义 | ❌ | ✅ 5 种主题 | ❌ |+| **容器/分组** | ✅ swimlane + group | ✅ 详细 | ❌ | ❌ |+| **嵌入式导出** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ |+| **连线路由** | ✅ 走廊 + waypoints | ✅ 箭头间距规则 | ❌ | ❌ |+| **中文支持** | ✅ 触发词 + 文档 | ❌ | ❌ | ✅ |+| **云图标** | AWS 基础 | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ |+| **零配置** | ✅ 复制 SKILL.md | ✅ | ❌ 需要 `npx` | ❌ 需安装插件 |++### 本 skill 核心优势++1. **自检 + 迭代循环** — 唯一纯 SKILL.md 方案中能自动读取输出、修复问题、支持多轮优化的+2. **零配置、零依赖** — 仅需一个 `SKILL.md` 文件 + draw.io 桌面版,无需 MCP、Python、Node.js、浏览器+3. **专业级布局** — 按复杂度分级间距、路由走廊、hub 居中、连接分布规则+4. **完整中文支持** — 主动触发词("画图"、"架构图")、双语文档+## 支持的图表类型- **架构图**:微服务架构、云架构(AWS/GCP/Azure)、网络拓扑、部署架构@@ -114,48 +155,6 @@ CI/CD 流水线,包含闭合回路和 2 个分支。线条沿矩形外围流-## 对比--### 与原生 Claude Code(无 skill)对比--| 功能 | 原生 Claude Code | 本 skill |-|------|-----------------|---------|-| 生成 draw.io XML | 是 — Claude 本身了解格式 | 是 |-| 导出后自检 | 否 | 是 — 读取 PNG 自动修复 6 类问题 |-| 迭代反馈循环 | 否 — 需手动重新提问 | 是 — 定向编辑,5 轮安全阀 |-| 主动触发 | 否 — 仅在明确要求时 | 是 — 3+ 组件时自动建议画图 |-| 布局规范 | 无 — 每次结果不一致 | 按复杂度分级间距、路由走廊、hub 居中策略 |-| 配色方案 | 随机/不一致 | 7 色语义系统(蓝=服务、绿=数据库、紫=安全…) |-| 连线路由规则 | 基础 | 锚点分配、连接分布、走廊绕行 |-| 容器/分组 | 无 | Swimlane、Group、自定义容器 + 父子嵌套 |-| 嵌入式导出 | 否 | 是 — `--embed-diagram` 保持导出文件可编辑 |-| 中文支持 | 否 | 是 — "画图"、"架构图"、"流程图" |--### 与其他 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⭐) | [ekusiadadus/draw-mcp](https://github.com/ekusiadadus/draw-mcp)(24⭐) |-|---------|-----------|---------------|-------------------|--------------|----------------|-| **方式** | 纯 SKILL.md | SKILL.md / MCP / Project | YAML DSL + MCP | 插件 + 浏览器 | SKILL.md + 验证器 |-| **依赖** | 仅 draw.io 桌面版 | draw.io 桌面版 | MCP 服务(`npx`) | 浏览器 + 本地服务 | Python CLI |-| **自检** | ✅ 2 轮自动修复 | ❌ | ❌ | ❌ 截图 | ❌ |-| **迭代审查** | ✅ 5 轮循环 | ❌ 一次生成 | ✅ 3 种工作流 | ❌ | ❌ |-| **布局指南** | ✅ 按复杂度分级 | ✅ 基础间距 | ❌ 依赖 MCP | ❌ | ❌ |-| **配色系统** | ✅ 7 色语义 | ❌ | ✅ 5 种主题 | ❌ | ❌ |-| **容器/分组** | ✅ swimlane + group | ✅ 详细 | ❌ | ❌ | ❌ |-| **嵌入式导出** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ | ❌ |-| **连线路由** | ✅ 走廊 + waypoints | ✅ 箭头间距规则 | ❌ | ❌ | ✅ 验证 |-| **中文支持** | ✅ 触发词 + 文档 | ❌ | ❌ | ✅ | ❌ |-| **XML 验证** | 自检(视觉) | ❌ | ❌ | ❌ | ✅ 31 条规则、CI 集成 |-| **云图标** | AWS 基础 | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ | ❌ |-| **零配置** | ✅ 复制 SKILL.md | ✅ | ❌ 需要 `npx` | ❌ 需安装插件 | ❌ 需要 Python |--### 本 skill 核心优势--1. **自检 + 迭代循环** — 唯一纯 SKILL.md 方案中能自动读取输出、修复问题、支持多轮优化的-2. **零配置、零依赖** — 仅需一个 `SKILL.md` 文件 + draw.io 桌面版,无需 MCP、Python、Node.js、浏览器-3. **专业级布局** — 按复杂度分级间距、路由走廊、hub 居中、连接分布规则-4. **完整中文支持** — 主动触发词("画图"、"架构图")、双语文档-## 文件说明- `SKILL.md` — **唯一必需的文件**,Claude Code 加载的 skill 指令。diff --git a/README_EN.md b/README_EN.mdindex 0c4d712..8daff9a 100644--- a/README_EN.md+++ b/README_EN.md@@ -10,6 +10,47 @@- Iterative design: preview, get feedback, and refine diagrams until they look right- Triggers automatically when diagrams would help explain complex systems+## Comparison++### vs Native Claude Code (no skill)++| Feature | Native Claude Code | This skill |+|---------|-------------------|------------|+| Generate draw.io XML | Yes — Claude knows 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 |+| 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 |+| Chinese language triggers | No | Yes — "画图", "架构图", "流程图" |++### 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 |+| **Self-check** | ✅ 2-round auto-fix | ❌ | ❌ | ❌ screenshot |+| **Iterative review** | ✅ 5-round loop | ❌ generate once | ✅ 3 workflows | ❌ |+| **Layout guidance** | ✅ complexity-scaled | ✅ basic spacing | ❌ relies on MCP | ❌ |+| **Color system** | ✅ 7-color semantic | ❌ | ✅ 5 themes | ❌ |+| **Container/group** | ✅ swimlane + group | ✅ detailed | ❌ | ❌ |+| **Embed diagram** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ |+| **Edge routing** | ✅ corridors + waypoints | ✅ arrowhead rules | ❌ | ❌ |+| **Chinese support** | ✅ triggers + docs | ❌ | ❌ | ✅ |+| **Cloud icons** | AWS basic | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ |+| **Zero-config** | ✅ copy SKILL.md | ✅ | ❌ needs `npx` | ❌ needs plugin install |++### Key advantages of this skill++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. **Zero-config, zero-dependency** — just one `SKILL.md` file + draw.io desktop. No MCP server, no Python, no Node.js, no browser+3. **Production-grade layout** — complexity-scaled spacing, routing corridors, hub-center strategy, connection distribution rules+4. **Full Chinese support** — proactive triggers ("画图", "架构图"), bilingual documentation+## Supported diagram types- **Architecture**: microservices, cloud (AWS/GCP/Azure), network topology, deployment@@ -113,48 +154,6 @@ CI/CD pipeline with a closed loop and 2 spur branches. Edges flow along the peri-## Comparison--### vs Native Claude Code (no skill)--| Feature | Native Claude Code | This skill |-|---------|-------------------|------------|-| Generate draw.io XML | Yes — Claude knows 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 |-| 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 |-| Chinese language triggers | No | Yes — "画图", "架构图", "流程图" |--### 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⭐) | [ekusiadadus/draw-mcp](https://github.com/ekusiadadus/draw-mcp) (24⭐) |-|---------|-----------|---------------|-------------------|--------------|----------------|-| **Approach** | Pure SKILL.md | SKILL.md / MCP / Project | YAML DSL + MCP | Plugin + browser | SKILL.md + validator |-| **Dependencies** | draw.io desktop only | draw.io desktop | MCP server (`npx`) | Browser + local server | Python CLI |-| **Self-check** | ✅ 2-round auto-fix | ❌ | ❌ | ❌ screenshot | ❌ |-| **Iterative review** | ✅ 5-round loop | ❌ generate once | ✅ 3 workflows | ❌ | ❌ |-| **Layout guidance** | ✅ complexity-scaled | ✅ basic spacing | ❌ relies on MCP | ❌ | ❌ |-| **Color system** | ✅ 7-color semantic | ❌ | ✅ 5 themes | ❌ | ❌ |-| **Container/group** | ✅ swimlane + group | ✅ detailed | ❌ | ❌ | ❌ |-| **Embed diagram** | ✅ `--embed-diagram` | ✅ | ❌ | ❌ | ❌ |-| **Edge routing** | ✅ corridors + waypoints | ✅ arrowhead rules | ❌ | ❌ | ✅ validation |-| **Chinese support** | ✅ triggers + docs | ❌ | ❌ | ✅ | ❌ |-| **XML validation** | Self-check (visual) | ❌ | ❌ | ❌ | ✅ 31 rules, CI hooks |-| **Cloud icons** | AWS basic | ❌ | ✅ AWS/GCP/Azure/K8s | ❌ | ❌ |-| **Zero-config** | ✅ copy SKILL.md | ✅ | ❌ needs `npx` | ❌ needs plugin install | ❌ needs Python |--### Key advantages of this skill--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. **Zero-config, zero-dependency** — just one `SKILL.md` file + draw.io desktop. No MCP server, no Python, no Node.js, no browser-3. **Production-grade layout** — complexity-scaled spacing, routing corridors, hub-center strategy, connection distribution rules-4. **Full Chinese support** — proactive triggers ("画图", "架构图"), bilingual documentation-## Files- `SKILL.md` — **the only required file**. This is what Claude Code loads as the skill instructions.