write-prd
What it does
This skill writes a product requirements document from an idea or request, with diagrams and acceptance criteria. It is for product managers and teams who need a clear spec to build from.
When to use it
- ✓When you have a feature idea and need a spec for the team to build.
- ✓When you want acceptance criteria and launch checks in one document.
- ✓When you want a diagram-rich product spec saved as Markdown.
Skill link
https://github.com/digoal/blog/blob/master/skills/write-prd/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Write a PRD for adding a daily reminder feature to our habit tracker, with acceptance criteria.”
5 new skills a week. 1 minute to read.
How it works
It separates the user problem from the requested solution, sets goals and scope, describes the behavior, and adds tests and launch checks.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Write PRD
Core Rule
Turn the user's idea into a PRD that helps a team decide, build, test, launch, and review the product work. A good PRD is not a feature list; it is a clear product bet:
problem -> user -> goal -> evidence -> scope -> behavior -> acceptance -> launch validation
Save the final PRD as Markdown under the current project's markdown/ directory. Create the directory if missing.
Inputs
Use the user's prompt as the source idea. If the prompt is vague, infer conservatively and write assumptions explicitly in the PRD. Ask a clarification question only when the missing information would materially change the product direction, such as target user, business domain, or platform.
If the user provides source notes, meeting records, screenshots, tickets, links, or existing docs, use them as evidence. If current market, competitor, pricing, regulation, or live product data is required and not provided, verify with reliable sources before using specific claims.
Workflow
Normalize the idea
- Identify the product/domain, target user, triggering scenario, problem, proposed solution, and expected business outcome.
- Separate user problem from requested solution. For example, "export Excel" may mean reporting, sharing, audit, migration, or offline analysis.
- Name the PRD topic in a short Chinese or English slug.
Build the product argument
- Write a one-sentence product bet: "For [user], in [scenario], solve [problem], by [solution], measured by [metric]."
- State assumptions when evidence is absent.
- Include existing alternatives or workarounds; a new product competes with the user's current behavior.
- Define goals and non-goals before writing feature details.
Design the PRD structure
- Read
references/prd-template.mdwhen drafting the document. - Keep sections practical. Do not pad with generic market background.
- Scale detail with risk: simple internal tools can be concise; payment, data, permission, compliance, AI, or customer-facing flows need stronger edge cases and acceptance criteria.
- Read
Add diagrams
- Include at least one useful diagram.
- Prefer Mermaid for workflows, user journeys, state transitions, data flow, decision trees, and metric chains.
- ASCII text is acceptable for simple state tables or wireframe sketches.
- If using SVG, output the
.svgfile separately inmarkdown/and reference it from the PRD with a relative Markdown image link, for example. - Diagrams must support reasoning; do not add decorative graphics.
Write feature requirements
- For each major capability, cover: user story, main path, edge cases, permissions, data rules, system behavior, analytics/events, and acceptance criteria.
- Do not prescribe technical architecture unless the user asks. Product should define behavior, constraints, and verification, not implementation internals.
- For AI features, specify input, output, quality bar, editability, failure modes, human review, data retention, and safety boundaries.
Define validation
- Include result metrics, process metrics, and guardrail metrics.
- Define launch plan, rollout scope, rollback conditions, and post-launch review timing.
- Include stop conditions: what evidence means the team should stop, rollback, or change hypothesis.
Save and verify
- File name:
markdown/<topic>-prd-<YYYYMMDD>.md. - If SVG diagrams are created, use
markdown/<topic>-<diagram-name>-<YYYYMMDD>.svg. - After writing, verify the Markdown file exists and includes a diagram, goals/non-goals, requirements, acceptance criteria, metrics, launch plan, and open questions.
- File name:
Output Requirements
The PRD must be written in Chinese unless the user asks for another language.
The final Markdown should be complete enough for product, design, engineering, testing, and business stakeholders to review. Use tables where they improve scanning, but do not hide weak reasoning in tables. Use concrete defaults for missing details and mark them as assumptions.
Required sections:
- Title and metadata
- One-sentence product bet
- Background and problem
- Target users and scenarios
- Evidence and assumptions
- Goals and non-goals
- Scope and release slicing
- User journey or workflow diagram
- Functional requirements
- Edge cases and constraints
- Data, permissions, analytics, and observability
- Acceptance criteria
- Launch, rollout,
FAQ
How is a PRD different from a BRD?
A PRD gives feature behavior and acceptance details, while a BRD focuses on the business case.
What if my idea is vague?
The skill writes its assumptions clearly into the document.
Where is it saved?
It is saved as a Markdown file in the project's markdown folder.
Details
Original description by the author
Write a practical Product Requirements Document (PRD) from a product idea, feature concept, customer request, business problem, or rough product opportunity. Use when the user asks to write, draft, create, generate, or save a PRD, product requirements document, product spec, feature requirements, 产品需求文档, 产品方案, 需求说明, or PRD from an idea. Output a diagram-rich Markdown PRD under the current project's markdown/ directory.
repo: digoal/blog
Popularity
- GitHub stars
- 8.6k
- Ranking position
- #12380
- License
- GPL-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
article-to-podcast-script
8.6kHelps your agent turn a Markdown article into a first-person podcast script for one to four speakers, saved as a text file, in Chinese by default.
axiom-explainer
8.6kHelps your agent write a clear Chinese article that explains one viewpoint, law or theory, with examples, limits and simple diagrams for readers.
blog-cover-poster
8.6kHelps your agent turn an article or notes into a set of vertical poster images, with a cover and several slides that explain the main points.
buffett
8.6kHelps your agent think through company and stock decisions the way Warren Buffett does, using his ideas on moats, management and margin of safety.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.