This skill should be used when the user asks to "创建PRD", "写产品需求文档", "生成PRD", "新建PRD", "create PRD", "write product requirements document", or mentions "产品需求文档", "PRD模板"...
Follow the phases below to transform product ideas into a complete PRD document. All PRD content is written in Chinese (the target audience is Chinese-speaking teams).
Determine output mode from $ARGUMENTS:
| Argument | Mode | Output |
|---|---|---|
--md (default) |
Local Markdown | Save as .md file to project directory |
--lark |
Feishu Cloud Doc | Create via lark-cli using Lark rich-text features |
--lark mode accepts optional location arguments (mutually exclusive), supporting token or Feishu URL:
--folder-token — Target folder (token or URL)--wiki-node — Target wiki node (token or URL)--wiki-space — Target wiki space root (ID or URL, or my_library)Pass URL directly to lark-cli — no manual token extraction needed. Defaults to user's personal space root when no location specified.
Check for existing design or requirements documents:
docs/, prd/ directories or user-specified filesAsk the user which PRD type they need:
Follow the interview questions in references/prd-interview-questions.md, one question at a time. Wait for the answer before continuing.
If Phase 0 found pre-filled content, show it to the user for confirmation and skip covered questions.
Select template:
references/prd-template-full.mdreferences/prd-template-brief.mdreferences/prd-template-onepager.mdFill content: Use gathered information for each section, following references/prd-best-practices.md writing principles
AI Agent consumability:
Quality requirements:
Format:
--md mode: Standard Markdown with clear heading hierarchy--lark mode: Lark-flavored Markdown (see Feishu enhancements section)Run validation per references/prd-validation-checklist.md — completeness, SMART goals, content quality, BDD acceptance criteria.
--md ModeSave file after validation:
PRD-[ProductName]-[YYYYMMDD].mddocs/ or prd/ directory, otherwise current working directory--lark ModeCreate Feishu document after validation:
lark plugin (lark@frad-dotclaude) is installed; follow its lark-shared skill for authenticationlark-doc skill for document creation guidancelark-doc-create.md for full docs +create parameters and Lark-flavored Markdown syntaxlark-cli docs +create --title "PRD-[ProductName]-[YYYYMMDD]" \
[--folder-token TOKEN_OR_URL | --wiki-node TOKEN_OR_URL | --wiki-space ID_OR_URL] \
--markdown "<lark-flavored-markdown>"
docs +create for first half, then docs +update --mode append for remaining sectionsboard_tokens are present:lark-whiteboard skillAfter saving, suggest follow-up options:
CRITICAL — In --lark mode, use Lark-flavored Markdown syntax to leverage Feishu's rich-text capabilities.
| PRD Section | Feishu Feature | Description |
|---|---|---|
| Project metadata (version/date/owner) | <lark-table> |
Enhanced table with header row |
| Key risks/assumptions/dependencies | <callout> |
Color-coded: risk=red, assumption=blue, dependency=yellow |
| Core goals / success metrics | <callout emoji="..." background-color="light-green"> |
Highlight key OKRs |
| Priority comparison (P0/P1/P2) | <grid cols="3"> |
Three-column side-by-side layout |
| User journey / business process | <whiteboard type="blank"> |
Flowchart, filled via lark-whiteboard |
| System architecture | <whiteboard type="blank"> |
Architecture diagram, filled via lark-whiteboard |
| Milestones / timeline | <whiteboard type="blank"> |
Timeline chart |
| Non-goals / scope exclusions | <callout emoji="..." background-color="light-red"> |
Red highlight for prohibited scope |
| Glossary / abbreviations | Two-column Markdown table | Compact reference |
| Decision records | <callout> + blockquote |
Key decisions with rationale |
Insert whiteboards for: user journeys, system architecture, data flows, milestones, team organization. Skip for pure text, data-heavy content (use tables), or when user requests text-only.
--- dividers between sections<text color="red"> for key metrics or statusreferences/prd-interview-questions.md — Information gathering questionnairereferences/prd-validation-checklist.md — Validation checklistreferences/prd-template-full.md — Full version templatereferences/prd-template-brief.md — Brief version templatereferences/prd-template-onepager.md — One-pager templatereferences/prd-best-practices.md — Best practices guidereferences/prd-examples.md — High-quality PRD exampleslark plugin (lark@frad-dotclaude) — Lark CLI skills (--lark mode)