通过用户访谈、代码库探索与模块设计来编写 PRD(产品需求文档),然后以 GitHub issue 的形式提交。适用于用户希望编写 PRD、创建产品需求文档,或规划一个新功能。

MITAuto-check passedProduct & Project Management

Install Write A Prd

skills CLI
$ npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-prd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ProgrammerAnthony/Anything-Extract write-a-prd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Anything-Extract.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/write-a-prd .claude/skills/write-a-prd && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
write-a-prd
GitHub stars
139
Token cost
~327 tokens
SKILL.md length
72 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

通过用户访谈、代码库探索与模块设计来编写 PRD(产品需求文档),然后以 GitHub issue 的形式提交。适用于用户希望编写 PRD、创建产品需求文档,或规划一个新功能。

  • Works in 4 steps: 向用户索要对他们想解决的“问题”的长篇、细节充分的描述,以及任何潜在的解决思路。 → 探索仓库以验证他们的判断,并理解当前代码库的现状。 → 不断地“访谈用户”:围绕方案树的每个分支追问,直到你们对设计形成共同理解。要逐步走… → …
  • Tasks that involve PRD writing
  • SKILL.md covers 问题陈述(Problem Statement), 解决方案(Solution), 用户故事(User Stories) and 实现决策(Implementation Decisions), plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Write A Prd is an agent skill from ProgrammerAnthony/Anything-Extract. 通过用户访谈、代码库探索与模块设计来编写 PRD(产品需求文档),然后以 GitHub issue 的形式提交。适用于用户希望编写 PRD、创建产品需求文档,或规划一个新功能。

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering PRD writing. It works with GitHub. The repository describes itself as: 高效文档识别&知识库&本地启动,前后端;整合QAnything、dify等思想和源码,快速批量可靠提取文档关键信息并导出. The licence is MIT.

When your agent uses it

  • Tasks that involve PRD writing

Example prompts

  • “/write-a-prd”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 向用户索要对他们想解决的“问题”的长篇、细节充分的描述,以及任何潜在的解决思路。
  2. 探索仓库以验证他们的判断,并理解当前代码库的现状。
  3. 不断地“访谈用户”:围绕方案树的每个分支追问,直到你们对设计形成共同理解。要逐步走过设计树的每条路径,逐个解决决策之间的依赖关系。
  4. 在你理解这些决策之后,勾勒出你需要构建或修改的主要模块。并积极寻找可将“深模块(deep modules)”抽取出来、以便能在隔离环境下进行测试的机会。

What it can do on your machine

Read from SKILL.md and the folder at commit f1ed557. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Write A Prd loads about 327 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 72 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~327

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ProgrammerAnthony/Anything-Extract at commit f1ed557, republished under its MIT licence (© ProgrammerAnthony). 72 words, ~327 tokens.

Download SKILL.mdSave it as .claude/skills/write-a-prd/SKILL.md (or your agent's skills folder).
name
write-a-prd
description
通过用户访谈、代码库探索与模块设计来编写 PRD(产品需求文档),然后以 GitHub issue 的形式提交。适用于用户希望编写 PRD、创建产品需求文档,或规划一个新功能。

当用户希望创建 PRD 时,将调用本技能。你可以根据需要跳过其中一些步骤。

  1. 向用户索要对他们想解决的“问题”的长篇、细节充分的描述,以及任何潜在的解决思路。

  2. 探索仓库以验证他们的判断,并理解当前代码库的现状。

  3. 不断地“访谈用户”:围绕方案树的每个分支追问,直到你们对设计形成共同理解。要逐步走过设计树的每条路径,逐个解决决策之间的依赖关系。

  4. 在你理解这些决策之后,勾勒出你需要构建或修改的主要模块。并积极寻找可将“深模块(deep modules)”抽取出来、以便能在隔离环境下进行测试的机会。

所谓深模块(deep module),与浅模块(shallow module)相对:它会把大量功能封装进一个简单、可测试的接口,并且很少会频繁变化。

和用户一起确认这些模块是否符合他们的预期,并让用户确认:哪些模块希望你为其编写测试。

  1. 当你已经对问题与解决方案形成完整理解后,使用下面的模板来撰写 PRD。PRD 应以 GitHub issue 的形式提交。
<prd-template>

问题陈述(Problem Statement)

从用户视角来看,用户正面临的那项问题。

解决方案(Solution)

从用户视角来看,针对该问题的解决方案。

用户故事(User Stories)

一份非常长的、带编号的用户故事清单。每条用户故事应采用以下格式:

  1. 作为一个 <actor>,我希望能够 <feature>,以便 <benefit>
<user-story-example>
1. 作为移动银行客户,我希望能查看我账户的余额,以便我能更好地做出关于支出的决策
</user-story-example>

这份用户故事清单应当尽可能详尽,并覆盖功能的各个方面。

实现决策(Implementation Decisions)

实现决策列表。可能包括:

  • 将要构建/修改的模块
  • 将要修改的这些模块的接口
  • 来自开发者的技术澄清
  • 架构层面的决策
  • schema 的变更
  • API 合约(API contracts)
  • 具体交互方式

不要包含具体文件路径或代码片段。这些内容很可能会在后续很快变得过时。

测试决策(Testing Decisions)

测试决策列表。需要包含:

  • 你认为“一条好测试”应当是什么(只测试外部行为,不测试实现细节)
  • 需要被测试的模块
  • 测试的先例/参考(即仓库中类似类型测试的对照)

不在范围内(Out of Scope)

描述本 PRD 中明确不包含的内容。

进一步备注(Further Notes)

关于该功能的其他补充说明。

</prd-template>

© ProgrammerAnthony, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/write-a-prd of ProgrammerAnthony/Anything-Extract.

Open the folder on GitHubat commit f1ed557

Compare with similar skills

Write A Prd next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Write A Prd compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Write A Prd this skillProgrammerAnthony/Anything-Extract139—~327Automated safety check: PassMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Ouroboros PM InterviewQ00/ouroboros6.2k—~5.7kAutomated safety check: PassMIT
To Issuessmallnest/pigo474—~1.9kAutomated safety check: PassMIT
Write A Prdbestofjs/bestofjs3.1k1 repos~722Automated safety check: PassMIT
Write Update Tidb Docspingcap/docs616—~2.3kAutomated safety check: PassCustom licence

Similar skills

  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Runs a guided product-manager interview that classifies each question automatically and produces a Product Requirements Document.

    6.2k GitHub stars~5.7k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • To Issues

    smallnest/pigo

    Decompose a PRD and/or SPEC into implementable Issues and create them in your chosen platform (GitHub, Local, or Baidu iCafe).

    474 GitHub stars~1.9k tokensUpdated 25 days ago
    Product & Project ManagementAuto-check passed
  • Write A Prd

    bestofjs/bestofjs

    Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue.

    3.1k GitHub starsUsed in 1 repo~722 tokens
    Product & Project ManagementAuto-check passed
  • Write new TiDB documentation or update existing TiDB documentation from code changes, PRs, issues, design docs, product specs, rough drafts, existing docs, or short feature descriptions.

    616 GitHub stars~2.3k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Write Product Spec

    bholmesdev/hubble.md

    Write a PRODUCT.md spec for a significant Hubble user-facing feature, focused only on user experience and observable behavior.

    1.5k GitHub stars~966 tokensUpdated 6 days ago
    Product & Project ManagementAuto-check passed

More from ProgrammerAnthony/Anything-Extract

All 13 skills in this repo
  • Backend Code Review

    ProgrammerAnthony/Anything-Extract

    指导在项目(python项目)中队后端代码进行质量、安全、可维护性与最佳实践审查,基于既定规则清单。适用于用户请求对 backend/ 下后端文件(如 .py)进行审查、分析或改进。不用于前端文件(如 .tsx、.ts、.js)。支持待提交变更审查、代码片段审查、按文件审查。

    139 GitHub stars~791 tokensUpdated 4 mo ago
    Auto-check passed
  • Frontend Code Review

    ProgrammerAnthony/Anything-Extract

    指导在项目中对前端代码(Next.js/React/TypeScript/Tailwind 等)进行结构、可维护性、性能与一致性审查,基于既定规则清单。适用于用户请求审查 .tsx/.ts/.js/.jsx 等前端文件或前端目录下的页面与组件。不用于后端代码(如 .py)。

    139 GitHub stars~957 tokensUpdated 4 mo ago
    Auto-check passed
  • Design An Interface

    ProgrammerAnthony/Anything-Extract

    使用并行子 agent 为某个模块生成多个根本不同的接口设计。适用于用户希望设计某个 API、探索接口选项、对比模块形状(module shapes),或提到“design it twice(把它设计两遍)”。

    139 GitHub stars~448 tokensUpdated 4 mo ago
    Auto-check passed
  • TDD

    ProgrammerAnthony/Anything-Extract

    使用 RED-GREEN-重构(red-green-refactor)循环进行测试驱动开发。适用于用户希望用 TDD 构建新功能或修复 bug,提到 “red-green-refactor”,希望使用集成测试,或询问“test-first development(先写测试)”。

    139 GitHub stars~572 tokensUpdated 4 mo ago
    Auto-check passed
  • Ubiquitous Language

    ProgrammerAnthony/Anything-Extract

    从当前对话中抽取 DDD 风格的“统一语言”术语表(ubiquitous language glossary),标记歧义,并提出规范的术语选择。保存为 UBIQUITOUSLANGUAGE.md。适用于用户希望定义领域术语、构建术语表、固化用词并强化术语一致性,或提到 “domain model” / “DDD”(领域模型与 DDD)。

    139 GitHub stars~647 tokensUpdated 4 mo ago
    Auto-check passed
  • Write A Skill

    ProgrammerAnthony/Anything-Extract

    以正确的技能结构、渐进式披露与打包资源来创建新的 agent 技能。适用于用户希望创建、编写或构建新的技能. An agent skill from ProgrammerAnthony/Anything-Extract.

    139 GitHub stars~407 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Write A Prd

What does Write A Prd do?

通过用户访谈、代码库探索与模块设计来编写 PRD(产品需求文档),然后以 GitHub issue 的形式提交。适用于用户希望编写 PRD、创建产品需求文档,或规划一个新功能。. Write A Prd is an agent skill from ProgrammerAnthony/Anything-Extract.

When should I use Write A Prd?

Write A Prd fits situations like: tasks that involve PRD writing.

How do I install Write A Prd in Claude Code?

Run `npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-prd -a claude-code`. Or copy the skill folder (.agents/skills/write-a-prd in ProgrammerAnthony/Anything-Extract) into .claude/skills/write-a-prd in your project. Claude Code loads it when a task matches its description.

How do I install Write A Prd in Codex?

Run `npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-prd -a codex`. Or copy the skill folder (.agents/skills/write-a-prd in ProgrammerAnthony/Anything-Extract) into .agents/skills/write-a-prd in your project. Codex loads it when a task matches its description.

Can I use Write A Prd in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-prd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/write-a-prd, .gemini/skills/write-a-prd, .github/skills/write-a-prd and .opencode/skills/write-a-prd in your project.

What does Write A Prd need to run?

SKILL.md names no scripts, command-line tools or credentials: Write A Prd is instructions for the agent only.

Does Write A Prd access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Write A Prd safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Write A Prd use?

Write A Prd is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Write A Prd use?

About 327 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Write A Prd?

Skills that share tags, products or a category with Write A Prd: CCPM Project Management (automazeio/ccpm, 8.4k stars), Ouroboros PM Interview (Q00/ouroboros, 6.2k stars), To Issues (smallnest/pigo, 474 stars) and Write A Prd (bestofjs/bestofjs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Write A Prd?

ProgrammerAnthony (a GitHub user) maintains it in ProgrammerAnthony/Anything-Extract, which has 139 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on May 13, 2026.

Source: ProgrammerAnthony/Anything-Extract on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.