check-test-code-quality

Official

Automate XTS test code quality checks with actionable reports.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill finds low-level issues and coding standard violations in OpenHarmony XTS test code, so you can catch problems before they waste build time and test cycles.

Core Features & Use Cases

  • Scans 23 rules (Critical + Warning) covering assertions correctness, naming rules, configuration correctness, and common coding pitfalls.
  • Generates a detailed Excel report for triage, including rule IDs, locations, and a subsystem mapping.
  • Supports project-level duplicate detection within independently identified XTS projects (so results stay scoped and meaningful).
  • Optional auto-fix for a limited set of rules (e.g., testcase formatting/naming, certain duplicates) to accelerate remediation.

Quick Start

Ask the AI to run check-test-code-quality on your XTS code directory and show the Excel report location and a rule-by-rule summary.

Dependency Matrix

Required Modules

openpyxlpandas

Components

scriptsreferences

💻 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: check-test-code-quality
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#check-test-code-quality

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.