oh-xts-generator-template
✓OpenHarmony XTS 测试用例通用生成模板。支持各子系统测试用例生成,API 定义解析,测试覆盖率分析,代码规范检查。触发关键词:XTS、测试生成、用例生成、测试用例。
Installation
SKILL.md
oh-xts-generator-template 是一个通用的 OpenHarmony XTS 测试用例生成模板,设计为可配置、可扩展的通用框架,适用于各个子系统的测试用例生成。
| API定义解析 | 解析 .d.ts 文件,提取接口、方法、参数、返回值、错误码 | | 测试覆盖分析 | 分析现有测试文件,识别已覆盖和未覆盖的API | | 智能测试生成 | 根据测试策略自动生成符合 XTS 规范的测试用例 | | 测试设计文档生成 | 同时生成结构化的测试设计文档,包含测试用例说明、预期结果等 | | ArkTS 静态语言语法规范校验 | 校验 ArkTS 静态语言语法规范,包括类型注解、字段初始化、语法兼容性等 | | 代码规范检查 | 确保生成的代码符合 XTS 测试规范 | | 编译问题解决 | subagent 执行编译,自动修复语法错误,监听编译完成状态 |
| 方式1:通用模板 | 新手、简单任务 | USAGE.md | | 方式2:子系统配置 | 大多数任务(推荐) | USAGE.md | | 方式3:自定义配置 | 高级用户、特殊需求 | USAGE.md |
OpenHarmony XTS 测试用例通用生成模板。支持各子系统测试用例生成,API 定义解析,测试覆盖率分析,代码规范检查。触发关键词:XTS、测试生成、用例生成、测试用例。 Source: openharmonyinsight/openharmony-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-xts-generator-template- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-17
- Updated
- 2026-02-18
Quick answers
What is oh-xts-generator-template?
OpenHarmony XTS 测试用例通用生成模板。支持各子系统测试用例生成,API 定义解析,测试覆盖率分析,代码规范检查。触发关键词:XTS、测试生成、用例生成、测试用例。 Source: openharmonyinsight/openharmony-skills.
How do I install oh-xts-generator-template?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-xts-generator-template Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/openharmonyinsight/openharmony-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-17