test-evidence-review
它能做什么
这个技能审阅每个故事的测试和证据质量,而不只是看它们是否存在。适合希望确认故事的测试是否真正证明其行为的 QA 负责人。
适用场景
- ✓当一个故事已经有测试,团队想知道这些测试是否覆盖了标准的时候。
- ✓当负责人需要在故事关闭前将其标记为充分、不完整或缺失的时候。
- ✓当测试文件是匆忙编写的,需要进行质量检查的时候。
技能链接
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/test-evidence-review/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请审阅背包故事的测试,并告诉我它们是否真正覆盖了验收标准。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能会读取测试文件和故事的证据,把断言与每条标准进行对照,并为每个故事给出结论。严格程度取决于项目的 QA 和测试设置。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow,qa.level,testing.strict
Automation mode: Resolve modes.automation (project.local.yaml →
project.yaml → default collaborative). Every AskUserQuestion call and
every file write follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
qa.level and testing.strict (resolved above) decide what this review may
call a blocker — the same rules /story-done closes stories by, so a BLOCKING
item here is one that would stop /story-done:
qa.level: minimalwaives tests. A Logic, Integration or Config/Data story with no test evidence (for Config/Data, no smoke report) isWAIVED (qa.level: minimal)— not MISSING — and raises no BLOCKING item; a test that does exist is still reviewed, but its gaps are ADVISORY. Visual/Feel and UI evidence (the retained screenshots, and the Visual/Feel sign-off) is never waived.- Gate level per story type: take
testing.strict.<type>from the resolved block (Logic→logic, Integration→integration, Visual/Feel→visual, UI→ui, Config/Data→config):true→ BLOCKING,false→ ADVISORY,unset→ a plain-booleantesting.strict: true|false(legacy form) applies to every type; else the Default Gate Level in.claude/docs/coding-standards.md(BLOCKING for Logic, Integration, Visual/Feel and UI; ADVISORY for Config/Data). Every "BLOCKING" below means that story type's gate level.
Test Evidence Review
/smoke-check verifies that test files exist and pass. This skill
goes further — it reviews the quality of those tests and evidence documents.
A test file that exists and passes may still leave critical behaviour uncovered.
A manual evidence doc that exists may lack the sign-offs required for closure.
Output: Summary report (in conversation) + optional production/qa/evidence-review-[date].md
When to run:
- Before QA hand-off sign-off (
/team-qaPhase 5) - On any story where test quality is in question
- As part of milestone review for Logic and Integration story quality audit
1. Parse Arguments
Modes:
/test-evidence-review [story-path]— review a single story's evidence/test-evidence-review sprint— review all stories in the current sprint/test-evidence-review [system-name]— review all stories in an epic/system- No argument — ask which scope: "Single story", "Current sprint", "A system"
2. Load Stories in Scope
Based on the argument:
Single story: Read the story file directly. Extract: Story Type, Test Evidence section, story slug, system name.
Sprint: Read the most recently modified file in production/sprints/; extract
the list of story file paths from the sprint plan.
System: Glob production/epics/[system-name]/story-*.md.
If the resolved scope contains ZERO stories, stop here. Report
NOT ASSESSED — no stories in scope, name which scope was searched and which path was empty, and route: no sprint file →/sprint-plan new(atworkflow: minimal, which has no sprints,/test-evidence-review [epic-slug]instead); a sprint plan listing no stories →/create-stories [epic-slug]; a[system-name]glob that matched nothing → name the glob. Do not continue to Section 3.Guard the empty scope, not just the per-story unknown. The verdict vocabulary here — ADEQUATE / INCOMPLETE / MISSING — needs a "could not check" value, or an unverifiable story acquires a verdict claiming somebody verified it; that is what
NOT ASSESSEDis for. But giving the per-story unknown a home does nothing for the empty-scope unknown. With no stories the Section 6 report renders an empty Summary table and endsBLOCKING items: 0 / ADVISORY items: 0— which reads as everything reviewed, all fine. This skill gates story closure, andcoding-standards.mdmarks Logic, Integration, Visual/Feel and UI evidence BLOCKING, so a false-clean closes stories nobody reviewed.
For the resulting story set, collect the fields below with targeted section greps, not a full read of each story:
Grep pattern="## Test Evidence" glob="production/epics/**/story-*.md" output_mode="content" -A 8
Grep pattern="## Acceptance Criteria" glob="production/epics/**/story-*.md" output_mode="content" -A 15
- Story Type (Logic / Integrati
常见问题
它会给出哪些结论?
每个故事会得到充分、不完整、缺失或未评估中的一个结论。
存在的测试一定能通过这项审阅吗?
不一定。审阅检查的是断言是否覆盖了标准,而不只是文件是否存在。
视觉证据也会被审阅吗?
会。截图以及其他视觉和界面证据在每个 QA 级别下都会保留,绝不会被豁免。
详情
作者的原始描述
Quality review of test files and evidence — goes beyond existence, evaluates assertion coverage. ADEQUATE/INCOMPLETE/MISSING/NOT ASSESSED per story.
热度
- GitHub 星标
- 33k
- 排名
- #8501
- 许可证
- MIT
- 更新时间
- 2026/10/18
评论
- …