oh-xts-build-run
OfficialCompile and run XTS tests end-to-end.
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-buildto produce the required HAP artifacts, then automatically proceeds to/oh-xts-runto 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
--packageto select a package and--apito 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.