Prd Generator 标志

Prd Generator

社区
coco-research
prd-generator

Generate comprehensive Product Requirements Documents (PRDs) for product managers. Use this skill when users ask to "create a PRD", "write product requirements", "document a feature", or need help structuring product specifications.

Add to TypingMind

概览

发布者coco-research
代码仓库coco
技能名称prd-generator
星标数
795
复刻数
14
附带文件
5
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 coco-research 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Prd Generator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/coco-research/coco/tree/main/skills/prd-generator
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/coco-research/coco.git /tmp/coco
mkdir -p .claude/skills
cp -r /tmp/coco/skills/prd-generator .claude/skills/prd-generator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Prd Generator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Prd Generator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Prd Generator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

PRD Generator

Overview

Generate comprehensive, well-structured Product Requirements Documents (PRDs) that follow industry best practices. This skill helps product managers create clear, actionable requirements documents that align stakeholders and guide development teams.

Core Workflow

When a user requests to create a PRD (e.g., "create a PRD for a user authentication feature"), follow this workflow:

Step 1: Gather Context

Before generating the PRD, collect essential information through a discovery conversation:

Required Information:

  • Feature/Product Name: What are we building?
  • Problem Statement: What problem does this solve?
  • Target Users: Who is this for?
  • Business Goals: What are we trying to achieve?
  • Success Metrics: How will we measure success?
  • Timeline/Constraints: Any deadlines or limitations?

Discovery Questions to Ask:

1. What problem are you trying to solve?
2. Who is the primary user/audience for this feature?
3. What are the key business objectives?
4. Are there any technical constraints we should be aware of?
5. What does success look like? How will you measure it?
6. What's the timeline for this feature?
7. What's explicitly out of scope?

Note: If the user provides a detailed brief or requirements upfront, you can skip some questions. Always ask for clarification on missing critical information.

Step 2: Generate PRD Structure

Use the standard PRD template from references/prd_template.md to create a well-structured document. The PRD should include:

  1. Executive Summary - High-level overview (2-3 paragraphs)
  2. Problem Statement - Clear articulation of the problem
  3. Goals & Objectives - What we're trying to achieve
  4. User Personas - Who we're building for
  5. User Stories & Requirements - Detailed functional requirements
  6. Success Metrics - KPIs and measurement criteria
  7. Scope - What's in and out of scope
  8. Technical Considerations - Architecture, dependencies, constraints
  9. Design & UX Requirements - UI/UX considerations
  10. Timeline & Milestones - Key dates and phases
  11. Risks & Mitigation - Potential issues and solutions
  12. Dependencies & Assumptions - What we're relying on
  13. Open Questions - Unresolved items

Step 3: Create User Stories

For each major requirement, generate user stories using the standard format:

As a [user type],
I want to [action],
So that [benefit/value].

Acceptance Criteria:
- [Specific, testable criterion 1]
- [Specific, testable criterion 2]
- [Specific, testable criterion 3]

Reference references/user_story_examples.md for common patterns and best practices.

Step 4: Define Success Metrics

Use appropriate metrics frameworks based on the product type:

  • AARRR (Pirate Metrics): Acquisition, Activation, Retention, Revenue, Referral
  • HEART Framework: Happiness, Engagement, Adoption, Retention, Task Success
  • North Star Metric: Single key metric that represents core value
  • OKRs: Objectives and Key Results

Consult references/metrics_frameworks.md for detailed guidance on each framework.

Step 5: Validate & Review

Optionally run the validation script to ensure PRD completeness:

bash
scripts/validate_prd.sh <prd_file.md>

This checks for:

  • All required sections present
  • User stories follow proper format
  • Success metrics are defined
  • Scope is clearly articulated
  • No placeholder text remains

Usage Patterns

Pattern 1: New Feature PRD

User Request: "Create a PRD for adding dark mode to our mobile app"

Execution:

  1. Ask discovery questions about dark mode requirements
  2. Generate PRD using template
  3. Create user stories for:
    • Theme switching
    • Preference persistence
    • System-level sync
    • Design token updates
  4. Define success metrics (adoption rate, user satisfaction)
  5. Identify technical dependencies (design system, platform APIs)

Pattern 2: Product Enhancement PRD

User Request: "Write requirements for improving our search functionality"

Execution:

  1. Gather context on current search limitations
  2. Identify user pain points and desired improvements
  3. Generate PRD with focus on:
    • Current state analysis
    • Proposed enhancements
    • Impact assessment
  4. Create prioritized user stories
  5. Define before/after metrics

Pattern 3: New Product PRD

User Request: "I need a PRD for a new analytics dashboard product"

Execution:

  1. Comprehensive discovery (market analysis, user research)
  2. Generate full PRD with:
    • Market opportunity
    • Competitive analysis
    • Product vision
    • MVP scope
    • Go-to-market considerations
  3. Detailed user stories for core features
  4. Phased rollout plan
  5. Success metrics aligned with business goals

Pattern 4: Quick PRD / One-Pager

User Request: "Create a lightweight PRD for a small bug fix feature"

Execution:

  1. Generate simplified PRD focusing on:
    • Problem statement
    • Solution approach
    • Acceptance criteria
    • Success metrics
  2. Skip sections not relevant for small scope
  3. Keep document concise (1-2 pages)

PRD Best Practices

Writing Quality Requirements

Good Requirements Are:

  • Specific: Clear and unambiguous
  • Measurable: Can be verified/tested
  • Achievable: Technically feasible
  • Relevant: Tied to user/business value
  • Time-bound: Has clear timeline

Avoid:

  • Vague language ("fast", "easy", "intuitive")
  • Implementation details (let engineers decide how)
  • Feature creep (stick to core requirements)
  • Assumptions without validation

User Story Best Practices

DO:

  • Focus on user value, not features
  • Write from user perspective
  • Include clear acceptance criteria
  • Keep stories independent and small
  • Use consistent format

DON'T:

  • Write technical implementation details
  • Create dependencies between stories
  • Make stories too large (epics)
  • Use internal jargon
  • Skip acceptance criteria

Scope Management

In-Scope Section:

  • List specific features/capabilities included
  • Be explicit and detailed
  • Link to user stories

Out-of-Scope Section:

  • Explicitly state what's NOT included
  • Prevents scope creep
  • Manages stakeholder expectations
  • Can include "future considerations"

Success Metrics Guidelines

Choose Metrics That:

  • Align with business objectives
  • Are measurable and trackable
  • Have clear targets/thresholds
  • Include both leading and lagging indicators
  • Consider user and business value

Typical Metric Categories:

  • Adoption: How many users use the feature?
  • Engagement: How often do they use it?
  • Satisfaction: Do users like it?
  • Performance: Does it work well?
  • Business Impact: Does it drive business goals?

Advanced Features

PRD Templates for Different Contexts

The skill supports different PRD formats:

Standard PRD - Full comprehensive document Lean PRD - Streamlined for agile teams One-Pager - Executive summary format Technical PRD - Engineering-focused requirements Design PRD - UX/UI-focused requirements

Specify the format when requesting: "Create a lean PRD for..." or "Generate a technical PRD for..."

Integration with Design

Design Requirements Section Should Include:

  • Visual design requirements
  • Interaction patterns
  • Accessibility requirements (WCAG compliance)
  • Responsive design considerations
  • Design system components to use
  • User flow diagrams
  • Wireframe/mockup references

Technical Considerations Section

Should Address:

  • Architecture: High-level technical approach
  • Dependencies: External services, libraries, APIs
  • Security: Authentication, authorization, data protection
  • Performance: Load times, scalability requirements
  • Compatibility: Browser, device, platform support
  • Data: Storage, migration, privacy considerations
  • Integration: How it fits with existing systems

Stakeholder Alignment

PRD Should Help:

  • Align cross-functional teams
  • Set clear expectations
  • Enable parallel work streams
  • Facilitate decision-making
  • Provide single source of truth

Distribution Checklist:

  • Engineering reviewed technical feasibility
  • Design reviewed UX requirements
  • Product leadership approved scope
  • Stakeholders understand timeline
  • Success metrics agreed upon

Common PRD Scenarios

Scenario 1: Feature Request from Customer

When creating a PRD based on customer feedback:

  1. Document the customer request verbatim
  2. Analyze the underlying problem
  3. Generalize the solution for all users
  4. Validate with product strategy
  5. Scope appropriately (might be smaller or larger than request)

Scenario 2: Strategic Initiative

When creating a PRD for a strategic company initiative:

  1. Link to company OKRs/goals
  2. Include market analysis
  3. Consider competitive landscape
  4. Think multi-phase rollout
  5. Include success criteria aligned with strategy

Scenario 3: Technical Debt / Infrastructure

When creating a PRD for technical improvements:

  1. Explain user impact (even if indirect)
  2. Document current limitations
  3. Articulate benefits (speed, reliability, maintainability)
  4. Include engineering input heavily
  5. Define measurable improvements

Scenario 4: Compliance / Regulatory

When creating a PRD for compliance requirements:

  1. Reference specific regulations (GDPR, HIPAA, etc.)
  2. Include legal/compliance review
  3. Deadline is usually non-negotiable
  4. Focus on minimum viable compliance
  5. Document audit trail requirements

Validation & Quality Checks

Self-Review Checklist

Before finalizing the PRD, verify:

  • Problem is clear: Anyone can understand what we're solving
  • Users are identified: We know who this is for
  • Success is measurable: We can determine if it worked
  • Scope is bounded: Clear what's in and out
  • Requirements are testable: QA can verify completion
  • Timeline is realistic: Estimates validated with engineering
  • Risks are identified: We've thought through what could go wrong
  • Stakeholders aligned: Key people have reviewed and approved

Using the Validation Script

bash
# Basic validation
scripts/validate_prd.sh my_prd.md

# Verbose output with suggestions
scripts/validate_prd.sh my_prd.md --verbose

# Check specific sections only
scripts/validate_prd.sh my_prd.md --sections "user-stories,metrics"

Resources

This skill includes bundled resources:

scripts/

  • generate_prd.sh - Interactive PRD generation workflow
  • validate_prd.sh - Validates PRD completeness and quality

references/

  • prd_template.md - Standard PRD template structure
  • user_story_examples.md - User story patterns and examples
  • metrics_frameworks.md - Guide to PM metrics (AARRR, HEART, OKRs)

Tips for Product Managers

Before Writing the PRD

  1. Do your research: User interviews, data analysis, competitive analysis
  2. Validate the problem: Ensure it's worth solving
  3. Check strategic alignment: Does this fit our roadmap?
  4. Estimate effort: Rough t-shirt size with engineering
  5. Consider alternatives: Is this the best solution?

During PRD Creation

  1. Be clear, not clever: Simple language wins
  2. Show, don't tell: Use examples, mockups, diagrams
  3. Think edge cases: What could go wrong?
  4. Prioritize ruthlessly: What's MVP vs. nice-to-have?
  5. Collaborate early: Don't work in isolation

After PRD Completion

  1. Review with stakeholders: Get feedback early
  2. Iterate based on input: PRDs are living documents
  3. Present, don't just share: Walk through the PRD
  4. Get formal sign-off: Ensure commitment
  5. Keep it updated: Adjust as understanding evolves

Examples

Example 1: Mobile Feature PRD

bash
# User: "Create a PRD for adding biometric authentication to our iOS app"

# Assistant will:
# 1. Ask discovery questions about security requirements, user personas, existing auth
# 2. Generate PRD covering:
#    - Problem: Password friction, security concerns
#    - Solution: Face ID / Touch ID integration
#    - User stories: Enable biometric, fallback to password, settings management
#    - Metrics: Adoption rate, login success rate, support tickets
#    - Technical: iOS Keychain, LocalAuthentication framework
#    - Risks: Device compatibility, user privacy concerns
# 3. Output formatted markdown PRD

Example 2: Web Platform Enhancement

bash
# User: "Write requirements for improving our checkout flow conversion"

# Assistant will:
# 1. Gather data on current conversion rates and drop-off points
# 2. Generate PRD including:
#    - Current state analysis with metrics
#    - Proposed improvements (guest checkout, saved payment, progress indicator)
#    - A/B test plan
#    - Success metrics: Conversion rate increase, time to checkout
#    - User stories for each improvement
# 3. Include phased rollout approach

Example 3: B2B Product PRD

bash
# User: "I need a PRD for an admin dashboard for enterprise customers"

# Assistant will:
# 1. Identify B2B-specific requirements (multi-tenancy, permissions, reporting)
# 2. Generate comprehensive PRD with:
#    - Enterprise user personas (admin, manager, analyst)
#    - Role-based access control requirements
#    - Reporting and analytics needs
#    - Integration requirements (SSO, SCIM)
#    - Success metrics: Customer adoption, admin efficiency
# 3. Include enterprise-specific considerations (compliance, SLAs)

Troubleshooting

Issue: PRD is too long/detailed

Solution: Create a "Lean PRD" focusing on problem, solution, acceptance criteria, and metrics. Reserve full PRD for major initiatives.

Issue: Requirements are too vague

Solution: Add specific examples, use concrete numbers, include visual references. Replace "fast" with "loads in under 2 seconds."

Issue: Stakeholders not aligned

Solution: Share PRD early as draft, incorporate feedback, present in person, get explicit sign-off before development starts.

Issue: Scope keeps expanding

Solution: Use "Out of Scope" section aggressively, create separate PRDs for future phases, tie scope to timeline constraints.

Issue: Engineers say it's not feasible

Solution: Involve engineering earlier in process, be flexible on solution approach, focus on problem not implementation.

Best Practices Summary

  1. Start with the problem, not the solution
  2. Write for your audience (execs need summary, engineers need details)
  3. Be specific and measurable (avoid vague language)
  4. Include visuals (mockups, diagrams, flows)
  5. Define success upfront (metrics, not features)
  6. Scope aggressively (MVP mentality)
  7. Collaborate, don't dictate (get input from all functions)
  8. Keep it updated (PRD is a living document)
  9. Focus on "why" and "what", not "how" (let engineers solve "how")
  10. Make it skimmable (headers, bullets, summaries)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Prd Generator AI 技能有什么作用?

Generate comprehensive Product Requirements Documents (PRDs) for product managers. Use this skill when users ask to "create a PRD", "write product requirements", "document a feature", or need help structuring product specifications.

为什么在 TypingMind 中使用 Prd Generator?

因为您只需安装一次,就能搭配任何模型使用。Prd Generator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Prd Generator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/coco-research/coco/tree/main/skills/prd-generator。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Prd Generator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Prd Generator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Prd Generator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Prd Generator AI 技能免费吗?

coco-research 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇