drawio-skill
把文字描述直接转为可复用的 draw.io 文件,方便迭代与共享。
需本地安装并调用 draw.io 桌面应用的 CLI,依赖本地二进制。
生成 .drawio XML 并通过本地 draw.io CLI 导出 PNG/SVG/PDF 等格式。
生成可在 draw.io 打开编辑的 .drawio XML,并能通过本地 draw.io CLI 一键导出 PNG、SVG、PDF、JPG 等图片格式。适合要画架构图、流程图、UML、ER 图、泳道图或复杂系统图时使用,尤其需要自定义样式和可编辑输出的场景。优势是导出的文件可以包含完整 XML(可恢复为可编辑图),无需浏览器自动化,便于反复修改和高质量导出。
▸ 展开 SKILL.md 英文原文
Use when the user requests diagrams, flowcharts, architecture diagrams, ER diagrams, UML / sequence / class diagrams, SysML / MBSE diagrams (block definition, internal block, requirement, parametric), BPMN business process diagrams, swimlane / cross-functional flowcharts, network topology, cloud architecture from Terraform or Kubernetes manifests, ML/DL model figures (Transformer/CNN/LSTM), mind maps, or any visualization. Also use proactively when explaining systems with 3+ components, complex data flows, or relationships that benefit from visual representation. Best suited when the diagram needs custom styling, rich shape vocabulary, swimlanes, or exportable images (PNG/SVG/PDF/JPG). Generates .drawio XML and exports locally via the native draw.io desktop CLI.
帮我安装这个 skill:https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/skills/drawio-skill/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/skills/drawio-skill/SKILL.md"# Draw.io Diagrams ## Overview Generate `.drawio` XML files and export to PNG/SVG/PDF/JPG locally using the native draw.io desktop app CLI. **Supported formats:** PNG, SVG, PDF, JPG — no browser automation needed. PNG, SVG, and PDF exports support `--embed-diagram` (`-e`) — the exported file contains the full diagram XML, so opening it in draw.io recovers the editable diagram. Use double extensions (`name.drawio.png`) to signal embedded XML. ## When to use / when NOT to use **Use this skill for:** polished, precise diagrams (architecture, network, strict UML, ERD), anything needing solid opaque fills, 10,000+ stock/branded shapes, swimlanes, or custom geometry, exported as editable PNG