prd

作者: github

生成全面的产品需求文档,将业务愿景转化为技术规范。遵循严格的三阶段工作流程:通过发现访谈填补知识空白,进行分析与范围界定以识别依赖关系,并使用标准化的PRD模式进行技术起草。要求具体、可衡量的成功标准和验收标准;明确避免使用“快速”或“直观”等模糊语言,转而采用可量化的基准。涵盖执行摘要、...

npx skills add https://github.com/github/awesome-copilot --skill prd

Product Requirements Document (PRD)

Overview

Design comprehensive, production-grade Product Requirements Documents (PRDs) that bridge the gap between business vision and technical execution. This skill works for modern software systems, ensuring that requirements are clearly defined.

When to Use

Use this skill when:

  • Starting a new product or feature development cycle
  • Translating a vague idea into a concrete technical specification
  • Defining requirements for AI-powered features
  • Stakeholders need a unified "source of truth" for project scope
  • User asks to "write a PRD", "document requirements", or "plan a feature"

Operational Workflow

Phase 1: Discovery (The Interview)

Before writing a single line of the PRD, you MUST interrogate the user to fill knowledge gaps. Do not assume context.

Ask about:

  • The Core Problem: Why are we building this now?
  • Success Metrics: How do we know it worked?
  • Constraints: Budget, tech stack, or deadline?

Phase 2: Analysis & Scoping

Synthesize the user's input. Identify dependencies and hidden complexities.

  • Map out the User Flow.
  • Define Non-Goals to protect the timeline.

Phase 3: Technical Drafting

Generate the document using the Strict PRD Schema below.


PRD Quality Standards

Requirements Quality

Use concrete, measurable criteria. Avoid "fast", "easy", or "intuitive".

# Vague (BAD)
- The search should be fast and return relevant results.
- The UI must look modern and be easy to use.

# Concrete (GOOD)
+ The search must return results within 200ms for a 10k record dataset.
+ The search algorithm must achieve >= 85% Precision@10 in benchmark evals.
+ The UI must follow the 'Vercel/Next.js' design system and achieve 100% Lighthouse Accessibility score.

Strict PRD Schema

You MUST follow this exact structure for the output:

1. Executive Summary

  • Problem Statement: 1-2 sentences on the pain point.
  • Proposed Solution: 1-2 sentences on the fix.
  • Success Criteria: 3-5 measurable KPIs.

2. User Experience & Functionality

  • User Personas: Who is this for?
  • User Stories: As a [user], I want to [action] so that [benefit].
  • Acceptance Criteria: Bulleted list of "Done" definitions for each story.
  • Non-Goals: What are we NOT building?

3. AI System Requirements (If Applicable)

  • Tool Requirements: What tools and APIs are needed?
  • Evaluation Strategy: How to measure output quality and accuracy.

4. Technical Specifications

  • Architecture Overview: Data flow and component interaction.
  • Integration Points: APIs, DBs, and Auth.
  • Security & Privacy: Data handling and compliance.

5. Risks & Roadmap

  • Phased Rollout: MVP -> v1.1 -> v2.0.
  • Technical Risks: Latency, cost, or dependency failures.

Implementation Guidelines

DO (Always)

  • Define Testing: For AI systems, specify how to test and validate output quality.
  • Iterate: Present a draft and ask for feedback on specific sections.

DON'T (Avoid)

  • Skip Discovery: Never write a PRD without asking at least 2 clarifying questions first.
  • Hallucinate Constraints: If the user didn't specify a tech stack, ask or label it as TBD.

Example: Intelligent Search System

1. Executive Summary

Problem: Users struggle to find specific documentation snippets in massive repositories. Solution: An intelligent search system that provides direct answers with source citations. Success:

  • Reduce search time by 50%.
  • Citation accuracy >= 95%.

2. User Stories

  • Story: As a developer, I want to ask natural language questions so I don't have to guess keywords.
  • AC:
    • Supports multi-turn clarification.
    • Returns code blocks with "Copy" button.

3. AI System Architecture

  • Tools Required: codesearch, grep, webfetch.

4. Evaluation

  • Benchmark: Test with 50 common developer questions.
  • Pass Rate: 90% must match expected citations.

来自 github 的更多技能

console-rendering
github
在Go中使用基于结构体标签的控制台渲染系统的说明
official
acquire-codebase-knowledge
github
当用户明确要求映射、记录或熟悉现有代码库时使用此技能。触发词如“映射此代码库”、“记录…
official
acreadiness-assess
github
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc…
official
acreadiness-generate-instructions
github
通过AgentRC指令命令生成定制化的AI代理指令文件。生成.github/copilot-instructions.md(默认,推荐用于VS Code中的Copilot…
official
acreadiness-policy
github
帮助用户选择、编写或应用AgentRC策略。策略通过禁用无关检查、覆盖影响/级别、设置…来定制就绪评分。
official
add-educational-comments
github
为代码文件添加教育性注释,将其转化为有效的学习资源。根据三个可配置的知识水平(初级、中级、高级)调整解释深度和语气。若未提供文件,自动请求文件,并附带编号列表以便快速选择。仅通过教育性注释将文件扩展最多125%(硬性限制:新增400行;超过1000行的文件限制为300行)。保留文件编码、缩进风格、语法正确性以及...
official
adobe-illustrator-scripting
github
使用ExtendScript(JavaScript/JSX)编写、调试和优化Adobe Illustrator自动化脚本。在创建或修改操作…的脚本时使用。
official
agent-governance
github
声明式策略、意图分类及审计追踪,用于控制AI代理工具访问与行为。可组合的治理策略定义允许/禁止的工具、内容过滤器、速率限制及审批要求——以配置而非代码形式存储。语义意图分类在执行工具前通过基于模式的信号检测危险提示(数据泄露、权限提升、提示注入)。工具级治理装饰器在函数层面强制执行策略...
official