prd-generator

prd-generator is a skill for Claude Code, Codex from nicepkg/ai-workflow. It costs 47 tokens per session (3,463 once invoked), scanned A, original, MIT.

A tool for creating Product Requirements Documents, or PRDs—documents that explain what a product or feature should do and why. It gathers context such as users, goals, success measures, constraints, and timeline.

In plain words
What is it for?
Use it to document features, clarify the problem being solved, define target users and success metrics, and structure product specifications.
Why use it?
It gives product, design, and engineering teams a shared description of the work. This reduces missing context and makes feature decisions easier to review and build.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nicepkg/ai-workflow/prd-generator
Any agent
npx skills add nicepkg/ai-workflow --skill prd-generator
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code, Codex.

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/nicepkg/ai-workflow/prd-generator.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/prd-generator)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/prd-generator"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/prd-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.03463
Opus 5 $0.00023 $0.01732
Sonnet 5 $0.00009 $0.00693
Haiku 4.5 $0.00005 $0.00346

Measured yesterday against content hash 37024f403238, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate_prd.sh, scripts/validate_prd.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

workflows/product-manager-workflow/.claude/skills/prd-generator/SKILL.md · 477 lines

How it starts

The opening of the file, as written. The whole thing — 477 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PRD Generator

Overview

Generate comprehensive, well-structured Product Requirements Documents (PRDs) that follow industry best practices. This skill helps product managers create clear, actionable requirements documents that align stakeholders and guide development teams.

Core Workflow

When a user requests to create a PRD (e.g., "create a PRD for a user authentication feature"), follow this workflow:

Step 1: Gather Context

Before generating the PRD, collect essential information through a discovery conversation:

Required Information:

  • Feature/Product Name: What are we building?
  • Problem Statement: What problem does this solve?
  • Target Users: Who is this for?
  • Business Goals: What are we trying to achieve?
  • Success Metrics: How will we measure success?
  • Timeline/Constraints: Any deadlines or limitations?

Discovery Questions to Ask:

1. What problem are you trying to solve?
2. Who is the primary user/audience for this feature?
3. What are the key business objectives?
4. Are there any technical constraints we should be aware of?
5. What does success look like? How will you measure it?
6. What's the timeline for this feature?
7. What's explicitly out of scope?

Note: If the user provides a detailed brief or requirements upfront, you can skip some questions. Always ask for clarification on missing critical information.

Step 2: Generate PRD Structure

Use the standard PRD template from references/prd_template.md to create a well-structured document. The PRD should include:

  1. Executive Summary - High-level overview (2-3 paragraphs)
  2. Problem Statement - Clear articulation of the problem
  3. Goals & Objectives - What we're trying to achieve
  4. User Personas - Who we're building for
  5. User Stories & Requirements - Detailed functional requirements
  6. Success Metrics - KPIs and measurement criteria
  7. Scope - What's in and out of scope
  8. Technical Considerations - Architecture, dependencies, constraints
  9. Design & UX Requirements - UI/UX considerations
  10. Timeline & Milestones - Key dates and phases
  11. Risks & Mitigation - Potential issues and solutions
  12. Dependencies & Assumptions - What we're relying on
  13. Open Questions - Unresolved items

Read the full file on GitHub · 477 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 477 lines · 47 tokens per session scan A 37024f403238

Subscribe to this mod's changes

prd-generator is a skill published in the GitHub repository nicepkg/ai-workflow (283 stars, last pushed 7mo ago), licensed MIT. It adds 47 tokens to every session and 3,463 once invoked, about $0.0002 per session on Opus 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.