ai-generated-ut-code-review

Installation
SKILL.md

AI UT Code Review

Overview

Review AI-generated unit tests for effectiveness, coverage, assertions, negative cases, determinism, and maintainability. Output a 0-10 score, a risk level, and a must-fix checklist. Overall line coverage must be >= 80%; otherwise risk is at least High.

When to Use

  • AI-generated UT/test code review or quality evaluation
  • Need scoring, risk level, or must-fix checklist
  • Questions about coverage or assertion validity

Workflow

  1. Confirm tests target the intended business code and key paths.
  2. Check overall line coverage (>= 80% required).
  3. Inspect assertions for behavioral validity; flag missing/ineffective assertions.
  4. Verify negative/edge cases and determinism (no env/time dependency).
  5. Score by rubric, assign risk, list must-fix items with evidence.

Scoring (0-10)

Each dimension 0-2 points. Sum = total score.

Related skills

More from openharmonyinsight/openharmony-skills

Installs
52
GitHub Stars
21
First Seen
Feb 7, 2026