pdlc-add-service

pdlc-add-service is a skill for Claude Code from kanfu-panda/pdlc-skills. It costs 42 tokens per session (1,727 once invoked), scanned A, original, MIT.

A generator for adding a new backend microservice, which is a small independently organized application responsible for part of a larger system. It creates the service structure and initial project documentation for several programming stacks.

In plain words
What is it for?
Use it to create a Java/Spring, Go, Python, or Node service with its folders, README, changelog, and initial API design document.
Why use it?
It removes repetitive setup work and helps new services follow the project’s naming, layout, and documentation conventions. It also records the service in the main project overview when needed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the pdlc plugin — 38 skills, 2 hooks shipped together

Good fit Use it to create a Java/Spring, Go, Python, or Node service with its folders, README, changelog, and initial API design document.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanfu-panda/pdlc-skills/pdlc-add-service
Install

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.

Any agent
npx skills add kanfu-panda/pdlc-skills --skill pdlc-add-service
Clone the repo
git clone --depth 1 https://github.com/kanfu-panda/pdlc-skills

Made for: Claude Code.

Or install pdlc, the plugin that ships this one along with the rest of its 38 skills, 2 hooks.

Wrote 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.

agentmods badge for pdlc-add-service

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-add-service/github.svg)](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-add-service)
Your own site
<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.

agentmods 80×15 button for pdlc-add-service

Your own site · 80×15
<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>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,727 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 00c567538efa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/pdlc-add-service/SKILL.md · 120 lines

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。以下规则不可协商:

  1. 文件必须落盘:正文要求创建的文件必须作为实际文件写入磁盘,不可仅在对话中输出(只要求在对话里输出的,照正文办)。
  2. 自检必须执行:产出后按本命令的自检项逐项核对,不得以"已经很好了"为由跳过。
  3. 防循环:修复只做一次,不递归。修不了的问题记进报告,继续往下走。

违反任一条 = 立即中止当前命令,输出违规详情,等待人工介入。

在项目中添加一个新的后端微服务,并生成完整的目录结构和初始文档。

先探测项目布局(不要套用写死的目录)

下文出现的 backend/services/、frontend/web/ 等路径只是空项目时的默认布局。动手创建或扫描目录之前,先看项目实际长什么样:

  1. 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/)理解布局
  2. 已有单元的位置:在 backend/services/、services/、apps/、packages/、cmd/、crates/ 下找已存在的服务 / 应用,新单元放在同级,命名与目录结构照着已有的来
  3. 单体与全栈框架:只有一个 src/,或是框架默认结构(manage.py + 各 app、Rails 的 app/、Next.js 的 app/ / pages/、Spring Boot 单模块)→ 按框架约定放,不要新建 services/ 一类平行目录
  4. 空项目或判断不了 → 才用下文的默认布局;执行前把将要创建的路径列给用户确认(--autonomous 下记入 auto_decisions[])

把探测结论写进本次报告:布局类型 + 依据的文件 + 新内容的落点。判断错了的代价是在用户仓库里长出一套平行目录,比多问一句贵得多。

工作流程

  1. 项目有 Makefile 且含创建服务的 target 时用它;否则直接在 backend/services/ 下创建服务目录
  2. 根据技术栈生成标准目录结构
  3. 创建服务的 README.md、CHANGELOG.md
  4. 在 backend/services/<服务名>/docs/ 下创建 api-design.md 初始文档
  5. 更新项目 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:

Read the full file on GitHub · 120 lines

Changes

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.

  1. 1mo ago Changed 00c567538efa
  2. 1mo ago Changed · +12 lines · +32 tokens per session 97f6c2376584
  3. 1mo ago Changed 9dcc24eac7ec
  4. 2mo ago Changed · +58 lines d3945503fbf9
  5. 3mo ago First seen · 50 lines · 10 tokens per session scan A b8fa5ac242db

Subscribe to this mod's changes

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.

Related

pdlc-add-service compared with skills from other repositories

pdlc-add-service next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdlc-add-servicekanfu-panda/pdlc-skillsSkill1917d agoMITA42Claude Code
postgres-database-migrationtimescale/pg-aiguideSkill1.9k2d agoApache-2.0A220Cursor
timescaledb-hyperfunctionstimescale/pg-aiguideSkill1.9k2d agoApache-2.0A298Cursor
design-postgis-tablestimescale/pg-aiguideSkill1.9k2d agoApache-2.0A31Cursor
migrate-postgres-tables-to-hypertablestimescale/pg-aiguideSkill1.9k2d agoApache-2.0A181Cursor
pgvector-semantic-searchtimescale/pg-aiguideSkill1.9k2d agoApache-2.0A190Cursor
setup-timescaledb-hypertablestimescale/pg-aiguideSkill1.9k2d agoApache-2.0A219Cursor