prd-generator

prd-generator is a skill for Claude Code from hamzafarooq/claude-code-starter. It costs 30 tokens per session (513 once invoked), scanned A, original, MIT.

A product requirements document (PRD) writer that turns a feature brief into a structured plan. A PRD explains the problem, users, goals, requirements, tests, risks, and assumptions for a feature.

In plain words
What is it for?
Use it to document a feature's problem, goals, user stories, acceptance criteria, risks, constraints, and what the feature will not include.
Why use it?
It removes the need to build a product specification from scattered notes. The structure helps product, design, engineering, and QA teams share the same understanding before work begins.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to document a feature's problem, goals, user stories, acceptance criteria, risks, constraints, and what the feature will not include.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzafarooq/claude-code-starter/prd-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamzafarooq/claude-code-starter --skill prd-generator
Clone the repo
git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prd-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzafarooq/claude-code-starter/prd-generator/github.svg)](https://agentmods.dev/skills/hamzafarooq/claude-code-starter/prd-generator)
Your own site
<a href="https://agentmods.dev/skills/hamzafarooq/claude-code-starter/prd-generator"><img src="https://agentmods.dev/badge/skills/hamzafarooq/claude-code-starter/prd-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prd-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzafarooq/claude-code-starter/prd-generator"><img src="https://agentmods.dev/badge/skills/hamzafarooq/claude-code-starter/prd-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00513
Opus 5.5 $0.00012 $0.00205
Sonnet 5.5 $0.00006 $0.00103
Haiku 4.5 $0.00003 $0.00051

Measured 1mo ago against content hash a2ce10d1c23a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prd-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/prd-generator/SKILL.md · 66 lines

What it actually says

What this skill does

When triggered, ask the user for:

  1. Feature name (one line)
  2. Problem being solved (1-3 sentences)
  3. Target user(s)
  4. Any known constraints or context (timeline, technical limits, compliance, etc.)

Then generate a full PRD using the structure below.


PRD Structure

1. Problem Statement

What pain are we solving and for whom? Why does this matter now?

2. Goals

3-5 measurable outcomes we want to achieve with this feature. Format: "Increase [metric] by [amount] within [timeframe]"

3. Non-Goals

What this feature explicitly will NOT do. Be specific. This section prevents scope creep.

4. Users & Use Cases

Who uses this feature and in what context? Include 2-3 concrete scenarios (short narrative, not bullets).

5. User Stories

Written as: "As a [user type], I want to [action] so that [outcome]." Group into: Must-have / Should-have / Nice-to-have

6. Acceptance Criteria

Written in Given/When/Then format for each must-have story. Should be specific enough that a QA engineer can write a test.

7. Risks & Assumptions

Two columns:

  • Risks — What could go wrong? What dependencies exist?
  • Assumptions — What are we treating as true that we haven't confirmed?

8. Open Questions

What must be decided before engineering starts? Format as questions, not statements. Assign an owner if known.

9. Success Metrics

How will we measure whether this feature succeeded? Include leading indicators (early signals) and lagging indicators (final outcomes).


How to respond

  • Write the full PRD directly — do not explain what you're about to write
  • Use plain English — avoid technical jargon
  • Mark any section where you made an assumption with [ASSUMPTION]
  • Mark anything that needs the PM's input with [NEEDS INPUT]
  • End with: "Review the [ASSUMPTION] and [NEEDS INPUT] sections before sharing with engineering."
  • Ask the user if they want to save it to docs/prd.md
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 66 lines · 30 tokens per session scan A a2ce10d1c23a

Subscribe to this mod's changes

prd-generator is a skill published in the GitHub repository hamzafarooq/claude-code-starter (145 stars, last pushed 7d ago), licensed MIT. It adds 30 tokens to every session and 513 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.