重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
product-specs-writer by ncklrs/startup-os-skills
npx skills add https://github.com/ncklrs/startup-os-skills --skill product-specs-writer全面的产品文档专业知识——从战略性的产品需求文档到可供工程团队实际构建的、可直接实施的规格说明。
优秀的产品规格是连接愿景与执行的桥梁。它们不是官僚文件,而是沟通工具,旨在协调团队并避免代价高昂的误解。
最佳的产品规格具备以下特点:
调用时,将应用 rules/ 目录下按以下类别组织的指南:
prd-* —— 产品需求文档、愿景、范围stories-* —— 用户故事、用户画像、待完成工作criteria-* —— 验收标准、完成的定义technical-* —— 技术规格、架构决策广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
api-* —— API 规格、契约、版本管理edge-* —— 边界情况、错误处理、故障模式design-* —— 设计交接、组件规格、交互rollout-* —— 功能开关、发布计划、实验metrics-* —— 成功指标、关键绩效指标、衡量计划maintenance-* —— 文档生命周期、版本管理、弃用┌─────────────────────────────────────────┐
│ 愿景 │ ← 我们为什么要构建这个?
│ (问题与机遇) │
├─────────────────────────────────────────┤
│ 产品需求文档 │ ← 我们要构建什么?
│ (需求与约束) │
├─────────────────────────────────────────┤
│ 用户故事 │ ← 谁受益以及如何受益?
│ (用户画像与旅程) │
├─────────────────────────────────────────┤
│ 验收标准 │ ← 我们如何知道它完成了?
│ (可测试的条件) │
├─────────────────────────────────────────┤
│ 技术规格 │ ← 我们如何构建它?
│ (架构与实现) │
└─────────────────────────────────────────┘
| 文档 | 主要受众 | 目的 | 更新频率 |
|---|---|---|---|
| 产品需求文档 | 领导层、产品经理、设计 | 就“做什么”和“为什么”达成一致 | 每个里程碑 |
| 用户故事 | 工程、质量保证 | 定义范围和价值 | 每个冲刺 |
| 验收标准 | 质量保证、工程 | 定义完成标准 | 每个故事 |
| 技术规格 | 工程 | 定义如何实现 | 每个功能 |
| API 规格 | 前端、外部开发者 | 定义契约 | 每个版本 |
| 设计交接 | 工程 | 定义用户界面/用户体验 | 每个组件 |
| 发布计划 | 工程、运维 | 定义部署 | 每次发布 |
| 成功指标 | 领导层、数据 | 定义成功标准 | 每季度 |
| 标准 | 问题 | 示例 |
|---|---|---|
| 独立 | 能否独立构建? | 不依赖于未完成的故事 |
| 可协商 | 范围是否灵活? | 细节可与工程团队共同完善 |
| 有价值 | 用户是否受益? | 明确陈述价值主张 |
| 可估算 | 能否估算工作量? | 有足够的细节来估算工作量 |
| 小规模 | 能否在一个冲刺内完成? | 可在 1-5 天内完成 |
| 可测试 | 能否验证? | 有明确的验收标准 |
产品需求文档完整性:
├── 问题陈述 □ 明确定义的用户痛点
├── 成功指标 □ 定义了可衡量的结果
├── 用户故事 □ 覆盖所有用户画像
├── 范围 □ 明确包含与排除的范围
├── 约束条件 □ 陈述技术和业务限制
├── 依赖项 □ 识别外部依赖项
├── 风险 □ 已知风险及缓解措施
├── 时间线 □ 设定里程碑和截止日期
└── 待解决问题 □ 明确列出未知事项
技术规格完整性:
├── 架构 □ 记录系统设计
├── 数据模型 □ 定义模式和关系
├── API 契约 □ 指定端点和有效载荷
├── 边界情况 □ 记录故障模式
├── 安全性 □ 涵盖认证、加密、合规性
├── 性能 □ 定义服务等级协议和基准
├── 监控 □ 明确可观测性策略
└── 回滚计划 □ 记录恢复程序
| 错误类型 | 示例 | 需要文档记录的内容 |
|---|---|---|
| 验证 | 无效的电子邮件格式 | 错误消息、字段高亮 |
| 授权 | 用户缺少权限 | 错误状态、升级路径 |
| 资源 | 项目未找到 | 空状态、恢复操作 |
| 系统 | 数据库超时 | 重试策略、用户反馈 |
| 业务逻辑 | 余额不足 | 错误解释、后续步骤 |
| 外部 | 第三方 API 宕机 | 备用行为、降级模式 |
# 功能:[名称]
## 问题
我们要解决什么用户问题?
## 解决方案
高层次方法(1-2 段)
## 成功指标
- 主要:[指标] 从 X 到 Y
- 次要:[指标] 从 X 到 Y
## 用户故事
- 作为一个 [用户],我想要 [目标],以便 [收益]
## 范围
**包含范围:** [列表]
**排除范围:** [列表]
## 待解决问题
- [ ] 问题 1
- [ ] 问题 2
**作为一个** [用户画像/用户类型]
**我想要** [能力/操作]
**以便** [收益/价值]
**验收标准:**
- 给定 [上下文],当 [操作] 时,那么 [结果]
- 给定 [上下文],当 [操作] 时,那么 [结果]
**边界情况:**
- 如果 [边界情况] 怎么办?那么 [行为]
**排除范围:**
- [明确排除项]
每周安装数
52
代码仓库
GitHub 星标数
9
首次出现
2026年1月27日
安全审计
安装于
opencode50
codex47
gemini-cli46
github-copilot46
cursor46
amp44
Comprehensive product documentation expertise — from strategic PRDs to implementation-ready specifications that engineering teams can actually build from.
Great product specs bridge the gap between vision and execution. They're not bureaucratic documents; they're communication tools that align teams and prevent expensive misunderstandings.
The best product specifications:
When invoked, apply the guidelines in rules/ organized by:
prd-* — Product Requirements Documents, vision, scopestories-* — User stories, personas, jobs-to-be-donecriteria-* — Acceptance criteria, definition of donetechnical-* — Technical specifications, architecture decisionsapi-* — API specifications, contracts, versioningedge-* — Edge cases, error handling, failure modesdesign-* — Design handoff, component specs, interactionsrollout-* — Feature flags, rollout plans, experimentsmetrics-* — Success metrics, KPIs, measurement plansmaintenance-* — Documentation lifecycle, versioning, deprecation┌─────────────────────────────────────────┐
│ VISION │ ← Why are we building this?
│ (Problem & Opportunity) │
├─────────────────────────────────────────┤
│ PRD │ ← What are we building?
│ (Requirements & Constraints) │
├─────────────────────────────────────────┤
│ USER STORIES │ ← Who benefits and how?
│ (Personas & Journeys) │
├─────────────────────────────────────────┤
│ ACCEPTANCE CRITERIA │ ← How do we know it's done?
│ (Testable Conditions) │
├─────────────────────────────────────────┤
│ TECHNICAL SPECS │ ← How do we build it?
│ (Architecture & Implementation) │
└─────────────────────────────────────────┘
| Document | Primary Audience | Purpose | Update Frequency |
|---|---|---|---|
| PRD | Leadership, PM, Design | Align on what and why | Per milestone |
| User Stories | Engineering, QA | Define scope and value | Per sprint |
| Acceptance Criteria | QA, Engineering | Define done | Per story |
| Technical Spec | Engineering | Define how | Per feature |
| API Spec | Frontend, External devs | Define contracts | Per version |
| Design Handoff | Engineering | Define UI/UX |
| Criteria | Question | Example |
|---|---|---|
| I ndependent | Can it be built alone? | No dependencies on unfinished stories |
| N egotiable | Is scope flexible? | Details can be refined with engineering |
| V aluable | Does user benefit? | Clear value proposition stated |
| E stimable | Can we size it? | Enough detail to estimate effort |
| S mall | Fits in a sprint? | Can be completed in 1-5 days |
| T estable | Can we verify it? | Has clear acceptance criteria |
PRD Completeness:
├── Problem Statement □ Clearly defined user pain
├── Success Metrics □ Measurable outcomes defined
├── User Stories □ All personas covered
├── Scope □ In-scope and out-of-scope clear
├── Constraints □ Technical and business limits stated
├── Dependencies □ External dependencies identified
├── Risks □ Known risks and mitigations
├── Timeline □ Milestones and deadlines set
└── Open Questions □ Unknowns explicitly listed
Technical Spec Completeness:
├── Architecture □ System design documented
├── Data Model □ Schema and relationships defined
├── API Contracts □ Endpoints and payloads specified
├── Edge Cases □ Failure modes documented
├── Security □ Auth, encryption, compliance covered
├── Performance □ SLAs and benchmarks defined
├── Monitoring □ Observability strategy clear
└── Rollback Plan □ Recovery procedures documented
| Error Type | Example | Documentation Required |
|---|---|---|
| Validation | Invalid email format | Error message, field highlighting |
| Authorization | User lacks permission | Error state, escalation path |
| Resource | Item not found | Empty state, recovery action |
| System | Database timeout | Retry strategy, user feedback |
| Business Logic | Insufficient balance | Error explanation, next steps |
| External | Third-party API down | Fallback behavior, degraded mode |
# Feature: [Name]
## Problem
What user problem are we solving?
## Solution
High-level approach (1-2 paragraphs)
## Success Metrics
- Primary: [Metric] from X to Y
- Secondary: [Metric] from X to Y
## User Stories
- As a [user], I want [goal] so that [benefit]
## Scope
**In scope:** [List]
**Out of scope:** [List]
## Open Questions
- [ ] Question 1
- [ ] Question 2
**As a** [persona/user type]
**I want** [capability/action]
**So that** [benefit/value]
**Acceptance Criteria:**
- Given [context], when [action], then [result]
- Given [context], when [action], then [result]
**Edge Cases:**
- What if [edge case]? Then [behavior]
**Out of Scope:**
- [Explicit exclusion]
Weekly Installs
52
Repository
GitHub Stars
9
First Seen
Jan 27, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode50
codex47
gemini-cli46
github-copilot46
cursor46
amp44
SaaS定价策略指南:价值指标、层级设计与定价心理学
41,100 周安装
| Per component |
| Rollout Plan | Engineering, Ops | Define deployment | Per release |
| Success Metrics | Leadership, Data | Define success | Per quarter |