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.
mdr add jeecgboot/skills/jeecg-codegen@git:20260605.10fcd31Pins 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
mdr add jeecgboot/skills/jeecg-codegen@sha256:2527d2b143fbea97The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260605.10fcd31 latest | 2026-06-05 | 10fcd31 | 146,344 B | B | view · diff |
| git:20260516.8b1bc3d | 2026-05-16 | 8b1bc3d | 141,769 B | B | view · diff |
| git:20260507.cfb40ec | 2026-05-07 | cfb40ec | 127,246 B | B | view · diff |
| git:20260429.960f54a | 2026-04-29 | 960f54a | 115,445 B | B | view · diff |
| git:20260422.a42ea2d | 2026-04-22 | a42ea2d | 101,460 B | B | view |
Audit of the latest version
- 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
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.