drawio-diagram SKILL.md skillA
drawio-diagram from kartikpanel2008/best-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kartikpanel2008/best-skills/drawio-diagram@git:20260305.d368ccdPins git:20260305.d368ccd in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kartikpanel2008/best-skills
- Path
skills/drawio-diagram/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260305.d368ccd, committed Mar 5, 2026
- Size
- 2,845 bytes
- Repository stars
- 2
- License
- Apache-2.0
为深度学习模型、网络架构、算法流程等生成标准 Draw.io (.drawio) 格式的可视化图表;支持从零生成与风格迁移两种模式。从零生成:模型架构图、流程图、感受野示意图等;风格迁移:参考图 + 内容描述/项目 → 按参考图风格生成新图。确保 XML 格式正确,可直接在 Draw.io 中打开编辑。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Draw.io 图表
本 Skill 指导 Agent 生成**标准的 Draw.io 格式图表**(.drawio 文件),支持两种模式:**从零生成**(模型架构、算法流程等)与**风格迁移**(参考图 + 内容 → 按参考图风格生成新图)。
## Step 0:任务识别
| 条件 | 执行 |
|------|------|
| 用户提供**参考图**,且希望「按这张图的风格」画新图 | 执行 `reference/style-migration.md` |
| 其他情况(从零生成) | 执行 `reference/generation.md` |
## 使用时机
**从零生成:**
- 用户需要为深度学习模型(如 Transformer、CNN、RNN 等)生成架构图
- 用户需要绘制算法流程图、数据流图、系统架构图
- 用户需要可视化特定概念(如感受野、注意力机制、特征提取过程等)
- 用户提到「画个图」「生成架构图」「可视化模型结构」「绘制流程图」等需求
**风格迁移:**
- 用户提供参考图,希望「按这个风格画」「照着这个排版/配色画」
## 通用规范(两种模式共用)
### 1. XML 格式严格性
- ✅ 所有标签必须正确闭合:`<mxCell>` 对应 `</mxCell>`,绝不能写成 `</mCell>`
- ✅ 使用 `vertex="1"` 标记节点,`edge="1"` 标记连线
- ✅ 每个元素必须有唯一 `id`,从 0 开始递增
- ✅ 特殊字符必须转义:`&` → `&`,`<` → `<`,`>` → `>`
### 2. 标准文件结构
```xml
<mxfile host="app.diagrams.net">
<diagram name="图表名称" id="图表id">
<mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="宽度" pageHeight="高度" background="#F5F5DC">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- 所有图形元素从 id="2" 开始 -->
</root>
</mxGraphModel>
</diagram>
</mxfile>
```
### 3. 常用样式
…Read the whole file at its exact version.
How to install
mdr add kartikpanel2008/best-skills/drawio-diagram@sha256:c33d197db1bd174fThe line at the top of this page pins the label git:20260305.d368ccd, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_qvbwvkmoben4gyzj)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Mar 5, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2845 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kartikpanel2008/best-skills · 2 stars · license Apache-2.0 · pushed 2026-10-13 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qvbwvkmoben4gyzj GET https://markdownregistry.com/api/v1/resolve?ref=kartikpanel2008/best-skills/drawio-diagram GET https://markdownregistry.com/api/v1/blob/c33d197db1bd174f7702d690c69cb3977591f31476906db12b70125d87b5fbcc
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.