repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

opencode/skills/prd/SKILL.md

Raw

name: prd description: Write Product Requirements Documents — problem statement, user stories, acceptance criteria, success metrics, out-of-scope boundaries, stakeholder alignment. license: MIT

Product Requirements Document (PRD)

Overview

Create comprehensive PRDs that bridge business vision and technical execution. PRDs should be clear, measurable, and actionable.

When to Use

Use when:

Workflow

Phase 1: Discovery

Before writing the PRD, gather context by asking:

Phase 2: Analysis & Scoping

Phase 3: Draft

Write the PRD following the schema below.

Quality Standards

Requirements

Use concrete, measurable criteria. Avoid vague terms.

Vague (Avoid) Concrete (Use)
"fast" "returns within 200ms"
"easy to use" "achieves 100% Lighthouse Accessibility score"
"modern UI" "follows /web-design guidelines"

PRD Schema

1. Executive Summary

2. User Experience & Functionality

3. Technical Requirements (if applicable)

4. Risks & Roadmap

Output

Save PRDs to: documentation/prds/

Format: documentation/prds/YYYY-MM-DD-<feature-name>.md

Example Template

# [Feature Name] PRD

## Executive Summary

**Problem**: [1-2 sentences on the pain point]

**Solution**: [1-2 sentences on the fix]

**Success Criteria**:

- KPI 1: [measurable]
- KPI 2: [measurable]

## User Stories

- **Story 1**: As a [user], I want [action] so that [benefit]
  - Acceptance Criteria:
    - [ ] Criteria 1
    - [ ] Criteria 2

## Non-Goals

- [What we're NOT building]

## Technical Specs

### Architecture

[Description]

### Integrations

[Description]

## Risks

- Risk 1: [description]
- Risk 2: [description]
Markdown source
File outline
---
name: prd
description: Write Product Requirements Documents — problem statement, user stories, acceptance criteria, success metrics, out-of-scope boundaries, stakeholder alignment.
license: MIT
---

# Product Requirements Document (PRD)

## Overview

Create comprehensive PRDs that bridge business vision and technical execution.
PRDs should be clear, measurable, and actionable.

## When to Use

Use when:

- Starting a new product or feature
- Translating ideas into technical specifications
- Stakeholders need a source of truth for project scope
- User asks to "write a PRD", "document requirements", "plan a feature"

## Workflow

### Phase 1: Discovery

Before writing the PRD, gather context by asking:

- **The Core Problem**: Why are we building this now?
- **Success Metrics**: How do we know it worked?
- **Constraints**: Budget, tech stack, deadline?

### Phase 2: Analysis & Scoping

- Map out the user flow
- Define non-goals to protect timeline

### Phase 3: Draft

Write the PRD following the schema below.

## Quality Standards

### Requirements

Use concrete, measurable criteria. Avoid vague terms.

| Vague (Avoid) | Concrete (Use)                                 |
| ------------- | ---------------------------------------------- |
| "fast"        | "returns within 200ms"                         |
| "easy to use" | "achieves 100% Lighthouse Accessibility score" |
| "modern UI"   | "follows /web-design guidelines"               |

## PRD Schema

### 1. Executive Summary

- **Problem Statement**: 1-2 sentences on the pain point
- **Proposed Solution**: 1-2 sentences on the fix
- **Success Criteria**: 3-5 measurable KPIs

### 2. User Experience & Functionality

- **User Personas**: Who is this for?
- **User Stories**: Format: "As a [user], I want to [action] so that [benefit]"
- **Acceptance Criteria**: Bulleted "done" definitions
- **Non-Goals**: What are we NOT building?

### 3. Technical Requirements (if applicable)

- **Architecture Overview**: Data flow and component interaction
- **Integration Points**: APIs, databases, authentication
- **Security & Privacy**: Data handling and compliance

### 4. Risks & Roadmap

- **Phased Rollout**: MVP → v1.1 → v2.0
- **Technical Risks**: Latency, cost, or dependency failures

## Output

Save PRDs to: `documentation/prds/`

Format: `documentation/prds/YYYY-MM-DD-<feature-name>.md`

## Example Template

```markdown
# [Feature Name] PRD

## Executive Summary

**Problem**: [1-2 sentences on the pain point]

**Solution**: [1-2 sentences on the fix]

**Success Criteria**:

- KPI 1: [measurable]
- KPI 2: [measurable]

## User Stories

- **Story 1**: As a [user], I want [action] so that [benefit]
  - Acceptance Criteria:
    - [ ] Criteria 1
    - [ ] Criteria 2

## Non-Goals

- [What we're NOT building]

## Technical Specs

### Architecture

[Description]

### Integrations

[Description]

## Risks

- Risk 1: [description]
- Risk 2: [description]
```