Summary
OpenHarmony XTS 编译和运行组合命令。一站式完成 XTS 测试项目的编译和运行。当用户需要执行完整的 XTS 测试流程时使用此 Skill: (1) 编译 XTS 测试项目生成 HAP 文件,(2) 运行 XTS 测试并展示结果。支持 --package 和 --api 参数传递给运行阶段。
openharmonyinsight/openharmony-skills
OpenHarmony XTS 编译和运行组合命令。一站式完成 XTS 测试项目的编译和运行。当用户需要执行完整的 XTS 测试流程时使用此 Skill: (1) 编译 XTS 测试项目生成 HAP 文件,(2) 运行 XTS 测试并展示结果。支持 --package 和 --api 参数传递给运行阶段。
npx skills add openharmonyinsight/openharmony-skills --skill oh-xts-build-run
OpenHarmony XTS 编译和运行组合命令。一站式完成 XTS 测试项目的编译和运行。当用户需要执行完整的 XTS 测试流程时使用此 Skill: (1) 编译 XTS 测试项目生成 HAP 文件,(2) 运行 XTS 测试并展示结果。支持 --package 和 --api 参数传递给运行阶段。
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existi…
866.4K installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsOther skills from openharmonyinsight/openharmony-skills · top by installs.
npx skills add openharmonyinsight/openharmony-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
1,393 B
SUMMARY.md
335 B
此 Skill 将 XTS 编译 (/oh-xts-build) 和运行 (/oh-xts-run) 组合成一个完整的工作流。
/oh-xts-build- 更新 List.test.ets 注册测试用例 - 使用 hvigorw 编译生成 HAP 文件 - 检查主 HAP 和测试 HAP 是否生成成功
- 如果编译失败 → 停止流程,返回编译错误 - 如果编译成功 → 继续执行运行
/oh-xts-run [参数]- 自动解析包名(从 pack.info 或 module.json5) - 运行测试并解析结果统计
--package=<package-name>:指定包名(可选)--api=<api-name>:指定测试类名(可选)packages/cli/src/ui/commands/ohXtsBuildCommand.tspackages/cli/src/ui/commands/ohXtsRunCommand.tspackages/cli/src/modules/xts/build-runner.ts