prd-generation
PRD Generation Skill
What Is a PRD?
A Product Requirements Document (PRD) is the central artifact that bridges product strategy and engineering execution. It captures the why, what, and how of a product initiative so that every stakeholder -- from designers and engineers to leadership and QA -- operates from a single source of truth. A well-written PRD reduces ambiguity, prevents scope creep, and provides a measurable framework against which the team can evaluate success.
Within the product development lifecycle a PRD typically sits between the discovery phase (where problems are identified and validated) and the design/engineering phase (where solutions are built). It is not a static document; it evolves through drafts, reviews, and revisions as the team's understanding deepens. This skill treats the PRD as a living document and structures it accordingly.
Five-Step Workflow
Every PRD generated by this skill follows a disciplined five-step process. Each step must be completed before moving to the next.
Step 1 -- Understand Context
Before writing a single line, scan the project to build situational awareness.
- Glob the project tree to discover the repository structure, key modules, and naming conventions. Use patterns such as
**/*.md,**/package.json,**/pyproject.toml, or language-specific manifests to map the landscape. - Read the README (or equivalent entry-point documentation) to understand the project's purpose, architecture, and existing terminology.
- Scan the
docs/directory (if it exists) to find prior PRDs, technical designs, or ADRs. Understanding what has already been decided prevents contradictions and duplicated effort.