oh-xts-build-run

Official

Compile and run XTS tests end-to-end.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the manual two-step process of compiling an OpenHarmony XTS test project and then running it to collect and inspect results, reducing time-to-feedback when verifying changes.

Core Features & Use Cases

  • Unified build + run workflow: Runs /oh-xts-build to produce the required HAP artifacts, then automatically proceeds to /oh-xts-run to execute the tests.
  • Result validation and reporting: Stops early when compilation fails; otherwise parses and summarizes XTS execution statistics into a single combined output.
  • Flexible runtime targeting: Supports passing --package to select a package and --api to target a test class during the run stage.

Use case example: After updating an XTS test suite, compile the test artifacts and immediately run the relevant tests while capturing both compilation output and execution statistics in one run.

Quick Start

Run the XTS build-and-run workflow and optionally focus on a specific package and test class by issuing: /oh-xts-build-run --package=<package-name> --api=<api-name>.

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: oh-xts-build-run
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#oh-xts-build-run

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.