/pdlc-onboard
为新加入的开发者生成项目上手文档(docs/03_development/onboard-guide.md);老项目首次接入 PDLC 用 /pdlc-adopt
Claude Code
$ npx -y skills add kanfu-panda/pdlc-skills --skill pdlc-onboard --agent claude-code
Codex
$ npx skills add kanfu-panda/pdlc-skills --skill pdlc-onboard -a codex -y
Cursor
$ npx skills add kanfu-panda/pdlc-skills --skill pdlc-onboard -a cursor -y
Gemini CLI
$ npx skills add kanfu-panda/pdlc-skills --skill pdlc-onboard -a gemini-cli -y
GitHub Copilot
$ npx skills add kanfu-panda/pdlc-skills --skill pdlc-onboard -a github-copilot -y
OpenCode
$ npx skills add kanfu-panda/pdlc-skills --skill pdlc-onboard -a opencode -y
Windsurf
$ npx skills add kanfu-panda/pdlc-skills --skill pdlc-onboard -a windsurf -y
SKILL.md
pdlc-onboard.SKILL.mdname: pdlc-onboard
description: 为新加入的开发者生成项目上手文档(docs/03_development/onboard-guide.md);老项目首次接入 PDLC 用 /pdlc-adopt
argument-hint: "[项目目录 | 模块]"
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
layer: 3
stage: lifecycle
produces:
- docs/03_development/onboard-guide.md
requires: []
next_step: null
terminal_state: null
新人引导
<!-- @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. 扫描整个项目结构,了解当前状态 2. 扫描项目目录,列出服务和应用(项目自带 `Makefile` / 脚本能列出时可直接用) 3. 阅读 `CLAUDE.md`、`README.md` 获取项目概述 4. 汇总输出新人引导信息
输出内容
1. 项目总览
- 项目名称和用途
- 技术栈概述
- 微服务列表及各自职责
- 前端应用列表及各自职责
2. 环境搭建
- 必要的开发工具和版本要求
- 本地开发环境搭建步骤
- 配置文件说明
3. 开发规范
- 引用 `docs/00_standards/coding/` 下的规范(未命中 → 提示 `consider /pdlc-standard add coding/<topic>`)
- Git 分支策略和提交规范
- PDLC 工作流说明
4. 快速上手
- 如何运行项目
- 如何运行测试
- 如何创建新功能(指向 `/pdlc-feature` 命令)
- 常用 Make 命令一览
5. 关键文档索引
- 列出 `docs/` 下所有重要文档的路径和摘要
6. 常见问题
- 构建失败怎么办
- 测试报错怎么排查
- 如何联调
要求
<!-- @include templates/prompts/output-language.md(已内联于下方,无需另读) --> 🌐 **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:
1. **Default — match the conversation language exactly**:
- 用户用中文与 Claude 对话 → 产中文文档、中文代码注释、中文报告
- User talks to Claude in English → produce English artifacts
- User talks in another language → produce artifacts in that language
- **Never silently default to a fixed language regardless of the user's input.**
2. **Explicit override always wins**: when the user specifies a language for an artifact (e.g. "write the PRD in English", "用英文写 API 设计文档", "output the deploy doc in Japanese"), use that language for that artifact, regardless of conversation language.
3. **Mixed-language requirements**: if the user wants some artifacts in one language and others in a different language (common: Chinese PRD + English API docs for partners), honour each per-artifact instruction.
4. **Uncertain**: if you cannot reliably detect the conversation language, ask once before producing the first artifact.
This policy applies to **content** (prose, comments, headings). It does **not** override technical conventions like English variable names, English git commit subjects, or English error codes when the project's conventions require them. <!-- @include-end templates/prompts/output-language.md -->
- 输出到 `docs/03_development/onboard-guide.md`
- 步骤具体可操作
- 标注哪些步骤可以跳过(视角色而定)
$ARGUMENTS
<!-- @include templates/prompts/handoff.md(已内联于下方,无需另读) -->
段四:交接(Handoff)
命令完成后必须输出以下格式的最终消息:
✅ <阶段名> 完成:<主要产出物路径>
📊 自检:<通过数>/<总数> 通过(若有未通过,附要点)
📦 状态快照:docs/.pdlc-state/<feature-id>.json
👉 下一步:/pdlc-<next_step>
(如果有分叉)或 /pdlc-<alt>(条件:<选择依据>)
**规则:**
- 主流程命令(写状态机的命令;下一跳见正文里「本命令的状态机取值」)必须显式输出"下一步",不可省略
- 工具型命令(Layer 3)可以没有 `next_step`,此时输出 `👉 下一步:(本次流程结束,无后续)`
- 分叉场景必须说明**选择条件**,例如"若需补充测试用例 → `/pdlc-tdd`;若测试已齐 → `/pdlc-review`"
<!-- @include-end templates/prompts/handoff.md -->
**本命令的 handoff 输出:**
✅ 新人引导文档 完成
📦 产出:docs/03_development/onboard-guide.md
👉 下一步:(本次流程结束,无后续)
Read more
name: pdlc-onboard description: 为新加入的开发者生成项目上手文档(docs/03_development/onboard-guide.md);老项目首次接入 PDLC 用 /pdlc-adopt argument-hint: "[项目目录 | 模块]" allowed-tools: Read, Write, Edit, Glob, Grep, Bash layer: 3 stage: lifecycle produces: - docs/03_development/onboard-guide.md requires: [] next_step: null terminal_state: null
新人引导
<!-- @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. 扫描整个项目结构,了解当前状态 2. 扫描项目目录,列出服务和应用(项目自带 `Makefile` / 脚本能列出时可直接用) 3. 阅读 `CLAUDE.md`、`README.md` 获取项目概述 4. 汇总输出新人引导信息
输出内容
1. 项目总览
- 项目名称和用途
- 技术栈概述
- 微服务列表及各自职责
- 前端应用列表及各自职责
2. 环境搭建
- 必要的开发工具和版本要求
- 本地开发环境搭建步骤
- 配置文件说明
3. 开发规范
- 引用 `docs/00_standards/coding/` 下的规范(未命中 → 提示 `consider /pdlc-standard add coding/<topic>`)
- Git 分支策略和提交规范
- PDLC 工作流说明
4. 快速上手
- 如何运行项目
- 如何运行测试
- 如何创建新功能(指向 `/pdlc-feature` 命令)
- 常用 Make 命令一览
5. 关键文档索引
- 列出 `docs/` 下所有重要文档的路径和摘要
6. 常见问题
- 构建失败怎么办
- 测试报错怎么排查
- 如何联调
要求
<!-- @include templates/prompts/output-language.md(已内联于下方,无需另读) --> 🌐 **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:
1. **Default — match the conversation language exactly**:
- 用户用中文与 Claude 对话 → 产中文文档、中文代码注释、中文报告
- User talks to Claude in English → produce English artifacts
- User talks in another language → produce artifacts in that language
- **Never silently default to a fixed language regardless of the user's input.**
2. **Explicit override always wins**: when the user specifies a language for an artifact (e.g. "write the PRD in English", "用英文写 API 设计文档", "output the deploy doc in Japanese"), use that language for that artifact, regardless of conversation language.
3. **Mixed-language requirements**: if the user wants some artifacts in one language and others in a different language (common: Chinese PRD + English API docs for partners), honour each per-artifact instruction.
4. **Uncertain**: if you cannot reliably detect the conversation language, ask once before producing the first artifact.
This policy applies to **content** (prose, comments, headings). It does **not** override technical conventions like English variable names, English git commit subjects, or English error codes when the project's conventions require them. <!-- @include-end templates/prompts/output-language.md -->
- 输出到 `docs/03_development/onboard-guide.md`
- 步骤具体可操作
- 标注哪些步骤可以跳过(视角色而定)
$ARGUMENTS
<!-- @include templates/prompts/handoff.md(已内联于下方,无需另读) -->
段四:交接(Handoff)
命令完成后必须输出以下格式的最终消息:
✅ <阶段名> 完成:<主要产出物路径> 📊 自检:<通过数>/<总数> 通过(若有未通过,附要点) 📦 状态快照:docs/.pdlc-state/<feature-id>.json 👉 下一步:/pdlc-<next_step> (如果有分叉)或 /pdlc-<alt>(条件:<选择依据>)
**规则:**
- 主流程命令(写状态机的命令;下一跳见正文里「本命令的状态机取值」)必须显式输出"下一步",不可省略
- 工具型命令(Layer 3)可以没有 `next_step`,此时输出 `👉 下一步:(本次流程结束,无后续)`
- 分叉场景必须说明**选择条件**,例如"若需补充测试用例 → `/pdlc-tdd`;若测试已齐 → `/pdlc-review`"
<!-- @include-end templates/prompts/handoff.md -->
**本命令的 handoff 输出:**
✅ 新人引导文档 完成 📦 产出:docs/03_development/onboard-guide.md 👉 下一步:(本次流程结束,无后续)
Author: kanfu-panda Repo: github.com/kanfu-panda/pdlc-skills License: MIT pdlc-skills is built on one rule: an AI saying "done" doesn't count — exit codes do.
Other skills on pdlc.
pdlc-adopt
已有代码、还没有 PDLC 文档的老项目接入——只读扫描后逆向生成基线文档并做健康检查,不改代码;空目录新项目用 /pdlc-bootstrap
pdlc-bootstrap
空目录从一句话描述初始化新项目(服务 / 应用拆分、技术栈、目录骨架与 PDLC 文档目录);已有代码的项目用 /pdlc-adopt
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about pdlc-onboard.
- Which coding agents can use pdlc-onboard?
- pdlc-onboard installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

