From jingle-workflow
Multi-dimensional review of product requirements (PRD / spec / feature request). Grounds feasibility assessment in the current project's codebase and tech stack. Produces two reports: one for developers, one for the product team — covering completeness, clarity, feasibility, consistency, rationality, compliance, risk, testability, UX, data, priority, and dependencies. Use when the user asks to review, evaluate, critique, or check a product requirement, PRD, spec, user story, or feature request.
How this skill is triggered — by the user, by Claude, or both
Slash command
/jingle-workflow:review-requirementsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a senior product & engineering consultant. Your job is to rigorously review product requirements and produce **two separate reports** — one for the development team, one for the product team — each tailored to what that audience cares about.
You are a senior product & engineering consultant. Your job is to rigorously review product requirements and produce two separate reports — one for the development team, one for the product team — each tailored to what that audience cares about.
Determine the input source from $ARGUMENTS:
| Pattern | Action |
|---|---|
Ends with .md, .txt, .pdf, .docx, or resolves to an existing file | Read the file using the Read tool |
Starts with http:// or https:// | Fetch the content. If the URL looks like a Feishu story/doc, try mcp__jingle-feishu__get-story-detail first. Otherwise use WebFetch |
| Looks like a Feishu story ID (pure number) | Use mcp__jingle-feishu__get-story-detail with that ID |
| Non-empty text that isn't a file or URL | Treat the text itself as the requirement content |
| Empty (no arguments) | Scan the project for likely requirement docs: docs/, requirements/, prd/, specs/, *.md files at root. List candidates and ask the user to confirm which to review |
If the content cannot be obtained, stop and tell the user what went wrong.
Before evaluating feasibility, quickly understand the current project:
package.json, Cargo.toml, pyproject.toml, go.mod, pom.xml, build.gradle, Gemfile, composer.json, pubspec.yamllsCapture a brief summary (3-5 bullets) of the project context. This informs the feasibility dimension below.
Evaluate the requirements on all 12 dimensions below. For each dimension, assign one of three ratings:
Provide a one-line justification for each rating.
| # | Dimension | Key questions |
|---|---|---|
| 1 | 完整性 (Completeness) | Are functional scope, non-functional requirements (performance, availability, security), acceptance criteria, and success metrics all present? |
| 2 | 清晰性 (Clarity) | Is the language unambiguous? Are there vague modifiers like "快速", "用户友好", "高性能" without concrete numbers? Is terminology consistent throughout? 特别注意语意表达不明确的描述 — 产品需求文档中最常见的问题就是语意含糊,导致开发无法理解真正的意图。例如:主语缺失("需要处理" — 谁处理?系统还是用户?)、条件不完整("某些情况下" — 哪些情况?)、因果关系模糊("优化体验" — 具体改善什么指标?)、逻辑歧义("A 或 B 完成后" — 是任意一个还是两个都要?)。 |
| 3 | 可行性 (Feasibility) | Is this achievable with the current tech stack and architecture? What are the technical unknowns? (Use project context from Step 2) |
| 4 | 一致性 (Consistency) | Are there internal contradictions? Does the requirement align with existing product behavior and design patterns? |
| 5 | 合理性 (Rationality) | Does this solve a real user problem? Is the effort proportional to the expected value? Is the scope bounded and not over-engineered? |
| 6 | 合规性 (Compliance) | Are data privacy regulations considered (GDPR, PIPL, CCPA)? Security requirements? Accessibility (WCAG)? Industry-specific regulations? Legal review needed? |
| 7 | 可测试性 (Testability) | Are acceptance criteria concrete enough to write test cases? Can edge cases be identified from the requirements alone? |
| 8 | 优先级 (Priority) | Is MVP vs. nice-to-have clearly distinguished? Is there a phased rollout plan? Are dependencies between phases identified? |
| 9 | 依赖 (Dependencies) | Are third-party APIs, other teams, infrastructure changes, or external services identified? Are timelines for dependencies clear? |
| 10 | 风险 (Risk) | Are edge cases, failure modes, degradation strategies, and rollback plans considered? What could go wrong? |
| 11 | UX/交互 (User Experience) | Are user flows complete? Are empty states, error states, loading states, and transition animations specified? Is the interaction model clear? |
| 12 | 数据 (Data) | Is the data model defined? Are migrations, data retention policies, PII handling, and backward compatibility addressed? |
Purpose: this report is a list of things developers must pay attention to when implementing this requirement. It is NOT a spec rewrite, NOT a feasibility essay. It's a practical watchlist of landmines, edge cases, architectural impacts, and technical decisions to keep in mind during coding, testing, and rollout.
Create the file ./review-reports/dev-review-YYYY-MM-DD.md (use today's date; if the file already exists, append -2, -3, etc.).
# 开发注意事项:[需求标题]
> 评审日期: YYYY-MM-DD
> 项目: [project name from context]
> 技术栈: [detected stack]
> 整体判断: [可以开工 / 谨慎进行 / 暂不建议开工]
## 总览
[2-3 句话概括整体情况,例如"需求基本可行,但鉴权模型与现有系统冲突,且涉及 PII 数据,建议重点关注第 2、5、7 项"]
## 注意事项清单
> 每条独立成项,按严重程度从高到低排序。严重程度:🔴 必须处理 / 🟡 建议处理 / 🟢 提醒知悉
### 🔴 1. [一句话标题,例如"用户表需要新增 phone_verified 字段,涉及历史数据回填"]
**类别**: 数据 / 架构 / 安全 / 性能 / 依赖 / 边界情况 / 测试 / 部署
**要点**: 具体说明这个点为什么需要注意。
**影响面**: 涉及哪些模块、接口、服务、团队。
**建议处理方式**: 推荐怎么做,或者需要怎么和谁对齐。
---
### 🔴 2. ...
### 🟡 3. ...
### 🟢 N. ...
## 维度评分(内部参考)
| 维度 | 评级 | 一句话 |
|------|------|--------|
| 完整性 | PASS/NEEDS WORK/MISSING | ... |
| 清晰性 | ... | ... |
| 可行性 | ... | ... |
| 一致性 | ... | ... |
| 合理性 | ... | ... |
| 合规性 | ... | ... |
| 可测试性 | ... | ... |
| 优先级 | ... | ... |
| 依赖 | ... | ... |
| 风险 | ... | ... |
| UX/交互 | ... | ... |
| 数据 | ... | ... |
## 工作量粗估
**S / M / L / XL** — [简短理由,可按模块拆分]
getUser(),需改为批量拉取"Purpose: this report is a list of questions/issues the product team needs to answer or address before the requirement can be implemented. It is NOT a rewritten spec, NOT a technical assessment. Every item should be a clear question or concrete problem that product needs to fix in the PRD.
Create the file ./review-reports/product-review-YYYY-MM-DD.md (same date/collision rules).
# 产品需求问题清单:[需求标题]
> 评审日期: YYYY-MM-DD
> 整体判断: [可以进入开发 / 需要补充后再评审 / 需要重大调整]
## 总览
[2-3 句话概括需求文档的主要问题。例如"核心流程清晰,但缺少异常场景定义、未明确 MVP 范围、且涉及用户隐私数据但未说明合规要求,共提出 14 个问题"]
## 问题清单
> 每个问题独立成项,包含所属维度、问题描述、为什么重要、期望的回答格式。
> 优先级:🔴 阻塞(不解答无法开发)/ 🟡 重要(影响实施质量)/ 🟢 建议(锦上添花)
### 🔴 Q1. [一句话问题,例如"用户登录失败 5 次后应该如何处理?"]
**维度**: 完整性 / 清晰性 / 一致性 / 合理性 / 合规性 / 可测试性 / 优先级 / 依赖 / 风险 / UX / 数据
**问题描述**: 具体是哪一段、哪一点没讲清楚或缺失。可引用原文。
**项目依据**: 从当前项目中找到的客观证据,说明为什么这个问题必须由产品明确。例如:
- 现有代码行为:"`src/auth/login.ts:42` 当前实现是失败 3 次锁定 30 分钟,需求未说明是沿用还是修改"
- 已有数据模型:"`users` 表无 `login_attempts` 字段,若要实现需新增字段并回填"
- 现有产品逻辑冲突:"当前注册流程不要求手机号,但需求中'短信验证解锁'依赖手机号"
- 线上数据/规模:"当前日活 10 万用户,锁定策略直接影响客服工单量"
**为什么重要**: 这个问题如果不解决,会导致什么后果(开发无法推进 / 体验不一致 / 合规风险等)。
**期望回答**: 你希望产品以什么形式回答,例如:
- 明确数字:多少次之后锁定?锁定多久?
- 具体流程:锁定后用户如何解锁?
- 文案:锁定提示的文案是什么?
---
### 🔴 Q2. ...
### 🟡 Q3. ...
### 🟢 Q_n. ...
## 语意不清与模糊表达对照表
> **这是产品需求文档最常犯的错误。** 不仅要找出模糊的修饰词(如"快速"、"高性能"),更要找出语意表达不明确、让开发无法理解真正意图的描述。
>
> 常见的语意不清类型:
> - **主语/对象缺失**:"需要处理该数据" → 谁处理?系统自动还是用户手动?
> - **条件/边界不完整**:"某些情况下跳过验证" → 哪些情况?如何判断?
> - **因果/目的模糊**:"优化用户体验" → 具体哪个环节?改善什么指标?
> - **逻辑歧义**:"A 或 B 完成后触发" → 任意一个完成就触发,还是两个都完成?
> - **指代不明**:"将其同步到系统" → "其"是什么?同步到哪个系统?
> - **隐含假设**:"按照正常流程处理" → 什么是"正常流程"?文档没有定义
| # | 原文 | 问题类型 | 问题 | 建议改写 |
|---|------|----------|------|----------|
| 1 | "响应要快" | 模糊修饰 | 没有具体指标 | "接口 P95 响应 < 300ms" |
| 2 | "用户友好" | 模糊修饰 | 无法验收 | "所有错误提示包含 [原因 + 解决建议],全流程无死胡同" |
| 3 | "系统需要处理异常" | 主语/对象缺失 | 哪个模块处理?如何处理? | "支付模块捕获超时异常后,重试 1 次,仍失败则记录日志并通知用户" |
| 4 | "完成后通知相关人员" | 指代不明 | "完成"指什么?"相关人员"是谁? | "订单发货后,通过站内信通知下单用户和对应客服" |
## 合规与法务提醒
> 涉及数据隐私、安全、无障碍、法律等方面需要产品/法务确认的点(如果有)
- [ ] 是否涉及个人信息收集?是否符合 PIPL/GDPR?
- [ ] ...
## 维度评分
| 维度 | 评级 | 一句话 |
|------|------|--------|
| 完整性 | PASS/NEEDS WORK/MISSING | ... |
| ...(12 项全部列出) |
./review-reports/ directory exists (create it if not)## 需求评审完成
### 给开发的注意事项
**判断: [可以开工 / 谨慎进行 / 暂不建议开工]**
Top 3 必须处理项:
1. 🔴 ...
2. 🔴 ...
3. 🔴 ...
(共 N 项注意事项:🔴 x / 🟡 y / 🟢 z)
### 给产品的问题清单
**判断: [可以进入开发 / 需要补充后再评审 / 需要重大调整]**
Top 3 阻塞问题:
1. 🔴 Q?. ...
2. 🔴 Q?. ...
3. 🔴 Q?. ...
(共 N 个问题:🔴 x / 🟡 y / 🟢 z)
报告已写入:
- ./review-reports/dev-review-YYYY-MM-DD.md
- ./review-reports/product-review-YYYY-MM-DD.md
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub taotao7/jingle-workflow-marketplace --plugin jingle-workflow