Prd

From tae0y/python-project-template · View interactive version

Prd is an AI agent skill from the GitHub repository tae0y/python-project-template. Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.

How to use this skill

Skill file

Product Requirements Document (PRD)

Overview

Design comprehensive, production-grade Product Requirements Documents (PRDs) that bridge the gap between business vision and technical execution. This skill works for modern software systems, ensuring that requirements are clearly defined.

When to Use

Use this skill when:


Operational Workflow

Phase 1: Deep Discovery (The Interview)

Before writing a single line of the PRD, you MUST conduct an in-depth, multi-round interview with the user using AskUserQuestion. Do not assume context. Do not settle for surface-level answers.

Interview Protocol:

  1. Start broad, then drill deep. Begin with the core problem, then follow each answer with probing follow-ups that surface hidden assumptions, edge cases, and trade-offs.
  2. Ask non-obvious questions. Avoid generic checklist questions. Tailor each question to what the user just said. Challenge vague or contradictory statements.
  3. Continue until saturation. Keep interviewing until no new information emerges. Minimum 3 rounds of questions — more if the domain is complex or ambiguous.
  4. Surface gray zones explicitly. For every major feature or requirement, ask: "What happens when [unexpected scenario]?" and "What should we NOT do here?"

Interview Dimensions (cover all that apply):

Anti-Patterns for Discovery:

Phase 1.5: Technical Feasibility Research

Before drafting, verify that key technical assumptions actually hold. Do not rely on training knowledge alone — use WebSearch to check official docs, changelogs, and known compatibility issues.

When to run this phase:

Research Checklist:

Output: Add a ## Technical Feasibility section to the PRD that lists:

Anti-Patterns:

Phase 2: Analysis & Scoping

Synthesize the user's input and feasibility findings. Identify dependencies and hidden complexities.

Phase 3: Technical Drafting

Generate the document using the Strict PRD Schema below.


PRD Quality Standards

Requirements Quality

Use concrete, measurable criteria. Avoid "fast", "easy", or "intuitive".

# Vague (BAD)
- The search should be fast and return relevant results.
- The UI must look modern and be easy to use.

# Concrete (GOOD)
+ The search must return results within 200ms for a 10k record dataset.
+ The search algorithm must achieve >= 85% Precision@10 in benchmark evals.
+ The UI must follow the 'Vercel/Next.js' design system and achieve 100% Lighthouse Accessibility score.

Strict PRD Schema

You MUST follow this exact structure for the output:

1. Executive Summary

2. User Experience & Functionality

3. AI System Requirements (If Applicable)

4. Technical Feasibility

5. Technical Specifications

5. Risks & Roadmap


Implementation Guidelines

DO (Always)

DON'T (Avoid)


Example: Intelligent Search System

1. Executive Summary

Problem: Users struggle to find specific documentation snippets in massive repositories.

Solution: An intelligent search system that provides direct answers with source citations.

Success:

2. User Stories

3. AI System Architecture

4. Evaluation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.