qa-acceptance
它能做什么
这个工具可以制定测试新软件功能的计划。它确保各种情况下功能都能按预期工作,从日常正常使用到出错情况都包括在内。
适用场景
- ✓当新功能在发布前需要测试时。
- ✓验证 bug 修复是否有效,并且没有引入新问题时。
- ✓准备发布最终版本的软件时。
技能链接
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/quality/qa-acceptance/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为新的登录功能创建一份测试计划,包括主流程、错误情况和性能边界。”
每周 5 个新技能,1 分钟读完。
工作原理
该工具会定义具体的测试场景(预期结果、操作步骤和输出结果),并说明如何证明每个场景都已正常运行,例如截图或日志。它覆盖从最常见的使用方式到罕见或故障的情况。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
QA Acceptance
Write acceptance criteria that a reviewer can run against the running app and decide pass or fail without asking the author. The criteria are the contract — automated tests cover correctness, QA covers feature-level behavior.
When to use
- A feature change is heading to QA and needs a written validation plan.
- A reviewer is asked to verify a PR that touches user-visible behavior.
- An incident postmortem requires a regression check before reopen-prevention.
- A release candidate needs a pre-cut smoke pass.
When not to use
- The change is unit-test-only (utility refactor, internal naming). Acceptance criteria are unnecessary churn.
- You are asked to write tests against API contracts. Use contract testing, not feature QA.
Acceptance criteria format
Each criterion is a single, independently-verifiable statement:
- **Given** <starting state>, **when** <action>, **then** <observable outcome>.
Example:
- **Given** a CSV export with 0 rows, **when** the user clicks Export, **then** the file downloads with only the header row and the UI shows "Exported 0 rows".
Avoid criteria that combine multiple whens or thens. Split them.
What every plan must cover
- Golden path. The most common successful flow, end to end.
- Empty and minimum states. Zero items, one item, missing optional inputs.
- Boundary inputs. Max length strings, max numeric values, unicode, RTL text where applicable.
- Error states. Network failure, permission denied, validation failures, conflict (409), not found (404).
- Concurrency and ordering. Two users acting at once, race against background jobs, refresh during mutation.
- Performance envelope. The largest realistic input the change must handle without UI hangs or timeouts.
- Backward compatibility. Existing data, existing URLs, persisted user preferences continue to work.
- Telemetry and audit. Events, logs, or activity entries the change is supposed to emit.
If a section is genuinely not applicable, write "N/A: <why>" — do not silently omit.
Evidence
Each criterion needs evidence on the verification pass:
- Screenshot or short clip for UI behavior.
- Copied console / network output for API behavior.
- Log snippet or activity row for telemetry.
- Timing measurement for performance criteria.
"Looks good to me" without evidence is not a pass.
Quarantine and follow-up
- A failing criterion blocks acceptance unless explicitly waived by the owner with a tracked follow-up issue.
- "Known issue" without a linked follow-up is not a waiver.
- If you add a new criterion mid-pass, restart the pass — partial coverage hides regressions.
Handoff back to the author
Return the validation plan with three sections:
- Pass. Criteria that passed, with one-line evidence summaries.
- Fail. Criteria that failed, with the exact reproduction.
- Blocked. Criteria you could not run, with why.
The author owns turning failures into either fixes or accepted deferrals.
Anti-patterns
- Acceptance phrased as test plan ("write a Cypress test for X"). Acceptance is what is true after the change ships; tests are how you check.
- Criteria that depend on inspecting implementation details (selectors, query plans). Stay observable.
- Long checklists with no priority. Mark must-pass criteria distinctly from nice-to-have.
- Validation reports that say "passed" with no evidence. Reviewers cannot audit those.
常见问题
什么是“黄金路径”?
它是功能在理想条件下最主要、最常见的运行流程。
什么是“错误状态”?
指出现问题的情况,例如网络故障、数据无效或权限被拒绝,以及软件应该如何应对。
我需要测试所有内容吗?
该工具会重点关注最重要的部分,以确保核心功能和关键场景正常工作。
详情
作者的原始描述
Produce QA acceptance criteria and a manual validation plan for a feature change — golden path, edge cases, error states, performance limits, and explicit pass/fail evidence.
repo: paperclipai/paperclip
热度
- GitHub 星标
- 103k
- 排名
- #804
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …