Test Review

专项审查分支、PR/MR 或 WIP 中测试的正确性与必要性。按二八原则聚焦高价值覆盖,结合目标项目规范、BDD 业务结果、独立预期与消融测试识别假绿、脆弱测试及有效覆盖,分别审查 Standards 与 Spec,核实 fixture、mock 和 CI 接线。

107 stars 21 forksTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Dimon94/skills --skill test-review
Manual install
git clone --depth 1 https://github.com/Dimon94/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/test-review ~/.claude/skills/test-review

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Test Review

只读审查测试及其证明的行为。Standards 判断是否遵循项目测试规范;Spec 判断是否保护已接受需求。相关生产代码、调用方和 CI 用于核实测试证据,不扩展为全仓代码审计。

## 1. 固定范围

记录仓库、固定点、目标 HEAD、工作区状态和请求范围。用户或 caller 提供了 Review Packet / Evidence Bundle 时,核对并复用其精确 base、head、diff 关系和路径清单。未提供固定点且无法从明确的 PR/MR 坐标取得时,只补问该缺口。

分支比较使用解析到提交的固定点与目标 head:记录 `git merge-base <base-sha> <head-sha>`、`git diff <base-sha>...<head-sha>` 和 `git log <base-sha>..<head-sha> --oneline`。caller 要求精确两点比较时沿用其关系,不换成 merge-base。先核对 ref 有效、范围非空,再分派审查。

WIP 包含请求范围内的 staged、unstaged 和 untracked 文件;分别保存内容与路径,不让 HEAD diff 漏掉未提交测试。存在其他写者或无关 dirty 时,由 caller 提供隔离快照。两轴读取同一版本;审查后核对 head 与工作区输入,变化使原结论失效。

枚举新增、修改、删除的测试、共享装置、测试配置和 CI 入口;沿测试导入和被测入口补读相关实现。生产行为变更但没有改测试时,仍核对现有覆盖。空范围报告“无待审改动”;没有测试改动不等于测试正确。

完成条件:两轴有同一份固定证据;高价值行为有待检查的测试坐标或明确缺口,其余行为有覆盖取舍。

## 2. 加载项目依据

先读目标仓库的根级与最近 `AGENTS.md`,按其导航查测试原则、质量规范、验证流程和模块测试入口。存在 `CODING_STANDARDS.md`、`CONTRIBUTING.md` 时列入规范来源;常见落点包括 `docs/agents/quality-standards.md` 的测试章节、`coding-standards.md`、`ui-e2e.md` 和 `ci-demand.md`,只读取当前命中的部分。

从 manifest、测试配置、pre-commit 和 CI 读取真实发现命令、选择规则和失败传播,特别核对根脚本未覆盖的 CI 独有命令。区分“文档要求”“已接线”“本次实际运行”;已有检查漏接或失效时,问题是接线,不另造相同规则。

Spec 优先使用用户指定的 issue / spec / 验收标准,再按提交或 PR/MR 引用查 originating spec;平台读取遵循目标项目的 issue-tracker 指南。找不到时询问来源,同时继续 Standards;用户确认没有 Spec 或来源不可读时,Spec 标记 Unknown / 未审,不以当前实现或测试期望值充当需求。

项目规范优先于下节的通用审查问题。没有规范时标记“无项目测试规范”,只作有行为证据的判断,不把本 Skill 的经验写成项目硬规则。

### 二八原则:先选高价值测试

测试覆盖以少量关键测试保护主要业务价值:聚焦约 20% 能产生约 80% 价值的测试,其余低价值内容允许少覆盖或不覆盖。比例用于取舍,不是测试数量或代码覆盖率配额;没有证据时不编造价值比例。
Read the full skill on GitHub

Details

Skill name
test-review
Repository
Dimon94/skills
Path
skills/test-review/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Test Review skill do?

专项审查分支、PR/MR 或 WIP 中测试的正确性与必要性。按二八原则聚焦高价值覆盖,结合目标项目规范、BDD 业务结果、独立预期与消融测试识别假绿、脆弱测试及有效覆盖,分别审查 Standards 与 Spec,核实 fixture、mock 和 CI 接线。

How do I install the Test Review skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dimon94/skills --skill test-review. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Test Review popular?

It lives in Dimon94/skills, which has 107 GitHub stars and 21 forks.

Related skills

Maintain Verification Skill

107

Dimon94/skills

Periodic pass that keeps a project's verification skill and feature map honest: parallel source readers per feature, one live session driving every feature, at most one PR of proven corrections. Use for /maintain-verification-skill or "audit the verify skill".

Git & Code ReviewIn 2 lists21

Create Verification Skill

107

Dimon94/skills

Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform. Use for /create-verification-skill, "make a control skill for this repo", or when a project has no scripted way to prove UI/CLI/service behavior.

Software DevelopmentIn 2 lists21

How

107

Dimon94/skills

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

Software DevelopmentIn 2 lists21

D School

66

aparente/claude-skills

Stanford d.school design thinking facilitator. Use when the user wants to: brainstorm, ideate, generate ideas, run a design thinking session, create How Might We statements, use SCAMPER, do Crazy 8s, mind map, storyboard, define a problem statement, create empathy maps, build prototypes, test assumptions, run design sprints, reframe problems, do "worst possible idea", use "yes and" building, explore analogous inspiration, conduct user interviews, synthesize insights, create POV statements, plan user tests, iterate on concepts, or facilitate any creative problem-solving session. Covers all 5 ph

Testing & QA

Test Discipline

107

Dimon94/skills

用户要求建立或补齐项目测试规范,或明确点名 test-discipline 自检时使用。常规写测试由 hook 提醒。

Testing & QA21

Raffle Winner Picker

52

ArogyaReddy/ComposioHQ-awesome-claude-skills

Randomly selects winners using cryptographic randomness. Fair and verifiable random selection for contests and giveaways.

Testing & QA11

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.