Help us improve
Share bugs, ideas, or general feedback.
From pdlc
Creates structured PRD documents from user descriptions or existing requirement files. Automates generation, self-audit, and handoff to the next PDLC stage.
npx claudepluginhub kanfu-panda/pdlc-skills --plugin pdlcHow this skill is triggered — by the user, by Claude, or both
Slash command
/pdlc:pdlc-prd <功能描述 | 已有需求文档路径><功能描述 | 已有需求文档路径>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
根据用户提供的需求描述或已有需求文档,在 `docs/01_requirements/prd/` 目录下创建一份完整的 PRD(产品需求文档)。
Guides technical evaluation of code review feedback: read fully, restate for understanding, verify against codebase, respond with reasoning or pushback before implementing.
Share bugs, ideas, or general feedback.
根据用户提供的需求描述或已有需求文档,在 docs/01_requirements/prd/ 目录下创建一份完整的 PRD(产品需求文档)。
从 $ARGUMENTS 中判断输入类型:
检测是否为文件路径:匹配以下模式之一即视为文件输入:
/、./、../、~ 开头.md、.txt、.docx、.pdf、.doc 结尾docs/ 或 requirements/ 路径片段文件输入处理:
<!-- 来源文档: <原始路径> -->文本输入处理:按描述推断功能需求
核心原则:文件输入是「基于已有内容结构化」,文本输入是「从零生成」。
templates/prd-template.md 获取模板格式docs/00_standards/coding/ 获取编码规范(若存在;查找未命中 → 在报告里提示 consider /pdlc-standard add coding/<topic>)<功能ID>-<功能名>-prd.md从输入检测 feature 关系信号:
docs/.pdlc-state/*.json 列已有 feature 名,判断本 PRD 是否 extends/depends_on 其一relations.mdPhase 2:本步从"被动检测"升级为"主动提示用户确认关系"。
完整性:
一致性:
针对自检清单中未通过项:
本阶段状态机更新:
current_stage: requirements{ "stage": "requirements", "done_at": "<ISO8601>", "produced": ["docs/01_requirements/prd/<...>-prd.md"], "self_audit": { "passed": <N>, "failed": <N>, "manual": <N> } }
next_step: pdlc-design本命令的 handoff 输出:
✅ PRD 已创建:docs/01_requirements/prd/<feature-id>-<feature-name>-prd.md
📊 自检:<pass>/<total> 通过
📦 状态快照:docs/.pdlc-state/<feature-id>.json
👉 下一步:/pdlc-design <feature-id>
目标需求: $ARGUMENTS