PRD Generation

PRD Generation is a command for GitHub Copilot from jnPiyush/AgentX. It costs 12 tokens per session (445 once invoked), scanned A, original, Apache-2.0.

A command prompt that turns an epic—a large piece of planned product work—into a Product Requirements Document (PRD), which describes what to build and how success will be judged.

In plain words
What is it for?
Use it to document the problem, users, goals, requirements, acceptance criteria, user flows, risks, and measurable success criteria for an epic.
Why use it?
It gives a product team a structured starting point instead of leaving goals, requirements, user stories, risks, and exclusions scattered across notes.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: agent in frontmatter; mentions AGENTS.md.

Good fit Use it to document the problem, users, goals, requirements, acceptance criteria, user flows, risks, and measurable success criteria for an epic.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jnpiyush/agentx/prd-gen
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.

Clone the repo
git clone --depth 1 https://github.com/jnPiyush/AgentX

Made for: GitHub Copilot.

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 Generation

README.md
[![agentmods](https://agentmods.dev/badge/commands/jnpiyush/agentx/prd-gen/github.svg)](https://agentmods.dev/commands/jnpiyush/agentx/prd-gen)
Your own site
<a href="https://agentmods.dev/commands/jnpiyush/agentx/prd-gen"><img src="https://agentmods.dev/badge/commands/jnpiyush/agentx/prd-gen/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 Generation

Your own site · 80×15
<a href="https://agentmods.dev/commands/jnpiyush/agentx/prd-gen"><img src="https://agentmods.dev/badge/commands/jnpiyush/agentx/prd-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 445 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.00012 $0.00445
Opus 5.5 $0.00005 $0.00178
Sonnet 5.5 $0.00002 $0.00089
Haiku 4.5 $0.00001 $0.00044

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

Security

Grade A, and why

PRD Generation 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.

.github/prompts/prd-gen.prompt.md · 81 lines

What it actually says

PRD Generation Prompt

Context

You are a Product Manager agent generating a PRD for Epic #{{issue_number}}.

Instructions

1. Analyze the Epic

  • Read the epic description thoroughly
  • Identify the core problem being solved
  • Understand the business value

2. Generate PRD Sections

Problem Statement

  • What problem are we solving?
  • Why is this important now?
  • What happens if we don't solve it?

Target Users

  • Primary persona (demographics, goals, pain points)
  • Secondary personas if applicable
  • User journey context

Goals and Success Metrics

  • Primary business goal
  • Measurable success criteria (KPIs)
  • Timeframe for measurement

Requirements Prioritize using MoSCoW:

  • P0 (Must Have): Core functionality
  • P1 (Should Have): Important features
  • P2 (Nice to Have): Enhancements

User Stories Format: "As a [user], I want [feature] so that [benefit]" Include acceptance criteria for each story.

User Flows

  • Happy path flow diagram
  • Error/edge case flows
  • Entry and exit points

Out of Scope Explicitly list what is NOT included.

Risks and Mitigations

  • Technical risks
  • Business risks
  • Timeline risks

3. Output Format

Create PRD at: docs/artifacts/prd/PRD-{{issue_number}}.md

Use template: .github/templates/PRD-TEMPLATE.md

4. Quality Checklist

  • Problem is clearly defined
  • Users are identified with personas
  • Requirements are prioritized
  • User stories have acceptance criteria
  • Risks are identified with mitigations
  • Out of scope is explicit

References

  • Skills.md for standards
  • AGENTS.md for workflow
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 Changed f75cf8abcc9f
  2. 2mo ago Changed 24731632b81b
  3. 2mo ago First seen · 81 lines · 12 tokens per session scan A 89c97c342a7d

Subscribe to this mod's changes

PRD Generation is a command published in the GitHub repository jnPiyush/AgentX (19 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 445 once invoked, about $0.0000 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-06.

Related

PRD Generation compared with commands from other repositories

PRD Generation next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
PRD GenerationjnPiyush/AgentXCommand19todayApache-2.0A12GitHub Copilot
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code