Command Palette

Search for a command to run...

Back to skills
skill № 83025

prd-generator

Generate structured Product Requirements Documents using hypothesis-driven methodology with Implementation Phases tracking.

FreeRuns bundled scripts
oimiragieoby oimiragieo★ 48 GitHub stars

Install prd-generator in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

PRD Generator Skill

Overview

Generate structured Product Requirements Documents (PRDs) using problem-first, hypothesis-driven methodology. Ensures clear problem statements, evidence-backed decisions, and traceable implementation phases.

Core principle: Validate "why" before "how". Problem → Evidence → Hypothesis → Solution.

When to Use

Always:

  • New features requiring product definition
  • Product changes requiring stakeholder alignment
  • Requirements gathering for HIGH/EPIC complexity features
  • Feature requests needing structured analysis

Use specifically for:

  • Features with unclear requirements (progressive disclosure)
  • Multi-phase implementations needing tracking
  • Features requiring decision documentation
  • Product initiatives needing success metrics

Don't use for:

  • Simple bug fixes (no PRD needed)
  • Trivial configuration changes
  • Code-only refactors without product impact

Purpose

  1. Problem-First: Define problem with evidence before proposing solutions
  2. Hypothesis-Driven: State measurable hypothesis for validation
  3. MoSCoW Prioritization: Prevent scope creep with Must/Should/Could/Won't
  4. Implementation Phases: Track progress with phases table (Status, Dependencies, Plan Links)
  5. Decision Log: Record "why we chose X over Y" for future reference
  6. Traceability: PRD → Planner → Developer with full context

Workflow

Step 1: Gather Requirements

Interactive Mode (when requirements unclear):

// Use AskUserQuestion for structured gathering
const problem = await AskUserQuestion({
  question: 'What problem does this solve? (Be specific about user pain points)',
});

const evidence = await AskUserQuestion({
  question: 'What evidence shows this problem exists? (Data, feedback, metrics)',
});

const hypothesis = await AskUserQuestion({
  question: 'What measurable outcome will prove this feature solves the problem?',
});

Prompt Mode (when requirements provided):

Extract requirements from user prompt or task description

Progressive Disclosure (for ambiguous features):

If requirements are unclear, use 8-phase questioning workflow:

  1. Initiate: Clarify feature goal and scope
  2. Foundation: Understand problem context
  3. Grounding (Market): Research similar solutions
  4. Deep Dive: Explore capabilities and user flows
  5. Grounding (Technical): Assess feasibility
  6. Decisions: Document choices and trade-offs
  7. Generate: Create PRD from gathered context

When to use Progressive Disclosure:

  • HIGH/EPIC complexity features
  • Ambiguous user requests ("make it better")
  • New product areas without existing patterns
  • Features requiring stakeholder alignment

When to skip:

  • Clear requirements provided
  • Similar features already built
  • Small scope changes

Step 2: Load Template

// Read PRD template
const template = Read({ file_path: '.claude/templates/prd-template.md' });

Template includes these sections (required):

  • Problem Statement
  • Evidence
  • Key Hypothesis
  • What We're NOT Building (scope exclusions)
  • Success Metrics table
  • Core Capabilities (MoSCoW)
  • Users & Context
  • Solution Detail (MVP Scope, User Flow)
  • Technical Approach
  • Implementation Phases table
  • Decisions Log table
  • Research Summary
  • Risks table
  • Open Questions

Step 3: Fill Template Sections

Problem Statement (Evidence-Backed):

## Problem Statement

[Specific problem description with user impact]

## Evidence

- User feedback: [quotes or summary]
- Data: [metrics showing problem scale]
- Business impact: [why this matters now]

Key Hypothesis:

## Key Hypothesis

We believe [capability] will [solve problem] for [users].
We'll know we're right when [measurable outcome].

Example:
We believe adding JWT refresh tokens will reduce user re-authentication friction for mobile users.
We'll know we're right when session timeout complaints drop by 50% and mobile DAU increases by 10%.

Success Metrics:

Metric Target How Measured
Session timeout complaints -50% Support ticket analysis
Mobile DAU +10% Analytics dashboard
Token refresh success rate >95% Backend logs

Core Capabilities (MoSCoW):

Priority Capability Rationale
Must JWT refresh token endpoint Required for MVP - enables session extension
Must Token rotation on refresh Security best practice
Should Refresh token revocation Allows user logout from all devices
Could Token usage analytics Nice to have for monitoring
Won't Biometric auth integration
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

  1. 01Read
  2. 02Write
  3. 03AskUserQuestion

Bundled files

  • commands/prd-generator.md
  • hooks/post-execute.cjs
  • hooks/pre-execute.cjs
  • references/research-requirements.md
  • rules/prd-generator.md
  • schemas/input.schema.json
  • schemas/output.schema.json
  • scripts/main.cjs
  • templates/implementation-template.md

FAQ

What does the prd-generator skill do?

Generate structured Product Requirements Documents using hypothesis-driven methodology with Implementation Phases tracking.

How do I install the prd-generator skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the prd-generator skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare prd-generator with