pdlc-code-gen SKILL.md skillA
pdlc-code-gen from kanfu-panda/pdlc-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kanfu-panda/pdlc-skills/pdlc-code-gen@git:20261012.035af0dPins git:20261012.035af0d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kanfu-panda/pdlc-skills
- Path
skills/pdlc-code-gen/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261012.035af0d, committed Oct 12, 2026
- First version recorded
- May 7, 2026
- Size
- 5,732 bytes
- Repository stars
- 18
- License
- MIT
在已有服务 / 应用里按设计文档生成模块代码骨架(分层、接口、模型);加新服务用 /pdlc-add-service.
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
# 代码脚手架生成 <!-- @include templates/prompts/iron-law-tool.md(已内联于下方,无需另读) --> ⛔ **IRON LAW · 不可违反的硬门禁(工具型命令)** 本命令不是主链路上的阶段:**不追加 `history`,不改 `current_stage` / `next_step` / `last_phase_result`**,也不为此分配功能ID。以下规则不可协商: 1. **文件必须落盘**:正文要求创建的文件必须作为实际文件写入磁盘,不可仅在对话中输出(只要求在对话里输出的,照正文办)。 2. **自检必须执行**:产出后按本命令的自检项逐项核对,不得以"已经很好了"为由跳过。 3. **防循环**:修复只做一次,不递归。修不了的问题记进报告,继续往下走。 **违反任一条 = 立即中止当前命令,输出违规详情,等待人工介入。** <!-- @include-end templates/prompts/iron-law-tool.md --> 根据设计文档快速生成模块代码脚手架(骨架代码)。 ## 工作流程 1. **阅读设计文档**: 阅读 `docs/02_design/api/` 和 `docs/02_design/database/` 下的设计文档 2. **确定目标服务**: 确认代码生成到哪个服务或应用 3. **生成代码骨架**: 按技术栈生成对应的代码文件 ## 后端生成内容(按分层架构) ### Java/Spring Boot - Controller(控制器层): 路由、参数校验、响应封装 - Service(服务层): 业务逻辑接口和实现 - Repository(数据层): 数据访问接口 - DTO/VO/Entity: 数据传输对象、视图对象、实体类 - 单元测试骨架 ### Go - Handler(处理器层): HTTP 路由处理 - Service(服务层): 业务逻辑 - Repository(仓储层): 数据访问 - Model(模型层): 数据结构定义 - 单元测试骨架 ### Python/FastAPI - Router(路由层): API 路由定义 - Service(服务层): 业务逻辑 - Repository(仓储层): 数据访问 - Schema/Model: Pydantic 模型、ORM 模型 - 单元测试骨架 ### Node.js - Controller(控制器层): 路由处理 - Service(服务层): 业务逻辑 - Model(模型层): 数据模型 - Middleware(中间件): 通用中间件 - 单元测试骨架 ## 前端生成内容 - 页面组件骨架 - API 请求服务层 …
Read the whole file at its exact version.
How to install
mdr add kanfu-panda/pdlc-skills/pdlc-code-gen@sha256:3af94dced67ff05dThe line at the top of this page pins the label git:20261012.035af0d, 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_wckcujdbpeuouchr)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between May 7, 2026 and Oct 12, 2026, about one every 32 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.035af0d latest | 2026-10-12 | 035af0d | 5,732 B | A | view · diff |
| git:20261008.f546207 | 2026-10-08 | f546207 | 5,730 B | A | view · diff |
| git:20261007.7eb3b9d | 2026-10-07 | 7eb3b9d | 6,066 B | A | view · diff |
| git:20260923.6b87696 | 2026-09-23 | 6b87696 | 6,067 B | A | view · diff |
| git:20260606.4b10e8d | 2026-06-06 | 4b10e8d | 2,344 B | A | view · diff |
| git:20260507.ba956b7 | 2026-05-07 | ba956b7 | 2,273 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5732 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
kanfu-panda/pdlc-skills · 18 stars · license MIT · pushed 2026-10-13 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_wckcujdbpeuouchr GET https://markdownregistry.com/api/v1/resolve?ref=kanfu-panda/pdlc-skills/pdlc-code-gen GET https://markdownregistry.com/api/v1/blob/3af94dced67ff05d94ba7c61d0feee1fb8abfc004654236f2790f6830cc6f206
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.