jeecg-codegen SKILL.md skillB

jeecg-codegen from jeecgboot/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jeecgboot/skills/jeecg-codegen@git:20260605.10fcd31

Pins git:20260605.10fcd31 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
jeecgboot/skills
Path
jeecg-codegen/SKILL.md
Versions recorded
5
Latest version
git:20260605.10fcd31, committed Jun 5, 2026
First version recorded
Apr 22, 2026
Size
146,344 bytes
Repository stars
246
License
Apache-2.0

Use when user asks to generate JeecgBoot CRUD code, create a new module, add/modify fields on existing module, or says "代码生成", "生成代码", "创建模块", "新增功能", "建表", "加字段", "加一个字段", "增加字段", "新增字段", "修改字段", "删除字段", "generate code", "new entity", "add field".

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

# JeecgBoot 代码生成器

将自然语言需求转换为 JeecgBoot 全套 CRUD 代码(后端 Java + 前端 Vue3 + 菜单权限 SQL),并支持对已生成模块的增量字段修改。

## 主数据复用规则

> **重要:** 生成代码涉及的字典、角色、用户、部门等主数据,必须遵循"先查后建"原则。
> 使用 `jeecg-system` skill 的 `system_utils.py` 查询和管理主数据。
> 详见 `../jeecg-system/SKILL.md`。

### ⛔ 字典创建必须写入 Flyway SQL,禁止直接走 API 创建

> **代码生成场景下,新建字典的"建"必须落到 Flyway SQL 文件,禁止调用 `find_or_create_dict()` / `create_dict()` 等 API 在远程服务器上直接创建。**
>
> **Why:** 代码生成产物(Entity、前端、Flyway SQL)会通过 git 提交并部署到测试/预发/生产环境。如果字典只通过 API 在当前开发环境创建,**部署到线上时线上数据库没有该字典**,前端下拉框会空白、列表 `_dictText` 翻译失效。Flyway SQL 跟着代码走,所有环境拉到代码后执行迁移都会自动建上,是唯一能保证环境一致性的方式。
>
> **How to apply:**
> - 查询字典 → **走 API 或 MySQL**(`jeecg-system` skill 的 `query-dicts` / `query-dict`),用于"先查后建"中的"查"
> - 创建字典 → **写入当次的 Flyway SQL 文件**(`sys_dict` INSERT + `sys_dict_item` 批量 INSERT),用于"先查后建"中的"建"
> - **禁用**:`find_or_create_dict()`、`create_dict()` 等 system_utils 中的字典创建函数(在代码生成 skill 中不能调用)
> - 同理适用于:分类字典 `sys_category` 节点新建 — 也必须写入 Flyway SQL,禁止走 `/sys/category/add` API
>
> **例外:** 角色、审批角色、用户绑定关系等"运行时主数据",由于跨业务可复用,可走 API 创建(按 jeecg-system 原流程)。**字典与分类字典是"配置数据",必须走 SQL。**

## ⛔ 接口禁止猜测规则

> **严格禁止猜测任何 API 接口路径或参数。** AI 不得根据命名惯例、框架约定或已知路径拼凑接口地址后直接调用。
>
> 所有接口调用必须来源于以下之一:
> 1. 用户明确提供的接口文档或地址
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jeecgboot/skills/jeecg-codegen@sha256:2527d2b143fbea97

The line at the top of this page pins the label git:20260605.10fcd31, 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_cld36pmjhkb2bdug.svg)](https://markdownregistry.com/a/art_cld36pmjhkb2bdug)

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

Versions

The registry has recorded 5 versions of this file, between Apr 22, 2026 and Jun 5, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20260605.10fcd31 latest2026-06-05 10fcd31 146,344 BB view · diff
git:20260516.8b1bc3d2026-05-16 8b1bc3d 141,769 BB view · diff
git:20260507.cfb40ec2026-05-07 cfb40ec 127,246 BB view · diff
git:20260429.960f54a2026-04-29 960f54a 115,445 BB view · diff
git:20260422.a42ea2d2026-04-22 a42ea2d 101,460 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (146344 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

jeecgboot/skills · 246 stars · license Apache-2.0 · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cld36pmjhkb2bdug
GET https://markdownregistry.com/api/v1/resolve?ref=jeecgboot/skills/jeecg-codegen
GET https://markdownregistry.com/api/v1/blob/2527d2b143fbea97b854789cfd67d5b1153615f8de601e34bee2124851b8fad4

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 jeecgboot/skills

jeecg-aiflow SKILL.md skill
jeecgboot/skills · jeecg-aiflow/SKILL.md · JeecgBoot AI 编排流程(AIFlow)全生命周期管理——通过自然语言描述需求,自动创建、编辑、查询、删除、调试、发布 AI 编排流程。 只要用户意图涉及「AI编排」「AIFlow」就必须使用本技能,包括但不限于: 创建 AI…
git:20260605.10fcd31 · audit A · 246 stars
jeecg-bpmn SKILL.md skill
jeecgboot/skills · jeecg-bpmn/SKILL.md · Use when user asks to create/generate/edit/modify a BPM workflow, design a Flowable BPMN process, or says "创建流程"…
git:20260917.6191383 · audit B · 246 stars
jeecg-codegen-new SKILL.md skill
jeecgboot/skills · jeecg-codegen-new/SKILL.md · Use when user asks to generate JeecgBoot CRUD code, create a new module, add/modify fields on existing module, or says…
git:20260917.6191383 · audit A · 246 stars
jeecg-uniapp-codegen SKILL.md skill
jeecgboot/skills · jeecg-codegen/uniapp/SKILL.md · JeecgBoot UniApp3 移动端 CRUD 代码生成器。Use when user asks to generate UniApp3/mobile/APP CRUD pages, create mobile list/form…
git:20260530.aca74a2 · audit A · 246 stars
jeecg-dev SKILL.md skill
jeecgboot/skills · jeecg-dev/SKILL.md · JeecgBoot 开发规范(仅手动触发)。⚠️ 本技能只在用户显式输入 /jeecg-dev 或 $jeecg-dev 命令时使用,禁止自动触发——编写/修改 JeecgBoot 代码、应用 GitHub PR/issue 改动、修复…
git:20260917.35cb223 · audit A · 246 stars
jeecg-onlchart SKILL.md skill
jeecgboot/skills · jeecg-onlchart/SKILL.md · Use when user asks to create/edit Online graph charts, data visualization, or says "创建图表", "生成图表", "新建图表", "做一个图表"…
git:20260422.a42ea2d · audit B · 246 stars
jeecg-onlform SKILL.md skill
jeecgboot/skills · jeecg-onlform/SKILL.md · JeecgBoot Online表单(cgform)全生命周期管理——通过API自动创建/编辑数据库表和表单配置, 支持单表、主子表、树表,26种控件类型,以及JS/Java/SQL增强、权限配置、数据CRUD、积木报表集成。…
git:20261014.84a0fc7 · audit A · 246 stars
jeecg-onlreport SKILL.md skill
jeecgboot/skills · jeecg-onlreport/SKILL.md · Use when user asks to create/edit/query Online reports, SQL reports, data reports, or says "创建报表", "生成报表", "新建报表"…
git:20260429.960f54a · audit B · 246 stars
jeecg-portal SKILL.md skill
jeecgboot/skills · jeecg-portal/SKILL.md · JeecgBoot 门户(Portal)全生命周期管理——通过 API 自动创建、删除、配置门户,管理门户内的 14 种组件(轮播图、新闻动态、系统公告、流程中心、应用快捷入口、协同待办、我的计划、知识库、文本、iframe…
git:20260917.5c242f4 · audit A · 246 stars
jeecg-system SKILL.md skill
jeecgboot/skills · jeecg-system/SKILL.md · JeecgBoot 系统主数据查询与管理。Use when user asks to query/create/manage system master data, or says "查询角色", "查询用户", "查询部门"…
git:20261014.84a0fc7 · audit A · 246 stars
jimubi-bigscreen SKILL.md skill
jeecgboot/skills · jimubi-bigscreen/SKILL.md · Use when user asks to create/design a big screen (大屏), full-screen data visualization, or says "创建大屏", "生成大屏", "新建大屏"…
git:20260530.aca74a2 · audit A · 246 stars
jimureport SKILL.md skill
jeecgboot/skills · jimureport/SKILL.md · 积木报表生成器 — 自然语言描述报表需求或提供截图,自动生成积木报表(支持数据报表、打印报表、分组报表、循环报表、数据填报等全类型)。Use when user says "积木报表", "jmreport", "Excel报表"…
git:20260917.f72212f · audit B · 246 stars

Every file in jeecgboot/skills

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