write-a-prd

Interview users and explore the codebase to draft a product requirements document.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/kehwar/pixi-square --skill write-a-prd-kehwar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-a-prd
Source: https://github.com/kehwar/pixi-square/tree/main/.agents/skills/write-a-prd
Command: npx skills add https://github.com/kehwar/pixi-square --skill write-a-prd-kehwar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams create a complete PRD by guiding user interviews, scanning the codebase for context, and designing modular solutions that align with business goals.

Core Features & Use Cases

  • Guided interviews: prompts and templates to capture user needs and constraints.
  • Codebase exploration: automatic repository context extraction to validate scope and dependencies.
  • Module design: high-level module design sketches and interfaces that map to requirements.
  • PRD generation and persistence: outputs a docs/prd/<name>.md file using a standard template.
  • Use Case: When planning a new feature, run the skill to generate a PRD draft and save it to the repository.

Quick Start

Run the skill to draft a PRD by guiding an interview and analyzing the repository context.

Frequently Asked Questions about write-a-prd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a product requirements document from user interviews and existing code?

You can create a product requirements document by running a guided interview to capture needs, scanning the codebase for context, and generating a template-driven PRD saved as a markdown file. This process validates scope and aligns modular design with business goals.

What is a template-driven PRD and how does it work with codebase exploration?

A template-driven PRD enforces a standardized documentation structure by extracting repository context to validate dependencies and scope. It maps interview-derived requirements to high-level module designs, outputting a structured markdown file for feature planning.

How do I draft a PRD for a new feature and save it to my repository?

To draft a PRD for a new feature, execute the skill to start an interactive interview, allow it to explore your codebase, and outline modules. It automatically persists the resulting requirements document to docs/prd/<name>.md in your repository.

Does this PRD generation approach work for validating scope and modular design planning?

Yes, this approach works for validating scope and modular design planning by combining user constraints from interviews with automatic repository extraction. It generates high-level module sketches and interfaces that map directly to validated business requirements.

Can I use this to generate a PRD without manually writing the documentation template?

Yes, you can generate a PRD without manual formatting because the skill enforces a template-driven structure automatically. It captures interview-derived requirements and codebase insights, saving the finalized document directly to your repository's docs folder.

When should I not use an automated PRD generator for software projects?

You should avoid an automated PRD generator when your software project lacks an accessible codebase for context extraction or when feature ideation requires no modular design planning. It is designed for capturing interview-derived requirements and validating dependencies within a repository.