Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
xstongxue avatar

Codegen Diagram

  • 129 installs
  • 2.5k repo stars
  • Updated July 19, 2026
  • xstongxue/best-skills

Use codegen-diagram to assist with backend

About

codegen-diagram is a developer tool for development projects. It helps with backend tasks.

  • codegen-diagram
  • Backend & APIs

Codegen Diagram by the numbers

  • 129 all-time installs (skills.sh)
  • +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #2,750 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/xstongxue/best-skills --skill codegen-diagram

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs129
repo stars2.5k
Last updatedJuly 19, 2026
Repositoryxstongxue/best-skills

What it does

Use codegen-diagram to assist with backend

Files

SKILL.mdMarkdownGitHub ↗

代码生成·项目图表

本 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=classicBlockThinblockThin

输出要求

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

Related skills

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.