draft-prd

A workflow that turns a product brief into a detailed PRD, or product requirements document, with feature behavior, user flows, success criteria, edge cases, and exclusions.

In plain words
What is it for?
Use it to interview the user about each planned feature and write the result to spec/PRD.md.
Why use it?
It fills in the details needed for implementation and checks that the detailed plan still matches the original brief.

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/firatcand/forge/draft-prd
Any agent
npx skills add firatcand/forge --skill draft-prd
Clone the repo
git clone --depth 1 https://github.com/firatcand/forge

Made for: Claude Code, Codex.

Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 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.00043 $0.00521
Opus 5 $0.00022 $0.00260
Sonnet 5 $0.00009 $0.00104
Haiku 4.5 $0.00004 $0.00052

Measured 2d ago against content hash 30cbd75aa6bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

draft-prd 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 2d 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.

skills/draft-prd/SKILL.md · 52 lines

What it actually says

/draft-prd

Preconditions

spec/BRIEF.md must exist. If not, refuse and direct the user to /forge.

Orchestration

  1. Read spec/BRIEF.md
  2. Check if user has a product-spec skill globally — if yes, invoke it with BRIEF as input
  3. Otherwise, use templates/PRD.template.md and walk Claude through filling each section
  4. Per-feature discovery loop — for each item in BRIEF.v1 scope:
    • Ask: "What does this feature do? What's the user flow?"
    • Ask: "What's the success criteria for this feature? Edge cases or failure modes?"
    • Ask: "What does this feature NOT do?" (per-feature non-goals)
    • Capture answers as a per-feature subsection in PRD
  5. Cross-check generated PRD against BRIEF — flag any drift (new features outside v1 scope, definition-of-done that conflicts with BRIEF)
  6. Write to spec/PRD.md

Required PRD sections

  • Problem (synthesized from BRIEF, made concrete with specific user/moment/workaround)
  • Target user (specific persona, JTBD format)
  • Per-feature breakdown — for each v1 feature: what it does, user flow, acceptance criteria, edge cases, per-feature non-goals
  • Acceptance criteria (overall v1) — testable bullets that prove v1 is done end-to-end
  • Non-goals (must include all from BRIEF.non-goals)
  • Constraints (budget, timeline, regulatory, integrations, secret management, task tracker)

Output

Print:

PRD written to spec/PRD.md

Per-feature acceptance preview:
- [feature 1]: [criterion]
- [feature 2]: [criterion]

Gate 2 — review the PRD. To proceed:
  • /draft-spec to generate the technical SPEC
  • /draft-design to generate the DESIGN doc (if UI surface)
  • Edit spec/PRD.md directly
  • /draft-prd --refine [section] to re-generate a section
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. 2d ago First seen · 52 lines · 43 tokens per session scan A 30cbd75aa6bc

Subscribe to this mod's changes

draft-prd is a skill published in the GitHub repository firatcand/forge (13 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 521 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-08-30.