autorenew

SKILL DETAIL

AI-Generated Test Review

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-generated test review and functional test review.

StatusStable
TypeAtomic Skill
DomainSoftware testing
SDLCTest design
Good forQA / DEV
LanguageChinese / English
EvalsEvals ✓
Synced2026-09-15

Why this Skill

It turns this Skill's method into a quality input that can be executed, reviewed, and reused.

  • Reviewing, changing, or accepting AI-generated unit, functional, API, or E2E tests.
  • Judge observable behavior, failure signals, and risk coverage—not line coverage, test names, or mock-call counts alone.
  • When a broken implementation could still pass, state the smallest break and the assertion needed to catch it.
  • Never recommend deleting assertions, swallowing errors, loosening timeouts, or changing production behavior merely to obtain green tests.

When to use

Use this Skill
  • Reviewing, changing, or accepting AI-generated unit, functional, API, or E2E tests.
  • A test passes but its assertions, isolation, data, or coverage value is doubtful.
Common pitfalls
  • No content is available for this Skill yet.

Input

Minimum Input
  • Inventory test types and files actually present in scope: unit, functional test, API, E2E, or a combination. Review only discovered or user-specified types.
Recommended Input
  • Always read prompts/review-test.md before reviewing; its test-type routing precedes per-test review.
  • For fake tests, excessive mocks, or ineffective assertions, read references/fake-test-patterns.md.
  • Read references/unit-test-rules.md, references/functional-test-rules.md, references/api-test-rules.md, or references/e2e-test-rules.md for the applicable layer.
  • Read related material under examples/good/ or examples/bad/ when an example is useful.
Optional Context
  • Relevant code or configuration
  • Historical results
  • Logs and metrics

Output

The output follows this Skill's method and makes facts, assumptions, risks, and next steps explicit.

Judge the output value before installing

  1. 01States scope, evidence, and open questions
  2. 02Ranks findings and includes location, impact, and repair direction
  3. 03Reviews real assertions, negative paths, boundaries, isolation, and repeatability
  4. 04Does not present speculation as fact

How It Works

  1. 01Inventory test types and files actually present in scope: unit, functional test, API, E2E, or a combination. Review only discovered or user-specified types.
  2. 02Establish the behavior, risk, and available requirement or implementation evidence. Mark missing evidence; do not invent findings.
  3. 03Read prompts/review-test.md and report actionable findings by severity, tied to a test, risk, and repair direction.
  4. 04Load rules only for discovered layers: unit, functional test, API, or E2E. Load more than one only for cross-layer concerns; do not perform a global review just because multiple rule files exist.
  5. 05Separate merge-blocking faults from improvements; do not call an effective test defective because of style preference.

Install & Quick Start

Install command / SHELL
npx skills add \
  https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/ai-generated-test-review
  -g
ai-generated-test-review.prompt
@skill ai-generated-test-review

Using the current project context, produce an actionable result following this Skill.

Additional context:
[Paste project context or requirement]