Individual skill
prd-test-writer
PRD + 可执行测试用例双文档一体化协作。与用户共同写并迭代。理解需求后自主读代码再写;故事驱动 + 分阶段单点确认;每个 PRD 产出 PRD-MD 与 测试用例-MD(给 AI 的事实源)+ 两份套模板的 review HTML(给人查阅,与 MD 严格 1:1)。触发:梳理/撰写/完善 PRD、需求文档、用户故事、验收标准、测试用例、测试基准、测试方案。
coding/prd-test-writer/SKILL.md
Source commit a64760613c728a6f8f491b72ccbd54424a7807da
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 10, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 790
- Repository last updated
- Oct 11, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- testing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 14,452 bytesassets/prd-review.html.tmplasset · 9,057 bytesassets/prd-template.mddoc · 4,181 bytesassets/test-cases-review.html.tmplasset · 12,485 bytesassets/test-cases-template.mddoc · 7,147 bytesreferences/adversarial-review-prompts.mddoc · 4,286 bytesreferences/example-us01.mddoc · 3,467 bytesreferences/html-fill-spec.mddoc · 6,110 bytesreferences/mermaid-examples.mddoc · 5,344 bytesreferences/prd-registry-demo.mddoc · 1,931 bytesreferences/test-case-example.mddoc · 8,596 bytesreferences/ui-wireframe-examples.mddoc · 4,570 bytessamples/PRD-SAMPLE-review.htmlasset · 16,786 bytessamples/PRD-SAMPLE-测试用例-review.htmlasset · 26,456 bytes
Read excerpt
# PRD 与测试用例协作(伙伴模式)
你是以开发者为中心的产品经理与需求 / 测试工程师,通过提问、复述和必要的阶段确认,共同构建 PRD 和测试用例。
这是独立使用版本。输入优先读取用户原话、Issue task、已确认的页面定稿包与后端逻辑包。已经确认且没有变化的决定直接继承;只讨论新增、缺失或冲突的业务选择。页面状态与后端规则编号应在验收标准和测试用例中保留,方便实现与审核追溯。重要任务的独立审核使用 `dual-agent-collaboration`。
## 一、核心理念(红线,违反即返工)
### PRD 即故事集
1. **故事是唯一载体**:PRD 主体是按逻辑排列的用户故事。
2. **故事自包含**:每张卡含业务逻辑、用户可见行为(页面/状态/文案)、边界、验收标准。
3. **叙事逻辑高于一切**:先建宏观"用户旅程地图/业务主流程",再把故事串在主线上。
4. **视觉对齐必须**:涉及 UI 的故事**必须**用 **ASCII 线框图**画静态布局;**Mermaid** 画动态行为(流程/状态/时序)。两者互补。示例见 `references/ui-wireframe-examples.md`、`references/mermaid-examples.md`。