to-prd
This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know.
The issue tracker and triage label vocabulary should have been provided to you — run /setup-matt-pocock-skills if not.
Process
-
Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the PRD, and respect accepted ADRs in the area you're touching; treat proposed ADRs as planning context only when they belong to the current work. If the feature has a decision ledger (
docs/decisions/), read it — its records are the resolved answers this PRD must preserve verbatim, not soften. If the project keeps aROADMAP.md(or a product/vision doc), read it so this PRD is grounded in the larger goal the slice advances. -
Sketch out the seams at which you're going to test the feature. Existing seams should be preferred to new ones. Use the highest seam possible. If new seams are needed, propose them at the highest point you can. The fewer seams across the codebase, the better - the ideal number is one.
Check with the user that these seams match their expectations.
- Write the PRD using the template below. Before publishing, check coverage: every decision-ledger record must map to a user story, implementation decision, or testing decision, with its constraints preserved exactly — surface any record you couldn't place rather than dropping it. Then publish it to the project issue tracker. Apply the
ready-for-agenttriage label - no need for additional triage. If aROADMAP.mdtracks this work, move the slice you just specified to itsNow/Donebucket and link this PRD, so the roadmap stays a live picture of what's left.
Problem Statement
The problem that the user is facing, from the user's perspective.