write-a-prd

Installation
Summary

Collaborative PRD creation through structured interviews, codebase analysis, and modular design planning.

  • Guides users through problem definition, solution ideation, and iterative design interviews to reach shared understanding
  • Explores the codebase to validate assumptions and understand current architecture before planning changes
  • Designs modular solutions by identifying deep modules with simple, testable interfaces that encapsulate significant functionality
  • Generates comprehensive PRDs with problem statements, extensive user stories, implementation decisions, testing strategy, and scope boundaries, then submits as GitHub issues
SKILL.md

This skill will be invoked when the user wants to create a PRD. You may skip steps if you don't consider them necessary.

  1. Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions.

  2. Explore the repo to verify their assertions and understand the current state of the codebase.

  3. Interview the user relentlessly about every aspect of this plan until you reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one.

  4. 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.

  1. Once you have a complete understanding of the problem and solution, use the template below to write the PRD. The PRD should be submitted as a GitHub issue.

Problem Statement

Related skills

More from mattpocock/skills

Installs
14.3K
GitHub Stars
73.5K
First Seen
Feb 12, 2026