prd

Generate structured JSON Product Requirements Documents with stories and quality gates.

1|Updated Sep 3, 2026
One-click install
npx skills add https://github.com/amanpal3/SKILLs --skill prd-amanpal3
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prd
Source: https://github.com/amanpal3/SKILLs/tree/main/.agent/plugins/ralph/skills/prd
Command: npx skills add https://github.com/amanpal3/SKILLs --skill prd-amanpal3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning a vague feature idea into an implementable plan is error-prone and slow. This Skill converts a feature description into a detailed, machine-readable JSON PRD that the Ralph agent can execute deterministically, eliminating ambiguity before any code is written. ## Core Features & Use Cases - Structured Clarification: Asks 5-10 batched, multiple-choice clarifying questions covering goals, scope, stack, routes, data model, and mandatory quality gates. - Deterministic JSON Output: Produces a self-contained PRD with goals, non-goals, stack, routes, data model, business rules, quality gates, and dependency-ordered user stories (US-001, US-002, ...). - Iteration-Sized Stories: Enforces that every story fits in a single Ralph iteration, includes acceptance criteria with positive and negative cases, and puts setup stories first for new projects. - Use Case: Describe a workout tracker feature, answer the clarifying questions, and receive a prd-workout-tracker.json file ready for ralph build to execute story by story. ## Quick Start Ask the agent to create a PRD for your feature idea and answer its clarifying questions so it saves the JSON file to your tasks directory.

Frequently Asked Questions about prd

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

FAQPage Schema
How do I create a PRD for a new feature with an AI agent?▼

Provide a feature description and trigger the PRD skill with phrases like "create a prd" or "spec out". The agent asks 5-10 clarifying questions in batches, then saves a detailed JSON PRD to the path you specify.

What format does the generated PRD use?▼

The PRD is pure JSON, not Markdown. It includes version, project overview, goals, non-goals, stack, routes, data model, business rules, quality gates, and an array of user stories with IDs, dependencies, and acceptance criteria.

How are user stories structured in the JSON PRD?▼

Each story has a sequential ID like US-001, a status of "open", a dependsOn array of other story IDs, a description, and verifiable acceptance criteria including at least one example and one negative case.

Does the PRD skill work for existing codebases or only new projects?▼

It supports both, and explicitly asks whether the project is new or existing. For new projects, the first story must cover scaffolding, package installs, environment config, and local dev setup before data model work.

What are quality gates in a PRD and why are they required?▼

Quality gates are commands that must pass for each story, such as npm test, lint, or typecheck. The skill always asks about them and stores them only at the top-level qualityGates field so Ralph can verify each iteration.

What should I do after the PRD JSON is saved?▼

Close the planning chat and run `ralph build`. The saved JSON file becomes the single source of truth that Ralph executes deterministically, one story per iteration.