pdlc-bootstrap

pdlc-bootstrap is a skill for Claude Code from kanfu-panda/pdlc-skills. It costs 11 tokens per session (2,336 once invoked), scanned A, original, MIT.

A project-starting workflow that turns a one-sentence description into a proposed technical plan, project folders, basic configuration, and draft project documents. PDLC is a process for organizing software work from requirements through delivery.

In plain words
What is it for?
It helps split a project into backend services and frontend applications, choose suggested technologies, preview the folder tree, and create initial PDLC documentation.
Why use it?
It removes the repetitive work of deciding an initial structure and creating standard files before development begins.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the pdlc plugin — 38 skills shipped together

Good fit It helps split a project into backend services and frontend applications, choose suggested technologies, preview the folder tree, and create initial PDLC documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanfu-panda/pdlc-skills/pdlc-bootstrap
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-bootstrap
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.

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-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-bootstrap/github.svg)](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-bootstrap"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-bootstrap/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-bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-bootstrap"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,336 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.00011 $0.02336
Opus 5 $0.00005 $0.01168
Sonnet 5 $0.00002 $0.00467
Haiku 4.5 $0.00001 $0.00234

Measured 12d ago against content hash b3106a71da90, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pdlc-bootstrap 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 12d 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-bootstrap/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI 对话式项目初始化

接收一句话项目描述,自动分析需求、选择技术栈、生成完整的项目骨架(代码目录 + 基础配置 + PDLC 文档草稿)。

前置检查

  1. 检查是否有未提交的变更(git status),如果有,提示用户先 commit 或 stash,然后继续
  2. 检查 PDLC 目录结构是否存在(docs/00_standards/ 等),如不存在则先运行 make init

功能ID分配

  1. 获取当前日期与时分秒:date +%Y%m%ddate +%H%M%S
  2. 生成功能ID:F<YYYYMMDD>-<HHMMSS>(示例形如 F20260717-122801;用执行时的真实值)
  3. 本地防撞:若该 ID 已被占用(docs/docs/.pdlc-state/ 下已有同名前缀),重新读取 date +%H%M%S 重取(生成本身有耗时、通常已跨秒;若仍同秒则 sleep 1 后再读一次,不手算时分秒,天然处理跨天边界)
  4. 从用户描述中提取项目名关键词(英文小写+连字符)

用时分秒而非当日序号,是为了多人 / 多 AI 并行时零协调也不撞号、合并零冲突。旧 F<日期>-<NN> ID 仍可解析。

执行流程

第一步:分析项目需求

根据用户的一句话描述,自动分析并生成项目计划摘要

  1. 服务拆分:确定后端服务列表及分类
    • services/ — 独立微服务(对外提供 API)
    • modules/ — 内部公共模块(被其他服务依赖)
    • clients/ — 客户端 SDK
  2. 应用拆分:确定前端应用列表及分类
    • web/ — PC Web 应用
    • h5/ — H5 移动端应用
    • miniprogram/ — 微信小程序
    • app/ — 原生/混合 App
  3. 技术栈选择:为每个服务/应用推荐技术栈
    • 后端:Java/Spring Boot、Go、Python/FastAPI、Node/NestJS
    • 前端:React/Next.js、Vue/Nuxt、微信小程序原生
  4. 目录结构预览:输出完整的目录树预览

输出格式:

## 项目计划摘要

### 后端服务
| 服务名 | 分类 | 技术栈 | 说明 |
|--------|------|--------|------|
| user-service | services | Java/Spring Boot | 用户管理 |
| ... | ... | ... | ... |

### 前端应用
| 应用名 | 分类 | 技术栈 | 说明 |
|--------|------|--------|------|
| web-admin | web | React/Next.js | 管理后台 |
| ... | ... | ... | ... |

### 目录结构预览
(输出目录树)

如果描述太模糊,主动追问 1-2 个关键问题(如"后端偏好 Java 还是 Go?"、"需要管理后台还是面向用户的前台?"),但不要超过 2 轮追问。

第二步:用户确认

将计划摘要展示给用户,等待确认。用户可以调整服务列表、技术栈等。 确认后一次性生成所有内容,不再逐步确认。

第三步:生成项目骨架

确认后,按以下顺序生成:

3.1 后端服务骨架

对每个后端服务:

  1. 创建目录结构 backend/<分类>/<服务名>/
  2. 根据技术栈生成项目结构:
    • Java/Spring Boot:pom.xml、application.yml、DDD 分层(controller/service/repository/model/config)、Dockerfile
    • Go:go.mod、cmd/main.go、internal/(handler/service/repository/model)、Dockerfile
    • Python/FastAPI:pyproject.toml、app/(main.py/routers/services/models)、Dockerfile
    • Node/NestJS:package.json、src/(main.ts/modules/)、Dockerfile
  3. 生成 README.md 和 CHANGELOG.md
  4. backend/<分类>/<服务名>/docs/ 下创建 api-design.md 骨架

Read the full file on GitHub · 175 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. 12d ago First seen · 175 lines · 11 tokens per session scan A b3106a71da90

Subscribe to this mod's changes

pdlc-bootstrap is a skill published in the GitHub repository kanfu-panda/pdlc-skills (13 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 2,336 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

postgres-database-migration

Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. Trigger when user asks to: Test a schema migration before applying it to production Add, remove, or rename columns safely on a live table Change a column's data…

timescale/pg-aiguide · 220 tokens

setup-timescaledb-hypertables

Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. Trigger when user asks to: Create or design SQL schemas/tables AND…

timescale/pg-aiguide · 219 tokens

design-postgis-tables

Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications.

timescale/pg-aiguide · 31 tokens

migrate-postgres-tables-to-hypertables

Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. Trigger when user asks to: Migrate or convert PostgreSQL tables to hypertables Execute hypertable migration with minimal downtime Plan blue-green migration for large tables Validate…

timescale/pg-aiguide · 181 tokens

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

find-hypertable-candidates

Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables. Trigger when user asks to: Analyze database tables for hypertable conversion potential Identify time-series or event tables in an existing schema Evaluate if a table would…

timescale/pg-aiguide · 184 tokens