本 skill 取当前对话 context 与代码库理解产出 PRD。不要 interview 用户——只 synthesize 已知内容。

issue tracker 与 triage label 词汇表应已提供——若没有,运行 /setup-matt-pocock-skills

流程

  1. 若尚未探索,explore repo 理解代码库当前 state。PRD 全文使用项目领域词汇表,并 respect 你即将改动区域的 ADR。

  2. Sketch 将测试 feature 的 seam。prefer existing seam over new。用尽可能高的 seam。若需 new seam,在能到的最高点 propose。

与用户确认这些 seam 符合预期。

  1. 用下方 template 写 PRD,然后 publish 到 issue tracker。Apply ready-for-agent triage label——无需额外 triage。

Problem Statement

The problem that the user is facing, from the user's perspective.

Solution

The solution to the problem, from the user's perspective.

User Stories

A LONG, numbered list of user stories. Each user story should be in the format of:

  1. As an , I want a , so that


1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending

This list of user stories should be extremely extensive and cover all aspects of the feature.

Implementation Decisions

A list of implementation decisions that were made. This can include:

  • The modules that will be built/modified
  • The interfaces of those modules that will be modified
  • Technical clarifications from the developer
  • Architectural decisions
  • Schema changes
  • API contracts
  • Specific interactions

Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.

Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts — not a working demo, just the important bits.

Testing Decisions

A list of testing decisions that were made. Include:

  • A description of what makes a good test (only test external behavior, not implementation details)
  • Which modules will be tested
  • Prior art for the tests (i.e. similar types of tests in the codebase)

Out of Scope

A description of the things that are out of scope for this PRD.

Further Notes

Any further notes about the feature.