acceptance-criteria-writer
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "acceptance-criteria-writer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-aeccf99a74ccd3113d5f33e7b72ea80f078a197cc42d01a65e03eb7530c75532. Verify the upstream source and version against https://skillhub.cn/skills/user_bd3231bd/acceptance-criteria-writer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Transforms a requirement or user story into testable acceptance criteria items that define clear pass/fail conditions, enabling product and engineering teams to complete and execute acceptance testing.
Introduction source: third_party · user_bd3231bd · 0.1.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- ```markdown
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "acceptance-criteria-writer"
description: 把需求或用户故事整理成可测试的验收标准条目;当产品或研发要补全故事的验收条件时使用。验收标准撰写
用途
把需求描述或用户故事整理成可测试的验收标准(AC):每条能明确判定通过/失败。
不写自动化测试代码,不做需求变更影响评估。
适用场景
- 适合:补全故事 AC;把口头需求收成可验收条目;含边界与负面路径。
- 不适合:变更影响一页(工期/风险/拍板);直接生成 Playwright/Jest 脚本;代替产品做取舍决策。
边界与差异化
- 参考:
scope-change-brief、泛 BDD/Gherkin 提示词。 - 本技能差异:产出可测试 AC;默认中文「场景/当/则」;缺业务规则进待确认,不编造。
怎么使用(普通用户)
在 AI 助手里直接说,例如:
- 「把下面需求写成验收标准」
- 「用验收标准撰写补全这个用户故事的 AC」
使用前必问
缺则追问:目标用户与核心动作、必须包含/排除的范围、平台(若影响验收)、是否有登录态/权限前提。
使用步骤
- 提炼主成功路径与关键边界。
- 写成编号 AC;每条含可观察结果(文案、状态、数据变化等)。
- 至少覆盖:主路径、1~2 条边界、1 条失败/权限不足(若适用)。
- 原文未给出的规则标「待确认」,禁止臆造费率/时限等。
- 可选附「测试提示」一句,但不输出完整脚本。
输出模板
## 验收标准 — {功能名}
### 主路径
- AC1: 当... 则...
- AC2: ...
### 边界与异常
- AC3: ...
- AC4: ...
### 待确认
1. ...
示例
输入:
需求:用户可用手机号+验证码登录;验证码 5 分钟有效;错 5 次锁定 15 分钟。
未说明:是否支持国际区号。
输出:
## 验收标准 — 手机号验证码登录
### 主路径
- AC1: 当用户输入合法手机号并获取验证码后,在有效期内输入正确验证码,则登录成功并进入已登录态。
- AC2: 当验证码发送成功,则提示用户查收,且同一手机号在冷却期内不可重复频繁获取(冷却时长待确认,若原文未定)。
### 边界与异常
- AC3: 当验证码超过 5 分钟未使用,则登录失败并提示验证码失效,可重新获取。
- AC4: 当连续输错验证码达到 5 次,则账号锁定 15 分钟,期间登录失败并提示锁定剩余时间或解锁条件。
- AC5: 当手机号格式不合法,则不允许发送验证码并提示格式错误。
### 待确认
1. 是否支持国际区号/港澳台号码?校验正则以何为准?
2. 验证码获取的冷却时间(秒)是否有产品规定?
3. 锁定是按手机号还是按设备/IP?
常见问题(FAQ)
- 必须用英文 Given/When/Then 吗? 默认中文可判定表述;若团队强制 Gherkin 可说明后改写。
- 能直接生成自动化用例吗? 本技能停在 AC;自动化需另开任务。
- 需求很糊怎么办? 先列待确认,再给「假设版 AC」并标明假设。
已知限制
- 不连接需求管理系统。
- 中文交互;不依赖海外 API。
Current listing version
0.1.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向产品与研发团队,解决用户故事验收标准补全这一明确痛点
- 属于软件开发流程中的高频刚需场景,具有广泛受众和实际效率提升价值
Highlights
- description 清晰说明用途与场景,边界明确
- 触发词如“验收标准”、“用户故事 AC”等精准,覆盖合理
Highlights
- 文档结构完整:用途、场景、边界、使用步骤、输出模板、示例、FAQ、限制等章节齐全
- 步骤划分清晰,有明确出口条件,含端到端示例
Highlights
- 对未明确规则标「待确认」,禁止臆造,体现可靠性
- 覆盖主要异常场景(验证码失效、锁定、格式错误)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.