prd-writer

prd-writer is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 45 tokens per session (881 once invoked), scanned A, original, Apache-2.0.

A guided process for turning a broad product idea or feature request into a product requirements document (PRD). A PRD explains what should be built, why it is needed, and how a development team can plan the work.

In plain words
What is it for?
Gathering project context, analysing the current state, collecting user needs, evaluating an iteration, choosing reference material, and writing a detailed PRD.
Why use it?
It helps fill in missing requirements and align product, business, and engineering decisions before development starts. The process includes research, review, clarification, and document drafting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Gathering project context, analysing the current state, collecting user needs, evaluating an iteration, choosing reference material, and writing a detailed PRD.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/prd-writer"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/prd-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 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
  • 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.00045 $0.00881
Opus 5 $0.00023 $0.00441
Sonnet 5 $0.00009 $0.00176
Haiku 4.5 $0.00005 $0.00088

Measured 12d ago against content hash 5964b1d09f6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

prd-writer 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 12d 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_archived/prd-writer/SKILL.md · 52 lines

What it actually says

PRD Writer Skill (产品需求文档撰写)

本 Skill 的核心目标是协助用户,将一个初步的产品构想或迭代需求,系统化地发展成一份完整的、符合业界标准的、可直接用于研发团队排期的产品需求文档(PRD)。

Agent 在此流程中扮演着商业分析师和产品经理的角色,通过一系列结构化的步骤,主动引导对话、澄清需求、对齐认知,并最终完成文档的撰写。

何时使用

当用户提出以下类型的需求时,应激活此 Skill:

  • “帮我为一个新项目/产品写一份 PRD。”
  • “我们准备开发XX功能的下一版,我们一起梳理一下需求。”
  • “我有一些关于XX产品的想法,你能帮我把它变成一个更具体的计划吗?”
  • “我们来规划一下下个季度的产品功能。”

核心工作流

本 Skill 的工作流程被定义在 references/workflow-and-best-practices.md 文件中。在开始任务前,必须首先阅读并严格遵循该文档中定义的 7 步工作流

工作流摘要

  1. 收集项目信息:通过搜索,建立对项目的全面上下文认知。
  2. 筛选高阶背景与现状:提炼项目愿景、路线图和当前状态。
  3. 生成“现状分析”文档:与用户确认对项目背景的共同理解。
  4. 获取用户洞察:引导用户提供对下一迭代的具体需求和想法。
  5. 分析、对齐并生成“迭代分析”文档:评估新需求,并制定前进计划。
  6. 识别参考资料并选择模板:准备撰写 PRD 所需的所有材料。
  7. 起草 PRD:综合所有信息,生成最终的 PRD 文档。

可用资产 (Assets)

本 Skill 提供了一个标准的 PRD 模板,以确保产出文档的专业性和完整性。

  • 路径: assets/PRD-Template.md
  • 用途:
    • 当项目中不存在可供参考的、高质量的旧版本 PRD 时,应使用此模板作为新 PRD 的基础。
    • 在工作流的第 6 步中,根据情况决定是使用此模板还是参考项目中的现有文档。

操作指南

  1. 启动:在任务开始时,向用户确认你将使用 prd-writer Skill,并简要说明你将遵循一个结构化的流程来合作。
  2. 遵循工作流:严格按照 references/workflow-and-best-practices.md 中定义的步骤推进。不要跳过任何一步,尤其是与用户确认和对齐的步骤(第 3、4、5 步)。
  3. 使用工具:熟练运用 search_file_contentglobread_filewrite_file 工具来完成信息收集、分析和文档撰写。
  4. 产出文档:流程中的每一步都应有明确的文档产出(现状分析、迭代分析、最终的 PRD)。确保所有产出的文档都遵循用户的命名和存储习惯。
  5. 完成:在生成最终的 PRD 草稿后,将其交付给用户,并告知用户可以对其进行最后的审阅和修改。任务至此完成。
Files

What ships with it

2 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. 12d ago First seen · 52 lines · 45 tokens per session scan A 5964b1d09f6e

Subscribe to this mod's changes

prd-writer is a skill published in the GitHub repository cafe3310/public-agent-skills (253 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 45 tokens to every session and 881 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

experts

Assemble a panel of experts to assess a problem from multiple professional perspectives, surface agreement and disagreement, and deliver a chaired recommendation with clear tradeoffs. Use when the user wants multi-expert judgment, a second opinion, design critique, option comparison, or a recommendation backed by…

flc1125/skills · 62 tokens

create-plan

A guide for creating repository-aware technical plans: written proposals for implementation, refactoring, migration, or design work based on the actual codebase.

flc1125/skills · 114 tokens

github-release-notes-writer

Draft or update user-focused GitHub Release Notes from verified tags, commits, pull requests, existing releases, and supplied changelog baselines. Use when preparing prerelease or stable release notes, turning GitHub's generated What's Changed list into a curated narrative, documenting upgrades or breaking changes, or…

flc1125/skills · 84 tokens

google-fonts-curator

Recommend high-taste Google Fonts for websites based on brand tone, page type, and visual direction. Use when the user needs font selection, font pairing, or aesthetic judgment within the Google Fonts ecosystem for landing pages, brand sites, editorial pages, portfolios, or digital products.

flc1125/skills · 61 tokens

programmer-motivator

Give calm, technically grounded encouragement to programmers when the user is stuck on a bug, frustrated by debugging, tired, discouraged, blaming themselves after a mistake, asking for motivation or emotional support while coding, wanting someone to stay with them through a hard problem, celebrating a breakthrough…

flc1125/skills · 102 tokens

subagent-orchestrator

Orchestrate subagent workflows for complex tasks that benefit from decomposition, role-based delegation, and parallel execution. Use when Codex should assemble a temporary team of subagents, choose roles from a reusable role library, create a controlled fallback role when no preset role fits, coordinate read-heavy…

flc1125/skills · 87 tokens