ai-generated-ut-code-review

Official

Score AI UT quality and surface must-fixes

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents ineffective AI-generated unit tests from slipping into a codebase by systematically checking coverage, assertion validity, negative/edge cases, determinism, and maintainability so the review results are actionable.

Core Features & Use Cases

  • Quantified UT quality review: produces a 0-10 score with an explicit risk level to support consistent decision-making during CI/PR review.
  • Coverage-to-risk enforcement: treats overall line coverage below 80% as at least High risk and makes it a must-fix item.
  • Assertion and test robustness validation: identifies missing/weak assertions, absent negative cases, and flaky environment/time dependencies that undermine test reliability.

Quick Start

Ask an AI assistant to review the AI-generated unit test code for coverage, assertion effectiveness, negative cases, determinism, and maintainability, and return a score, risk level, and must-fix checklist with evidence.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ai-generated-ut-code-review
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#ai-generated-ut-code-review

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.