Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ryanzhao1011/workframe --skill acceptance-criteriagit clone --depth 1 https://github.com/ryanzhao1011/workframeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ryanzhao1011/workframe/acceptance-criteria)<a href="https://agentmods.dev/skills/ryanzhao1011/workframe/acceptance-criteria"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/acceptance-criteria/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ryanzhao1011/workframe/acceptance-criteria"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/acceptance-criteria.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00122 | $0.01558 |
| Opus 5.5 | $0.00049 | $0.00623 |
| Sonnet 5.5 | $0.00024 | $0.00312 |
| Haiku 4.5 | $0.00012 | $0.00156 |
Grade A, and why
acceptance-criteria scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
验收标准编写技能
格式选择
根据验收内容选择合适的格式:
| 格式 | 适用场景 | 示例 |
|---|---|---|
| GWT 场景式 | 用户行为场景、操作流、交互逻辑 | 用户点击提交按钮后的响应 |
| 规则式清单 | 业务约束、配置规则、数据校验、合规要求 | 密码强度规则、字段长度限制 |
同一 Story 允许两种格式混合使用。
GWT 场景式格式
AC-{序号}: {标准名称}
Given {前置条件/上下文}
And {补充条件}(可选)
When {用户操作/系统事件}
Then {预期结果/系统响应}
And {补充结果}(可选)
编写规范
- 每条 AC 只允许一个 When/Then 对(防止 AC 过于宽泛)
- 使用主动语态("系统显示提示信息" 而非 "提示信息被系统显示")
- 避免 "not" 否定句(用正面描述替代:"按钮置灰不可点击" → "按钮处于禁用状态")
- 使用简单句,不用从句嵌套
- 条件和结果必须可量化或可观测
GWT 示例
AC-01: 成功提交任务
Given 用户已登录且剩余使用次数 ≥ 1
And 用户已完成必填配置项
When 用户输入内容并点击"提交"
Then 系统在 60 秒内返回处理结果
And 用户剩余使用次数减少 1
AC-02: 使用次数不足时的操作限制
Given 用户已登录且剩余使用次数为 0
When 用户访问功能页面
Then "提交"按钮处于禁用状态
And 页面显示提示"使用次数已用完,请升级套餐"
And 显示套餐升级入口链接
规则式清单格式
AC-{序号}: {规则名称}
规则:
- [ ] {规则1}
- [ ] {规则2}
- [ ] {规则3}
规则式示例
AC-03: 文章输入校验规则
规则:
- [ ] 原文字数不少于 100 字
- [ ] 原文字数不超过 50,000 字
- [ ] 不接受纯图片/纯链接内容
- [ ] 输入内容自动过滤 HTML 标签
- [ ] 检测到敏感词时阻止提交并提示具体原因
复杂度分级数量标准
根据 Story 规模确定最少 AC 数量:
| Story 规模 | 最少 AC 数量 | 说明 |
|---|---|---|
| 1-2 Story Points | 3-4 条 | 正常路径 + 1-2 个异常路径 |
| 3-5 Story Points | 4-6 条 | 正常路径 + 多个异常/边界场景 |
| 8 Story Points | 5-8 条 | 全面覆盖,含并发和状态边界 |
| 13+ Story Points | 先拆分 Story | Story 过大,不直接写 AC |
边界条件覆盖清单
每个功能须评估以下 5 类边界条件,按需编写对应 AC:
输入边界
| 条件 | 测试内容 | AC编号 |
|---|---|---|
| 空值 | 输入为空时的处理 | |
| 最小值 | 最小有效输入 | |
| 最大值 | 最大有效输入(如文章字数上限) | |
| 非法格式 | 特殊字符、SQL 注入、XSS | |
| 超长输入 | 超过最大长度限制 |
权限边界
| 条件 | 测试内容 | AC编号 |
|---|---|---|
| 未登录 | 未认证用户访问 | |
| 无权限 | 角色权限不足 | |
| 过期会话 | Token 过期后操作 |
并发边界
| 条件 | 测试内容 | AC编号 |
|---|---|---|
| 重复提交 | 快速连续点击 | |
| 并发修改 | 多人同时编辑同一资源 | |
| 资源竞争 | 任务队列满时的处理 |
状态边界
| 条件 | 测试内容 | AC编号 |
|---|---|---|
| 初始状态 | 首次使用时的默认值 | |
| 中间状态 | 任务处理中的操作限制 | |
| 终态 | 已完成/已取消后的操作限制 | |
| 异常状态 | 网络断开/服务不可用 |
无障碍边界
| 条件 | 测试内容 | AC编号 |
|---|---|---|
| 键盘导航 | Tab 键可遍历所有交互元素 | |
| 屏幕阅读器 | 关键操作有 ARIA 标签 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -4 lines · +86 tokens per session f717073c874e
- 3mo ago First seen · 160 lines · 36 tokens per session scan A a8a61e69615c
acceptance-criteria is a skill published in the GitHub repository ryanzhao1011/workframe (9 stars, last pushed 5d ago), licensed MIT. It adds 122 tokens to every session and 1,558 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
acceptance-criteria compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| acceptance-criteriaryanzhao1011/workframe | Skill | 9 | 5d ago | MIT | A | 122 | Claude Code |
| html-prototypemayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 97 | Claude Code |
| feature-acceptancemayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 192 | Claude Code |
| prdmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 202 | Claude Code |
| ui-walkthroughmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 231 | Claude Code |
| gbgcielebak/goal-by-goal | Skill | 1 | 5mo ago | MIT | A | 150 | Claude Code |
| competitor-researchmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 123 | Claude Code |