Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add kanfu-panda/pdlc-skills --skill pdlc-add-servicegit clone --depth 1 https://github.com/kanfu-panda/pdlc-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-add-service)<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-add-service"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-add-service/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-add-service"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-add-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.01727 |
| Opus 5.5 | $0.00017 | $0.00691 |
| Sonnet 5.5 | $0.00008 | $0.00345 |
| Haiku 4.5 | $0.00004 | $0.00173 |
Grade A, and why
pdlc-add-service scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
添加新的微服务
⛔ IRON LAW · 不可违反的硬门禁(工具型命令)
本命令不是主链路上的阶段:不追加 history,不改 current_stage / next_step / last_phase_result,也不为此分配功能ID。以下规则不可协商:
- 文件必须落盘:正文要求创建的文件必须作为实际文件写入磁盘,不可仅在对话中输出(只要求在对话里输出的,照正文办)。
- 自检必须执行:产出后按本命令的自检项逐项核对,不得以"已经很好了"为由跳过。
- 防循环:修复只做一次,不递归。修不了的问题记进报告,继续往下走。
违反任一条 = 立即中止当前命令,输出违规详情,等待人工介入。
在项目中添加一个新的后端微服务,并生成完整的目录结构和初始文档。
先探测项目布局(不要套用写死的目录)
下文出现的 backend/services/、frontend/web/ 等路径只是空项目时的默认布局。动手创建或扫描目录之前,先看项目实际长什么样:
- monorepo 标志:
pnpm-workspace.yaml、turbo.json、nx.json、lerna.json、package.json的workspaces、go.work、Cargo.toml的[workspace]、settings.gradle(.kts)的include→ 按其中声明的目录(如apps/、packages/、services/、crates/)理解布局 - 已有单元的位置:在
backend/services/、services/、apps/、packages/、cmd/、crates/下找已存在的服务 / 应用,新单元放在同级,命名与目录结构照着已有的来 - 单体与全栈框架:只有一个
src/,或是框架默认结构(manage.py+ 各 app、Rails 的app/、Next.js 的app//pages/、Spring Boot 单模块)→ 按框架约定放,不要新建services/一类平行目录 - 空项目或判断不了 → 才用下文的默认布局;执行前把将要创建的路径列给用户确认(
--autonomous下记入auto_decisions[])
把探测结论写进本次报告:布局类型 + 依据的文件 + 新内容的落点。判断错了的代价是在用户仓库里长出一套平行目录,比多问一句贵得多。
工作流程
- 项目有
Makefile且含创建服务的 target 时用它;否则直接在backend/services/下创建服务目录 - 根据技术栈生成标准目录结构
- 创建服务的 README.md、CHANGELOG.md
- 在
backend/services/<服务名>/docs/下创建 api-design.md 初始文档 - 更新项目 CLAUDE.md 中的服务列表(如需要)
支持的技术栈
- java/spring: Maven + Spring Boot 标准结构
- go: Go 标准项目布局(cmd/internal/pkg)
- python: FastAPI/Flask 项目结构
- node: Express/NestJS 项目结构
要求
🌐 Output language for generated artifacts
All generated artifacts (PRDs, design docs, code comments, review reports, test plans, deployment manuals, changelog entries, etc.) follow this policy:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed 00c567538efa
- 1mo ago Changed · +12 lines · +32 tokens per session 97f6c2376584
- 1mo ago Changed 9dcc24eac7ec
- 2mo ago Changed · +58 lines d3945503fbf9
- 3mo ago First seen · 50 lines · 10 tokens per session scan A b8fa5ac242db
pdlc-add-service is a skill published in the GitHub repository kanfu-panda/pdlc-skills (19 stars, last pushed 17d ago), licensed MIT. It adds 42 tokens to every session and 1,727 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
pdlc-add-service compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdlc-add-servicekanfu-panda/pdlc-skills | Skill | 19 | 17d ago | MIT | A | 42 | Claude Code |
| postgres-database-migrationtimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 220 | Cursor |
| timescaledb-hyperfunctionstimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 298 | Cursor |
| design-postgis-tablestimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 31 | Cursor |
| migrate-postgres-tables-to-hypertablestimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 181 | Cursor |
| pgvector-semantic-searchtimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 190 | Cursor |
| setup-timescaledb-hypertablestimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 219 | Cursor |