prd
GitHub生成或更新简洁的产品需求文档及实施清单,明确目标、设计、范围与成功条件。维护文档一致性,确保贡献者可独立执行并验证结果,避免推测性内容。
Trigger Scenarios
Install
npx skills add golbin/agent-skills --skill prd -g -y
SKILL.md
Frontmatter
{
"name": "prd",
"description": "Create or update a concise PRD and implementation checklist for a feature or scope change."
}
PRD
Keep the user's outcome, target design, and remaining work in one document. Planning-only requests end with the PRD; continue implementation when already requested.
Define the target
Read the project evidence needed to identify the problem, affected users, and observable success conditions. Ask about missing decisions that materially affect scope or correctness; record reasonable assumptions for other details.
Choose the simplest design that meets the need, correcting the foundation when necessary. Follow Unix philosophy: focused, composable parts, explicit interfaces, and policy and side effects at boundaries. APIs and internal tools also serve users, including developers and operators.
Include compatibility, recovery, retries, or migration for concrete user, data, contract, or failure risks. Keep temporary mechanisms removable with a retirement condition. Avoid speculative features and abstractions.
Write the document
Update an existing PRD when available. Otherwise follow the requested location or
project convention, defaulting to tasks/prd-<feature>.md.
Include:
- Problem, intended outcome, scope, and success conditions.
- Target design, supporting evidence, constraints, and open decisions.
- A checklist ordered by dependencies, with implementation and validation outcomes.
- Current status and consequential design or scope changes.
Use only the sections the task needs. Split out linked files when detailed evidence or independent work warrants it. Validation items should identify the behavior or contract to prove and a suitable check allowed by project rules.
Maintain and finish
Preserve user edits and completed work. Update the plan as evidence changes; record deferred requirements and distinguish implemented work from verified work. Mark items complete only with supporting evidence. Repeat checks only after a relevant change, failure, or unresolved concern.
Remove unsupported assumptions, unnecessary scope, and repetition. The PRD is ready when another contributor can execute it and judge success without guessing material decisions. Report its path and decisions still requiring the user.
Version History
-
30f04e4
Current 2026-09-27 22:22
简化PRD和指导原则,优化技能范围和执行指引。
-
b056718
2026-08-19 21:30
2026-08-18: 将设计重心转向用户体验,优先基于根因而非补丁进行设计,并简化了PRD和实施审查技能。
- f5c90aa 2026-07-24 21:01


