write-prd
Skill này làm gì
Skill này viết tài liệu yêu cầu sản phẩm (PRD) từ một ý tưởng hoặc yêu cầu, kèm sơ đồ và tiêu chí nghiệm thu. Skill dành cho quản lý sản phẩm và đội cần một đặc tả rõ ràng để xây dựng.
Khi nào nên dùng
- ✓Khi bạn có ý tưởng tính năng và cần đặc tả để đội xây dựng.
- ✓Khi bạn muốn có tiêu chí nghiệm thu và kiểm tra trước khi ra mắt trong một tài liệu.
- ✓Khi bạn muốn có đặc tả sản phẩm nhiều sơ đồ, lưu dưới dạng Markdown.
Liên kết skill
https://github.com/digoal/blog/blob/master/skills/write-prd/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Viết PRD cho tính năng nhắc nhở hằng ngày trong ứng dụng theo dõi thói quen của chúng tôi, kèm tiêu chí nghiệm thu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tách vấn đề của người dùng khỏi giải pháp được yêu cầu, đặt mục tiêu và phạm vi, mô tả hành vi, rồi thêm kiểm thử và kiểm tra trước khi ra mắt.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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,
Câu hỏi thường gặp
PRD khác BRD thế nào?
PRD mô tả hành vi và chi tiết của tính năng, còn BRD tập trung vào lập luận kinh doanh.
Nếu ý tưởng của tôi còn mơ hồ thì sao?
Skill sẽ ghi rõ các giả định vào tài liệu.
File được lưu ở đâu?
File được lưu dưới dạng Markdown trong thư mục markdown của dự án.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 8.6k
- Vị trí xếp hạng
- #12380
- Giấy phép
- GPL-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
article-to-podcast-script
8.6kGiúp agent của bạn biến bài viết Markdown thành kịch bản podcast cho một đến bốn người nói, lưu thành file văn bản, mặc định bằng tiếng Trung.
axiom-explainer
8.6kGiúp agent của bạn viết bài tiếng Trung rõ ràng, giải thích một quan điểm, định luật hoặc lý thuyết, kèm ví dụ, giới hạn và sơ đồ đơn giản.
blog-cover-poster
8.6kGiúp agent của bạn biến bài viết hoặc ghi chú thành bộ ảnh poster dọc gồm ảnh bìa và nhiều slide giải thích các ý chính.
buffett
8.6kGiúp agent của bạn suy nghĩ về quyết định công ty và cổ phiếu theo cách Warren Buffett, dựa trên ý tưởng về lợi thế cạnh tranh, quản trị và biên an toàn.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.