drawio-skill

仓库创建 2026年3月4日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由

把文字描述直接转为可复用的 draw.io 文件,方便迭代与共享。

▸ 风险提示

需本地安装并调用 draw.io 桌面应用的 CLI,依赖本地二进制。

这个 Skill 做什么

生成 .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.

自动化集成draw.io图表生成架构图导出通用
6.7k
Stars
514
Forks
1
仓库内 Skill
+1.3k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/skills/drawio-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Agents365-ai/drawio-skill/main/skills/drawio-skill/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有