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.

Install it, pinned
mdr add kartikpanel2008/best-skills/drawio-diagram@git:20260305.d368ccd

Pins 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 开始递增
- ✅ 特殊字符必须转义:`&` → `&amp;`,`<` → `&lt;`,`>` → `&gt;`

### 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

The exact contents, by fingerprint
mdr add kartikpanel2008/best-skills/drawio-diagram@sha256:c33d197db1bd174f

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qvbwvkmoben4gyzj.svg)](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.

versioncommittedcommitsizeaudit
git:20260305.d368ccd latest2026-03-05 d368ccd 2,845 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from kartikpanel2008/best-skills

codegen-diagram SKILL.md skill
kartikpanel2008/best-skills · skills/codegen-diagram/SKILL.md · 基于当前项目/代码生成 Draw.io 图表,支持技术栈图、系统架构图、数据结构图、E-R 图四种类型。输出符合 Draw.io 语法的 .drawio 文件(mxGraph XML),可直接导入 Draw.io…
git:20260305.d368ccd · audit A · 2 stars
codegen-doc SKILL.md skill
kartikpanel2008/best-skills · skills/codegen-doc/SKILL.md · 基于当前项目/代码生成各类文档,支持论文章节、项目梳理、重点问题、简历项目描述四种类型。当用户提到生成论文章节、项目梳理、技术难点、简历项目描述时使用。
git:20260305.d368ccd · audit A · 2 stars
dev-workflow SKILL.md skill
kartikpanel2008/best-skills · skills/dev-workflow/SKILL.md · 开发流程五步法。支持需求理解、方案设计、代码实现、Bug 修复、代码审查。当用户提到「需求分析」「方案设计」「代码实现」「代码审查」「理解需求」「技术设计」「开始写代码」「Review」「检查代码」「bug」「报错」「崩溃」「异常」「出错了…
git:20260305.b257ccc · audit A · 2 stars
md-report-summary SKILL.md skill
kartikpanel2008/best-skills · skills/md-report-summary/SKILL.md · 生成高质量 Markdown 周报、工作汇报、总结、介绍等文档。无草稿时从 Web 搜索并总结;有草稿时结合草稿整理、润色、补充。当用户提到周报、工作汇报、总结、介绍、述职、复盘时使用。
git:20260308.caa72a9 · audit A · 2 stars
paper-write SKILL.md skill
kartikpanel2008/best-skills · skills/paper-write/SKILL.md · 本科与硕士学位论文全流程撰写辅助。支持大纲审核(理工科/文科)、结构仿写(通用/实验/绪论/摘要;文科含文献综述、案例分析、对策建议、文科绪论与摘要)、参考文献获取、融合、润色(含实验章节/文科章节)、缩写、扩写、防…
git:20260308.caa72a9 · audit A · 2 stars
pptgen-drawio SKILL.md skill
kartikpanel2008/best-skills · skills/pptgen-drawio/SKILL.md · 根据论文或汇报内容生成多页 Draw.io 格式 PPT,支持论文答辩与通用汇报两种模式,自动导出为 .pptx。当用户提到论文答辩 PPT、答辩幻灯片、通用 PPT、汇报 PPT、根据模板生成 PPT、drawio2pptx 时使用。
git:20260306.be44654 · audit A · 2 stars
create-skill SKILL.md skill
kartikpanel2008/best-skills · skills/skill-create/SKILL.md · Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a…
git:20260305.d368ccd · audit A · 2 stars
skill-prompt-convert SKILL.md skill
kartikpanel2008/best-skills · skills/skill-prompt-convert/SKILL.md · 在 Skill(SKILL.md)与 Prompt(聊天框指令)两种格式之间相互转换。支持 Skill→Prompt 与 Prompt→Skill 双向转换,保持核心信息零丢失。当用户提到 Skill 转 Prompt、Prompt 转…
git:20260305.d368ccd · audit A · 2 stars
wechat-article-writer SKILL.md skill
kartikpanel2008/best-skills · skills/wechat-article-writer/SKILL.md · 公众号/自媒体全流程。根据用户表述自动匹配:撰写文章、封面图、正文插图、风格提取。支持多种写作风格。当用户提到写公众号、技术博客、公众号封面、正文插图、步骤图、演示图、流程示意、分析写作风格、克隆文风、模仿爆款、提取风格时使用。详见…
git:20260305.d368ccd · audit A · 2 stars

Every file in kartikpanel2008/best-skills

Browse by kind, by grade A, or by owner.