codegen-diagram SKILL.md skillA

codegen-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/codegen-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/codegen-diagram/SKILL.md
Versions recorded
1
Latest version
git:20260305.d368ccd, committed Mar 5, 2026
Size
1,986 bytes
Repository stars
2
License
Apache-2.0

基于当前项目/代码生成 Draw.io 图表,支持技术栈图、系统架构图、数据结构图、E-R 图四种类型。输出符合 Draw.io 语法的 .drawio 文件(mxGraph XML),可直接导入 Draw.io 编辑。当用户提到技术栈、系统架构、数据结构、E-R 图时使用。.

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

# 代码生成·项目图表

本 Skill 指导 Agent 基于**当前项目/代码仓库**生成 Draw.io 格式图表,支持四种类型:技术栈图、系统架构图、数据结构图、E-R 图。

## Step 0:任务识别

| 用户表述 / 关键词         | 执行                            |
| ------------------ | ----------------------------- |
| 技术栈、整体技术栈、组件选型     | `reference/tech-stack.md`     |
| 系统架构、分层结构、调用流程     | `reference/system-arch.md`    |
| 数据结构图、表结构图、实体字段关系图 | `reference/data-structure.md` |
| E-R 图、实体关系图、数据库关系图 | `reference/er-diagram.md`     |

## 使用时机

- 用户需要根据当前项目画技术栈图、系统架构图、数据结构图或 E-R 图
- 用户提到「根据当前项目」「根据代码」「画我们系统的……」

## 通用规范(四种图表共用)

### Draw.io 基础

- 使用 **mxGraphModel**,画布背景 `#FFFFFF`
- 仅使用 Draw.io 内置形状,确保可立即打开与编辑
- 节点标签简洁,符合技术文档表达习惯

### 色彩与字体

| 用途     | 颜色值     |
| ------ | ------- |
| 主色调    | #3366CC |
| 副色调    | #7FBFFF |
| 强调色    | #FF9966 |
| 深色背景字体 | #FFFFFF |
| 浅色背景字体 | #333333 |
| 画布背景   | #FFFFFF |

- 字体:Helvetica,字号 11–13
- 连接线:`endArrow=classicBlockThin` 或 `blockThin`

### 输出要求

1. 图表总览(1–2 段文字)
2. 完整 mxGraph XML(可保存为 .drawio)
3. 导入与使用说明
4. 图题与论文引用建议

Read the whole file at its exact version.

How to install

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

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_d6y4mnl3oqyver25.svg)](https://markdownregistry.com/a/art_d6y4mnl3oqyver25)

2 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 1,986 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 (1986 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_d6y4mnl3oqyver25
GET https://markdownregistry.com/api/v1/resolve?ref=kartikpanel2008/best-skills/codegen-diagram
GET https://markdownregistry.com/api/v1/blob/dddd1fee87d65ea782f800cceafe9c95c9013c78b67cefaed22701830bcfbbc1

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