prd-writing

prd-writing is a skill for Claude Code, Codex from AsyrafHussin/agent-skills. It costs 56 tokens per session (1,486 once invoked), scanned A, original, MIT.

A step-by-step guide for writing a product requirements document (PRD), a written description of what a product or feature should do and why. It covers discovery, questions, project context, and requirements planning.

In plain words
What is it for?
Use it to create a PRD, feature specification, or product plan. For existing projects it starts by examining the codebase; for new projects it first clarifies the product idea and technical direction.
Why use it?
It helps turn an early idea into clear, actionable requirements before implementation begins. It also prevents important details about users, goals, technology, and constraints from being missed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

not rated 74repo +2 14d ago A scan Socket: passSnyk: passSkillSpector: pass 56 tokens original MIT

Good fit Use it to create a PRD, feature specification, or product plan. For existing projects it starts by examining the codebase; for new projects it first clarifies the product idea and technical direction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asyrafhussin/agent-skills/prd-writing
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 AsyrafHussin/agent-skills --skill prd-writing
Clone the repo
git clone --depth 1 https://github.com/AsyrafHussin/agent-skills

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-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/prd-writing/github.svg)](https://agentmods.dev/skills/asyrafhussin/agent-skills/prd-writing)
Your own site
<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/prd-writing"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/prd-writing/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-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/prd-writing"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/prd-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,486 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. Third-party audits
  • Socket pass 26 Mar 2026
  • Snyk pass 26 Mar 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00056 $0.01486
Opus 5 $0.00028 $0.00743
Sonnet 5 $0.00011 $0.00297
Haiku 4.5 $0.00006 $0.00149

Measured 11d ago against content hash 1c02fc1441db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

prd-writing 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 11d 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/prd-writing/SKILL.md · 153 lines

How it starts

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

PRD Writing

Step-by-step workflow for writing clear, actionable Product Requirements Documents. Follow the 6-step process below, using the 25 rules across 7 categories as supporting knowledge.

Metadata

  • Version: 1.0.0
  • Rule Count: 25 rules across 7 categories
  • License: MIT

Workflow

Follow these steps in order. Skip a step only if the user has already provided that information. Do NOT start drafting before completing discovery.

Step 1: Assess Project State

Determine what you're working with:

  • Existing project — code exists → explore the codebase first (models, routes, controllers, auth, patterns). See disc-codebase-exploration.
  • Empty/greenfield project — no code yet → ask the user what they want to build first. Brainstorm together until the product idea and core features are clear, then ask about planned stack, architecture decisions, and constraints.

Step 2: Ask Clarifying Questions

Ask 3-5 targeted questions to fill knowledge gaps. Use lettered options (A/B/C) when there are clear choices, and open-ended questions when you need free-text answers. Focus on:

  1. Problem — What problem are we solving? Why now?
  2. Users — Who are the target users?
  3. Scope — What should it NOT do?
  4. Success — How do we know it's done?
  5. Constraints — Timeline, budget, team size?

Mark unknowns as TBD, not assumptions. See disc-clarifying-questions.

Step 3: Draft the PRD

Use the template from struct-prd-template and fill in all 12 sections:

  1. Executive Summary — 1 paragraph: problem, solution, impact
  2. Problem Statement — what, who, evidence, why now
  3. Goals & Success Metrics — 3-5 measurable KPIs
  4. User Personas — primary and secondary with roles/goals/pain points
  5. User Stories & Acceptance Criteria — "As a / I want / So that" with checkboxes
  6. Functional Requirements — numbered FR-1, FR-2, etc.
  7. Non-Functional Requirements — performance, security, accessibility with specific numbers
  8. Technical Specifications — data model, auth, routes, integrations
  9. Out of Scope — what we're NOT building and why
  10. Non-Goals — what we're NOT optimizing for
  11. Dependencies & Risks — blockers with owners and mitigations
  12. Open Questions — unresolved items with owners and due dates

Read the full file on GitHub · 153 lines

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. 11d ago First seen · 153 lines · 56 tokens per session scan A 1c02fc1441db

Subscribe to this mod's changes

prd-writing is a skill published in the GitHub repository AsyrafHussin/agent-skills (74 stars, last pushed 14d ago), licensed MIT. It adds 56 tokens to every session and 1,486 once invoked, about $0.0003 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.