write-prd

A four-step workflow for creating product requirement documents, such as a PRD, BRD, or MRD, which describe what a product should do and why.

In plain words
What is it for?
Use it to validate demand, clarify requirements and edge cases, decide the first release scope, and generate product documentation.
Why use it?
It turns uncertain user needs into clarified requirements, a focused MVP (minimum viable product), and a finished document. It can also check whether earlier research documents already exist.

Skill for Claude CodeCodex

Part of the superPM plugin — 55 skills, 1 hook shipped together

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

Made for: Claude Code, Codex.

Or install superPM, the plugin that ships this one along with the rest of its 55 skills, 1 hook.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 544 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.00046 $0.00544
Opus 5 $0.00023 $0.00272
Sonnet 5 $0.00009 $0.00109
Haiku 4.5 $0.00005 $0.00054

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

Security

Grade A, and why

write-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 3d 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.

commands/write-prd/SKILL.md · 80 lines

What it actually says

Overview

This command chains 4 skills into a complete PRD writing workflow:

  1. pm-demand — Demand validation & pain point analysis
  2. pm-clarify — Requirement clarification & detail refinement
  3. pm-mvp — MVP scope definition
  4. pm-docs — Document generation (PRD/BRD/MRD)

Each step pauses for user confirmation before proceeding.

Execution Flow

Pre-check: Existing Documents

Check if prior discovery documents exist in docs/01-需求调研/. If yes, ask user if they want to skip Steps 1-3 and go directly to Step 4.

Step 1: Demand Validation

📝 Starting Step 1/4: Demand Validation This will validate the core user needs and pain points.

执行 /pm-demand

完成后,使用 AskUserQuestion 确认。

Step 2: Requirement Clarification

📝 Starting Step 2/4: Requirement Clarification This will clarify requirements, define acceptance criteria, and identify edge cases.

执行 /pm-clarify

完成后,使用 AskUserQuestion 确认。

Step 3: MVP Scoping

📝 Starting Step 3/4: MVP Scoping This will define the Minimum Viable Product scope.

执行 /pm-mvp

完成后,使用 AskUserQuestion 确认。

Step 4: Document Generation

📝 Starting Step 4/4: Document Generation This will generate the PRD/BRD/MRD document.

执行 /pm-docs

Completion

✅ PRD writing complete!

Generated documents:

  • docs/01-需求调研/需求调研报告.md
  • docs/01-需求调研/确认需求清单.md
  • docs/01-需求调研/MVP方案.md
  • docs/02-方案设计/PRD产品需求文档.md

Recommended next steps:

  1. /pm-proto — Start prototyping
  2. /pm-prd-review — Review the PRD
  3. /plan-launch — Plan the launch
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. 3d ago First seen · 80 lines · 46 tokens per session scan A ec2803db9ef9

Subscribe to this mod's changes

write-prd is a skill published in the GitHub repository konglong87/superPM (60 stars, last pushed 20d ago), licensed MIT. It adds 46 tokens to every session and 544 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.

Related

Other skills, from other repositories

deepsafe-scan

Preflight security scanner for AI coding agents — scans deployment config, skills/MCP servers, memory/sessions, and AI agent config files (hooks injection) for secrets, PII, prompt injection, and dangerous patterns. Runs 4 model behavior probes (persuasion, sandbagging, deception, hallucination). Supports LLM-enhanced…

XiaoYiWeio/deepsafe-scan · 120 tokens

douyin-upload-mcp-skill

通过抖音创作者平台(creator.douyin.com)发布视频和图文内容。首选调用 MCP 工具完成操作,MCP 无法满足时可运行 Skill 脚本兜底。禁止自行启动外部浏览器访问抖音。.

WJZ-P/douyin-upload-mcp-skill · 67 tokens

team-tasks

Coordinate multi-agent development pipelines using shared JSON task files. Use when dispatching work across dev team agents (code-agent, test-agent, docs-agent, monitor-bot), tracking pipeline progress, or running sequential/parallel workflows. Covers project init, task assignment, status tracking, agent dispatch via…

win4r/team-tasks · 88 tokens

multi-search

智能多引擎搜索,自动检测网络环境并按优先级切换:DuckDuckGo -> Tavily -> Bing API -> Bing爬虫。支持自动配额管理和网络缓存。Invoke when user needs web search with automatic engine selection and network adaptation.

Nex-ZMH/Agent-websearch-skill · 60 tokens

meeting-note-summarizer

Turn meeting notes or transcripts into factual summaries, decisions, questions, and action items. Use when a user wants a concise recap or needs explicit owners and deadlines extracted without filling in missing details.

iflytek/skillhub · 44 tokens

decision-matrix

Compare options with weighted scoring, pros and cons, pre-mortems, opportunity costs, and ICE prioritization. Use when a user wants to reason through a choice, expose assumptions, or rank alternatives.

iflytek/skillhub · 45 tokens