跳到正文
Skillpedia
测试103k · #804

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/quality/qa-acceptance/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Golden path. The most common successful flow, end to end.
  2. Empty and minimum states. Zero items, one item, missing optional inputs.
  3. Boundary inputs. Max length strings, max numeric values, unicode, RTL text where applicable.
  4. Error states. Network failure, permission denied, validation failures, conflict (409), not found (404).
  5. Concurrency and ordering. Two users acting at once, race against background jobs, refresh during mutation.
  6. Performance envelope. The largest realistic input the change must handle without UI hangs or timeouts.
  7. Backward compatibility. Existing data, existing URLs, persisted user preferences continue to work.
  8. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能