ai-generated-test-review SKILL.md skillA

ai-generated-test-review from naodeng/awesome-qa-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add naodeng/awesome-qa-skills/ai-generated-test-review@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
naodeng/awesome-qa-skills
Path
skills/zh/testing-types/ai-generated-test-review/SKILL.md
Versions recorded
3
Latest version
v1.0.0, committed Oct 29, 2026
First version recorded
Sep 2, 2026
Size
3,883 bytes
Repository stars
301
License
a license file GitHub does not identify

Use this skill when reviewing AI-generated unit, functional, API, or end-to-end tests for false confidence, weak assertions, missing risks, or unsafe test behavior; triggers include AI 生成测试评审, AI-generated test review, and functional test review.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AI 生成测试评审(中文版)

审查 AI 生成的测试是否能证明真实行为,而不是只增加覆盖率或制造“全绿”的假象。

## 何时使用

- 需要合入、修改或评估 AI 生成的单元、功能、API 或 E2E 测试。
- 测试看似通过,但断言、隔离、数据或覆盖价值值得怀疑。

## 工作方式

1. 先盘点当前范围内实际存在的测试类型与文件:单元、功能(functional testing)、API、E2E 或其组合;只审查已发现或用户明确指定的类型。
2. 再明确被测行为、风险和可用的需求或实现证据;缺失时列为待确认,不虚构结论。
3. 阅读 `prompts/review-test.md`,按严重度输出可行动的发现;每项关联具体测试、风险和修正方向。
4. 仅加载已发现层级的规则:单元测试、功能测试(functional testing)、API 或 E2E;跨层问题可加载多份。不要因存在多个规则文件而直接全局审查。
5. 将“阻断合入”的错误与可接受的改进分开;不要因风格偏好把有效测试判为问题。

## 领域执行要点

1. 按所验证的契约判断断言,不能仅因出现 mock、snapshot 或状态码就标为 WEAK/FAKE。
2. 边界 mock 可替代已确认的外部依赖,但被测生产逻辑必须真实执行;mock 被测对象并断言它返回的预设值才缺乏保护。
3. 快照需基于独立审核的业务结构、稳定字段且错误结果会产生差异;忽略所有业务字段的快照无保护。状态码足以完整表达所给契约时可为 STRONG;持久化义务存在则需追加业务后置条件。
4. 每个分类给具体可逃逸缺陷或会被检出的变异,以及契约来源;证据不足保留置信度和缺口,中英文采用同一分类理由。
## 核心约束

- 以可观察行为、失败信号和风险覆盖为准,不能只评价行覆盖率、测试名称或 mock 调用次数。
- 发现测试会在实现被破坏后仍通过时,明确说明最小破坏方式和需要加强的断言。
- 不建议为了绿灯删除断言、吞掉异常、放宽时间阈值或改生产逻辑以适应测试。
- 测试代码、日志和示例中不得泄露真实凭据、个人数据或生产写操作。

## 按需加载

- 校准领域结果、正确对照或证据缺口时,读取 [references/domain-decision-example.md](references/domain-decision-example.md) 的脱敏输入、逐项预期与复算依据。

- 每次评审必须读 `prompts/review-test.md`;其中的“测试类型路由”先于逐条评审。
- 识别伪测试、过度 mock 或无效断言时读 `references/fake-test-patterns.md`。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add naodeng/awesome-qa-skills/ai-generated-test-review@sha256:88c256dec358b31f

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fowu67zz7uk6binq.svg)](https://markdownregistry.com/a/art_fowu67zz7uk6binq)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Sep 2, 2026 and Oct 29, 2026, about one every 29 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-10-29 1d0d58f 3,883 BA view · diff
git:20261011.7d9502b2026-10-11 7d9502b 3,574 BA view · diff
git:20260902.4da41072026-09-02 4da4107 2,677 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3883 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

naodeng/awesome-qa-skills · 301 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fowu67zz7uk6binq
GET https://markdownregistry.com/api/v1/resolve?ref=naodeng/awesome-qa-skills/ai-generated-test-review
GET https://markdownregistry.com/api/v1/blob/88c256dec358b31fac2b12418bebee30996d366ebabd1b2cff21418e0b956a50

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from naodeng/awesome-qa-skills

AGENTS.md AGENTS.md file
naodeng/awesome-qa-skills · AGENTS.md
git:20261029.dc831fe · audit A · 301 stars
sqet-judge-calibration SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/calibration/SKILL.md · Offline answer fixtures for calibrating an experimental semantic judge; not a Pilot Skill or runtime result.
git:20261016.61d7e3c · audit A · 301 stars
parent SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/fixture-skills/parent/SKILL.md · Fixture only.
git:20261016.61d7e3c · audit B · 301 stars
nested SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/fixture-skills/parent/fixtures/nested/SKILL.md · Fixture only.
git:20261016.61d7e3c · audit B · 301 stars
functional-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/functional-testing-en/SKILL.md · Use this skill when you need to design functional test plans or cases for business flows, UI, data, and integrations…
git:20261016.61d7e3c · audit A · 301 stars
functional-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/functional-testing-zh/SKILL.md · Use this skill when you need to design functional test plans or cases for business flows, UI, data, and integrations…
git:20261016.61d7e3c · audit A · 301 stars
performance-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/performance-testing-en/SKILL.md · Use this skill when you need to design performance testing for load, stress, spike, endurance, or capacity objectives…
git:20261016.61d7e3c · audit A · 301 stars
performance-testing SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/performance-testing-zh/SKILL.md · Use this skill when you need to design performance testing for load, stress, spike, endurance, or capacity objectives…
git:20261016.61d7e3c · audit A · 301 stars
skill-change-verification SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-change-verification-en/SKILL.md · Use this skill when selecting and reporting verification for Skill changes; triggers include Skill change verification…
git:20261016.61d7e3c · audit A · 301 stars
skill-change-verification SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-change-verification-zh/SKILL.md · Use this skill when selecting and reporting verification for Skill changes; triggers include Skill 变更验证、质量门禁、evidence…
git:20261016.61d7e3c · audit A · 301 stars
skill-evaluation SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-evaluation-en/SKILL.md · Use this skill when designing, running, interpreting, or reporting Agent Skill evaluations, selecting cases or judges…
git:20261016.61d7e3c · audit A · 301 stars
skill-evaluation SKILL.md skill
naodeng/awesome-qa-skills · evidence/skill-quality/2026-10-03-codex-pilot/reproduction/packages/skill-evaluation-zh/SKILL.md · Use this skill when designing, running, interpreting, or reporting Agent Skill evaluations, selecting cases or judges…
git:20261016.61d7e3c · audit A · 301 stars

Every file in naodeng/awesome-qa-skills

Other files named ai-generated-test-review

ai-generated-test-review SKILL.md skill
naodeng/awesome-qa-skills · skills/en/testing-types/ai-generated-test-review/SKILL.md · Use this skill when reviewing AI-generated unit, functional, API, or end-to-end tests for false confidence, weak…
v1.0.0 · audit A · 301 stars

Browse by kind, by grade A, or by owner.