·oh-xts-generator-template
</>

oh-xts-generator-template

openharmonyinsight/openharmony-skills

OpenHarmony XTS est une API.定义解析,测试覆盖率分析,代码规范检查。触发关键词:XTS、测试生成、用例生成、测试用例。

7Installations·1Tendance·@openharmonyinsight

Installation

$npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-xts-generator-template

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 est une API.定义解析,测试覆盖率分析,代码规范检查。触发关键词:XTS、测试生成、用例生成、测试用例。 Source : openharmonyinsight/openharmony-skills.

Voir l'original

Faits (prêts à citer)

Champs et commandes stables pour les citations IA/recherche.

Commande d'installation
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-xts-generator-template
Catégorie
</>Développement
Vérifié
Première apparition
2026-02-17
Mis à jour
2026-02-18

Réponses rapides

Qu'est-ce que oh-xts-generator-template ?

OpenHarmony XTS est une API.定义解析,测试覆盖率分析,代码规范检查。触发关键词:XTS、测试生成、用例生成、测试用例。 Source : openharmonyinsight/openharmony-skills.

Comment installer oh-xts-generator-template ?

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-xts-generator-template Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor

Où se trouve le dépôt source ?

https://github.com/openharmonyinsight/openharmony-skills