prd

GitHub

用于生成高质量软件产品需求文档(PRD),涵盖执行摘要、用户画像、功能/非功能需求及技术规格。通过引导式提问明确需求,确保产出结构化、可衡量的生产级文档,连接业务愿景与技术实现。

.agents/skills/prd/SKILL.md krusty93/relego

Trigger Scenarios

用户要求撰写 PRD 将模糊想法转化为具体技术规格 需要项目范围的统一事实来源

Install

npx skills add krusty93/relego --skill prd -g -y
More Options

Non-standard path

npx skills add https://github.com/krusty93/relego/tree/main/.agents/skills/prd -g -y

Use without installing

npx skills use krusty93/relego@prd

指定 Agent (Claude Code)

npx skills add krusty93/relego --skill prd -a claude-code -g -y

安装 repo 全部 skill

npx skills add krusty93/relego --all -g -y

预览 repo 内 skill

npx skills add krusty93/relego --list

SKILL.md

Frontmatter
{
    "name": "prd",
    "license": "MIT",
    "description": "Generate high-quality Product Requirements Documents (PRDs) for software systems. Includes an executive summary, personas, functional and non-functional requirements, technical specifications, and risk analysis."
}

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
  • 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?
  • Acceptance Criteria: Bulleted list of "Done" definitions for each requirement.
  • Non-Goals: What are we NOT building?

3. Technical Specifications

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

4. Risks & Roadmap

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

Implementation Guidelines

DO (Always)

  • 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: Documentation Search System

1. Executive Summary

Problem: Users struggle to find specific documentation snippets in massive repositories. Solution: A search system that returns ranked matching documents with direct source links. Success:

  • Reduce search time by 50%.
  • Top-5 result relevance >= 95%.

2. User Experience & Functionality

  • Personas: Developers searching large documentation repositories.
  • Acceptance Criteria:
    • Returns ranked results with source links.
    • Returns code blocks with a "Copy" button.
  • Non-Goals: Editing or authoring documentation.

3. Technical Specifications

  • Integration Points: Documentation index, search API.

4. Risks & Roadmap

  • Phased Rollout: MVP with keyword search, then ranking improvements.

Version History

  • 0b3b4c9 Current 2026-10-18 22:50

Same Skill Collection

.agents/skills/caveman/SKILL.md
.agents/skills/gh-stack/SKILL.md
.github/skills/speckit-analyze/SKILL.md
.github/skills/speckit-checklist/SKILL.md
.github/skills/speckit-clarify/SKILL.md
.github/skills/speckit-constitution/SKILL.md
.github/skills/speckit-converge/SKILL.md
.github/skills/speckit-implement/SKILL.md
.github/skills/speckit-plan/SKILL.md
.github/skills/speckit-specify/SKILL.md
.github/skills/speckit-tasks/SKILL.md
.github/skills/speckit-taskstoissues/SKILL.md
.agents/skills/impeccable/SKILL.md

Metadata

Files
0
Version
0b3b4c9
Hash
115f8c9a
Indexed
2026-10-18 22:50

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 01:54
浙ICP备14020137号-1