write-prd
Skill by digoal
Writes a practical Product Requirements Document from a product idea, feature concept, customer request or business problem. It saves the PRD as a diagram-rich Markdown file under the current project's markdown/ directory. It is for product, design, engineering, testing and business teams reviewing product work.
Install write-prd
Built from the published package, never by AI.
git clone --depth 1 https://github.com/digoal/blog /tmp/blog && mkdir -p ~/.claude/skills && cp -r /tmp/blog/skills/write-prd ~/.claude/skills/write-prdRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/digoal/blog /tmp/blog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/blog/skills/write-prd ~/.gemini/antigravity-cli/skills/write-prdAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Write PRD is an agent skill that turns a product idea, feature concept, customer request, business problem or rough product opportunity into a Product Requirements Document. It follows a chain from problem to user, goal, evidence, scope, behavior, acceptance and launch validation. The skill is triggered by requests to write, draft, create or save a PRD, product spec or feature requirements, including Chinese terms such as 产品需求文档.
The output is a Markdown file saved under the current project's markdown/ directory. The PRD includes at least one diagram, goals and non-goals, functional requirements, acceptance criteria, metrics, a launch plan and open questions. It is written for product, design, engineering, testing and business stakeholders. The source is published by digoal.
Written from the project's SKILL.md and checked against it.
What it can do
- Write a PRD from an ideaTurns a product idea, feature concept or customer request into a structured Markdown PRD.
- Add diagramsIncludes Mermaid workflows, journeys or state diagrams, and can output separate SVG files.
- Define requirementsCovers user stories, edge cases, permissions, data rules and acceptance criteria for each capability.
- Plan validationSets result, process and guardrail metrics along with launch, rollback and review plans.
- Save and verify the PRDWrites the file to the project's markdown/ directory and checks that required sections are present.
Try asking
- Write a PRD for a customer request to export reports to Excel
- Draft a product requirements document for a new team invitation feature
- Create a PRD with diagrams and acceptance criteria for an AI summary tool
Good to know
- The PRD is written in Chinese unless the user asks for another language.
- Technical architecture is not specified unless the user asks for it.
- Clarification questions are asked only when missing details would change the product direction.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/write-prd/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml256 B -
references/prd-template.md5 KB
Alternatives to write-prd
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
write-prd: common questions
Where is the generated PRD saved?
It is saved as Markdown under the current project's markdown/ directory, named markdown/<topic>-prd-<YYYYMMDD>.md. The directory is created if it is missing.
What language does the PRD use?
The PRD is written in Chinese unless the user asks for another language.
Does the skill design the technical architecture?
No, not unless the user asks. It defines product behavior, constraints and verification rather than implementation internals.
How do I install write-prd?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is write-prd free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is write-prd safe to use?
It scores 83 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to write-prd?
Similar skills: ask-user-question, beads, google_tasks, recall.
