Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

prd-writingPRD 写作

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

1,344

周安装

56

GitHub Stars

33

下载量

448
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:prd-writing(PRD 写作)
来源仓库:https://github.com/asyrafhussin/agent-skills
仓库路径:skills/prd-writing
安装命令:
npx skills add https://github.com/asyrafhussin/agent-skills --skill prd-writing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/asyrafhussin/agent-skills --skill prd-writing

简介

用于辅助产品需求文档(PRD)撰写,帮助 Agent 提炼结构、统一术语并整合零散材料为清晰可读的 Markdown 文档。

  • 它提供分步工作流程与 25 条规则,涵盖用户故事拆解、验收条件定义和技术约束说明。
  • 使用时需先探索项目代码基,确认已有模型和路由结构,避免脱离实际架构虚构功能点;对外文案需控制语气,不夸大能力。
  • 输出结果仅为草稿建议,必须经过产品经理或技术负责人复核后方可进入开发阶段。
  • prd-writing 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

PRD Writing

Step-by-step workflow for writing clear, actionable Product Requirements Documents. Follow the 6-step process below, using the 25 rules across 7 categories as supporting knowledge.

Metadata

  • Version: 1.0.0
  • Rule Count: 25 rules across 7 categories
  • License: MIT

Workflow

Follow these steps in order. Skip a step only if the user has already provided that information. Do NOT start drafting before completing discovery.

Step 1: Assess Project State

Determine what you're working with:

  • Existing project — code exists → explore the codebase first (models, routes, controllers, auth, patterns). See disc-codebase-exploration.
  • Empty/greenfield project — no code yet → ask the user what they want to build first. Brainstorm together until the product idea and core features are clear, then ask about planned stack, architecture decisions, and constraints.

Step 2: Ask Clarifying Questions

Ask 3-5 targeted questions to fill knowledge gaps. Use lettered options (A/B/C) when there are clear choices, and open-ended questions when you need free-text answers. Focus on:

  1. Problem — What problem are we solving? Why now?
  2. Users — Who are the target users?
  3. Scope — What should it NOT do?
  4. Success — How do we know it's done?
  5. Constraints — Timeline, budget, team size?

Mark unknowns as TBD, not assumptions. See disc-clarifying-questions.

Step 3: Draft the PRD

Use the template from struct-prd-template and fill in all 12 sections:

  1. Executive Summary — 1 paragraph: problem, solution, impact
  2. Problem Statement — what, who, evidence, why now
  3. Goals & Success Metrics — 3-5 measurable KPIs
  4. User Personas — primary and secondary with roles/goals/pain points
  5. User Stories & Acceptance Criteria — "As a / I want / So that" with checkboxes
  6. Functional Requirements — numbered FR-1, FR-2, etc.
  7. Non-Functional Requirements — performance, security, accessibility with specific numbers
  8. Technical Specifications — data model, auth, routes, integrations
  9. Out of Scope — what we're NOT building and why
  10. Non-Goals — what we're NOT optimizing for
  11. Dependencies & Risks — blockers with owners and mitigations
  12. Open Questions — unresolved items with owners and due dates

Key rules to follow while drafting:

  • Start with the problem, not the solution (disc-problem-first)
  • Replace vague language with numbers (metric-no-vague-language)
  • Every requirement must be testable (quality-acceptance-criteria)
  • Use Given/When/Then for complex acceptance criteria

Step 4: Present for Review

Show the draft to the user. Ask specifically:

  • Does the problem statement match your understanding?
  • Are user stories missing any workflows?
  • Are the scope boundaries correct?
  • Any open questions I should resolve?

Step 5: Revise Based on Feedback

Incorporate feedback, resolve open questions, and update the PRD. Add a review history entry if the PRD will be shared with a team.

Step 6: Save the PRD

Save to docs/prd/{feature-name}.md using kebab-case naming. Include frontmatter:

---
title: Feature Name
status: draft
author: Author Name
created: YYYY-MM-DD
updated: YYYY-MM-DD
---

Rules Reference

The 25 rules below provide detailed guidance for each step. Read them when you need deeper context.

1. Discovery (CRITICAL)

  • disc-problem-first - Start with the problem, not the solution
  • disc-clarifying-questions - Ask clarifying questions before writing
  • disc-codebase-exploration - Explore the codebase before drafting
  • disc-stakeholder-alignment - Align with stakeholders on goals and constraints

2. Structure (CRITICAL)

  • struct-standard-sections - Use standardized PRD sections
  • struct-executive-summary - Write a concise executive summary
  • struct-prd-template - Provide a ready-to-use PRD template
  • struct-output-location - Save PRDs to a consistent file location
  • struct-single-source-of-truth - PRD is the definitive reference for a feature

3. Requirements (HIGH)

  • req-user-personas - Define target user personas
  • req-user-stories - Write user stories with acceptance criteria
  • req-functional - Define specific functional requirements
  • req-non-functional - Define non-functional requirements

4. Scope (HIGH)

  • scope-out-of-scope - Explicitly define what is out of scope
  • scope-non-goals - List non-goals to protect timeline
  • scope-dependencies - Identify dependencies and blockers

5. Metrics (HIGH)

  • metric-measurable-success - Define measurable success criteria
  • metric-no-vague-language - Replace vague terms with quantifiable benchmarks
  • metric-kpis - Define 3-5 key performance indicators

6. Technical (MEDIUM)

  • tech-data-model - Document the data model and relationships
  • tech-auth-model - Define authentication and authorization
  • tech-api-routes - Document API and route structure
  • tech-integration-points - Identify third-party integrations

7. Quality (MEDIUM)

  • quality-acceptance-criteria - Write testable acceptance criteria
  • quality-iterative-review - Iterate with feedback before finalizing

References

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.88%
按下载量换算156

Claude

32.94%
按下载量换算148

Cursor

17.99%
按下载量换算81

Gemini CLI

9.88%
按下载量换算44

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills