to-prd
Synthesizes conversation context into a structured PRD and publishes it to your project issue tracker.
- Analyzes current codebase state and conversation history to generate a complete PRD without requiring user interviews
- Identifies test seams at the highest architectural level, preferring existing seams and proposing new ones only when necessary
- Applies domain glossary vocabulary and respects existing ADRs throughout the PRD
- Publishes directly to your issue tracker with the
ready-for-agenttriage label for immediate agent pickup
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 any ADRs in the area you're touching.
-
Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.
A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.
Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.
- Write the PRD using the template below, then publish it to the project issue tracker. Apply the
ready-for-agenttriage label - no need for additional triage.