drawio-diagram SKILL.md skillA

drawio-diagram from cjh-solver/mathmodeling-skills-arsenal is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cjh-solver/mathmodeling-skills-arsenal/drawio-diagram@git:20261022.3dfa9a5

Pins git:20261022.3dfa9a5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cjh-solver/mathmodeling-skills-arsenal
Path
skills/04-figures/drawio-diagram/SKILL.md
Versions recorded
1
Latest version
git:20261022.3dfa9a5, committed Oct 22, 2026
Size
4,152 bytes
Repository stars
15
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 文件),支持两种模式:**从零生成**(模型架构、算法流程等)与**风格迁移**(参考图 + 内容 → 按参考图风格生成新图)。

## Contest-Orchestrator Adapter

`contest-orchestrator` 只在用户明确要求 Draw.io 时调用本技能;默认的流程图和技术路线图走 `tech-route-maker`,数据图走 `modelviz`,机制/几何图走 `tikz-scientific-figures`。输入以项目工作区的任务卡、问题图、模型契约、符号表和来源证据为边界。

- 每个可见节点、连线、变量、标签和结论绑定来源定位;不得从参考图或对话中补造模型、结果、单位或引用。
- 返回 `status`、`active_mode`、`task_card`、`artifacts`、`evidence`、`checks`、`blockers`、`next_node` 节点包,`.drawio`、说明和检查报告只写项目工作区。
- XML 结构、来源、文字和编号检查必须执行;截图、渲染复核和 AI 视觉检查默认开启,检查间距、对齐、裁切、遮挡、层级、文字可读性和整体整洁度,用户肉眼检查作为最终补充。
- 图表、说明和节点包不得包含元话语、内部交流、调试、失败过程、旧版本或其他负回响。

## Step 0:任务识别

| 条件 | 执行 |
|------|------|
| 用户提供**参考图**,且希望「按这张图的风格」画新图 | 执行 `reference/style-migration.md` |
| 其他情况(从零生成) | 执行 `reference/generation.md` |

## 使用时机

**从零生成:**
- 用户需要为深度学习模型(如 Transformer、CNN、RNN 等)生成架构图
- 用户需要绘制算法流程图、数据流图、系统架构图
- 用户需要可视化特定概念(如感受野、注意力机制、特征提取过程等)
- 用户提到「画个图」「生成架构图」「可视化模型结构」「绘制流程图」等需求

**风格迁移:**
- 用户提供参考图,希望「按这个风格画」「照着这个排版/配色画」

## 通用规范(两种模式共用)

### 1. XML 格式严格性

- ✅ 所有标签必须正确闭合:`<mxCell>` 对应 `</mxCell>`,绝不能写成 `</mCell>`
- ✅ 使用 `vertex="1"` 标记节点,`edge="1"` 标记连线
- ✅ 每个元素必须有唯一 `id`,从 0 开始递增
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_dwaprt3j7rddc5wz/c80f07b0831be10494f34386b6ebdf51d19a41d36288edcc196d5990c927be92.json

Then /plugin install drawio-diagram@markdownregistry-dwaprt3j7rddc5wz in Claude Code. It installs git:20261022.3dfa9a5, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add cjh-solver/mathmodeling-skills-arsenal/drawio-diagram@sha256:c80f07b0831be104

The line at the top of this page pins the label git:20261022.3dfa9a5, 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_dwaprt3j7rddc5wz.svg)](https://markdownregistry.com/a/art_dwaprt3j7rddc5wz)

2 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in cjh-solver/mathmodeling-skills-arsenal/drawio-diagram since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of drawio-diagram from somewhere else? Ask it: where did my drawio-diagram come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Oct 22, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261022.3dfa9a5 latest2026-10-22 3dfa9a5 4,152 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

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 (4152 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

cjh-solver/mathmodeling-skills-arsenal · 15 stars · license Apache-2.0 · pushed 2026-11-15 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dwaprt3j7rddc5wz
GET https://markdownregistry.com/api/v1/resolve?ref=cjh-solver/mathmodeling-skills-arsenal/drawio-diagram
GET https://markdownregistry.com/api/v1/blob/c80f07b0831be10494f34386b6ebdf51d19a41d36288edcc196d5990c927be92

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 cjh-solver/mathmodeling-skills-arsenal

AGENTS.md AGENTS.md file
cjh-solver/mathmodeling-skills-arsenal · AGENTS.md
git:20261101.340e934 · audit A · 15 stars
AGENTS.md@skills/01-core/contest-orchestrator AGENTS.md file
cjh-solver/mathmodeling-skills-arsenal · skills/01-core/contest-orchestrator/AGENTS.md
git:20261022.3dfa9a5 · audit A · 15 stars
contest-orchestrator SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/01-core/contest-orchestrator/SKILL.md · 数学建模竞赛唯一主控流程:题目解析、选题与模型规划、baseline、求解、图表、论文、评审、交付门禁和 replay;支持 AUTO/COLLAB/LOCK 与主会话—fork 分支协作。
v4.19 · audit A · 15 stars
data-science-stack SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/02-modeling/data-science-stack/SKILL.md · 数学建模竞赛数据科学技能(C 类数据题、预测题及 MathorCup 大数据题):EDA、预处理与特征工程、统计推断、机器学习、时间序列、模型评估与调参。触发词:数据题、C题、MathorCup、EDA、数据预处理、特征工程、机器学习、回归…
v1.0 · audit A · 15 stars
heuristic-algorithms SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/02-modeling/heuristic-algorithms/SKILL.md · 数学建模竞赛启发式与数值算法库(A/B 类复杂优化题、机理建模题专用):遗传算法、模拟退火、粒子群、蒙特卡洛模拟、爬山/禁忌搜索、贪心、常微分方程数值求解。触发词:NP难、大规模优化、排产、路径、调度、选址、随机模拟、蒙特卡洛、排队、微分方…
v1.0 · audit A · 15 stars
math-model-selector SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/02-modeling/math-model-selector/SKILL.md · 数学建模竞赛「题型→模型」选择路由器(国赛/美赛/华数杯/电工杯/MathorCup)。按题型主类、数据规模、约束特征推荐模型框架与 Python…
v2.0 · audit A · 15 stars
pyomo SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/02-modeling/pyomo/SKILL.md · Python Optimization Modeling Objects. A high-level framework for formulating, solving, and analyzing optimization…
v6.10.0 · audit A · 15 stars
academic-writing SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/03-writing/academic-writing/SKILL.md · 数学建模论文的学术表达与结构质量控制主入口。调用本地化论文审阅规则, 只允许修改普通正文,并在交付前保护公式、引用、数字、三线表、图表编号和模型逻辑。 不负责模型建立、数据计算或竞赛交付门禁。
git:20261101.340e934 · audit A · 15 stars
CLAUDE.md@skills/03-writing/bzd-review-paper CLAUDE.md file
cjh-solver/mathmodeling-skills-arsenal · skills/03-writing/bzd-review-paper/CLAUDE.md
git:20261022.3dfa9a5 · audit A · 15 stars
bzd-review-paper SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/03-writing/bzd-review-paper/SKILL.md · Review mathematical modeling competition papers from a complete contest problem and a team's paper. Independently…
git:20261022.3dfa9a5 · audit A · 15 stars
mathmodel-latex-skill SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/03-writing/mathmodel-latex-skill/SKILL.md · Generate stable LaTeX mathematical-modeling paper projects for MCM/ICM, CUMCM and MathorCup. Use when creating…
git:20261101.340e934 · audit A · 15 stars
论文辅助 SKILL.md skill
cjh-solver/mathmodeling-skills-arsenal · skills/03-writing/论文辅助/SKILL.md · 数模论文节点审查助手,对论文G0-G6节点进行只读审查,检查符号完整性、元话语、负向回声、模型证据,输出结构化修改清单。
git:20261022.3dfa9a5 · audit A · 15 stars

Every file in cjh-solver/mathmodeling-skills-arsenal

Other files named drawio-diagram

drawio-diagram SKILL.md skill
kartikpanel2008/best-skills · skills/drawio-diagram/SKILL.md · 为深度学习模型、网络架构、算法流程等生成标准 Draw.io (.drawio) 格式的可视化图表;支持从零生成与风格迁移两种模式。从零生成:模型架构图、流程图、感受野示意图等;风格迁移:参考图 + 内容描述/项目 →…
git:20260305.d368ccd · audit A · 2 stars

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