Skip to main content

harmonyos-targets

为 HarmonyOS 项目发现、分配、固定、租赁和验证物理设备及 DevEco 模拟器。用于多项目并行开发、多模拟器管理、稳定选择手机/平板/折叠屏目标、唯一 HDC 端口分配、安装启动、截图、UI 自动化前几何校验和设备争用诊断。

v0.3.0New
0

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiCryptographically signed by the skills-hub.ai distributor key at publish time.
Signed

Install this skill

Run this command in your terminal. No account required — it auto-detects your AI tool and installs the skill file.

npx @skills-hub-ai/cli install harmonyos-targets
Or download directly:
Browse all CLI commands →

Setup by platform

Codex CLI

~/.codex/skills/<skill>/SKILL.md, or reference via codex.md instructions file

Setup guide →

Install

One-click setup for your editor

Run in your project root

npx @skills-hub-ai/cli install harmonyos-targets --target claude-code

Examples

Prompt

为我的HarmonyOS项目绑定一台型号为平板,API版本为3.0的设备,已知目标设备UUID为1234-5678-ABCD-EFGH。

Output

已成功将UUID为1234-5678-ABCD-EFGH的平板设备绑定到项目,角色为测试平板,设备已启动并准备好进行下一步操作。

Prompt

我想为项目分配一台折叠屏设备,要求API版本为2.2,没有绑定现有设备,系统会自动选择合适的模拟器或设备吗?

Output

系统根据设备规格和API版本自动分配了一台折叠屏模拟器,已启动并完成目标验证。你可以继续进行安装和测试流程。

Instructions

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all
harmonyos-design设计、重构、实现或改进 HarmonyOS、OpenHarmony 与 ArkUI 产品界面。用于从需求建立设计基线,把交互方案落到 ArkTS/ArkUI,处理导航、手机/平板/折叠屏/PC 适配、多输入、状态真实性、生命周期、动效、无障碍、性能、WebView/IME 几何与设备验证。0 installsharmonyos-workbench端到端编排 HarmonyOS、OpenHarmony 与 ArkTS/ArkUI 产品开发。用于跨越需求澄清、设计、功能实现、Hvigor 构建、项目级设备或模拟器分配、安装运行、测试、体验审查和 AppGallery 发布门禁的综合任务,也用于用户只说“开发、修复、验证或交付这个 HarmonyOS 项目”而尚未指定阶段时。0 installsharmonyos-review严格 review、audit、审查、验收或评估 HarmonyOS、OpenHarmony 与 ArkUI 产品、代码、截图、录屏和设备证据。只报告有证据的任务、导航、状态真实性、生命周期、跨设备、多输入、视觉、动效、无障碍与性能问题,并给出最小修复计划和通过结论。0 installsharmonyos-build构建并校验 HarmonyOS、OpenHarmony 的 HAP 或 APP 产物。用于 Hvigor debug/release 构建、module/product 选择、SDK 与 Hvigor 发现、构建诊断、产物选择、SHA-256 和签名 Profile 事实检查。0 installsharmonyos-develop实现、重构或诊断 HarmonyOS、OpenHarmony 与 ArkTS 应用功能和工程架构。用于 Ability 与生命周期、状态管理、服务层、权限、网络、存储、数据库、并发、后台任务、ArkWeb、跨进程或跨设备通信、错误恢复以及非纯视觉业务逻辑。0 installsharmonyos-test规划、执行并归一化 HarmonyOS 应用和元服务测试。用于 Local Test、Instrument Test、项目 smoke、Hypium UI、ArkWeb Selenium、DevEco Testing 专项、性能与回归证据;设备测试必须使用项目绑定、有效租约和目标预检。0 installs

More Ops skills

Browse category

Frequently asked questions about harmonyos-targets

What does the harmonyos-targets skill do?

为 HarmonyOS 项目发现、分配、固定、租赁和验证物理设备及 DevEco 模拟器。用于多项目并行开发、多模拟器管理、稳定选择手机/平板/折叠屏目标、唯一 HDC 端口分配、安装启动、截图、UI 自动化前几何校验和设备争用诊断。 It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the harmonyos-targets skill?

Run `npx @skills-hub-ai/cli install harmonyos-targets` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/harmonyos-targets/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does harmonyos-targets work with?

harmonyos-targets runs in Codex CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the harmonyos-targets skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use harmonyos-targets after installing it?

In Codex CLI, type `/harmonyos-targets` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the harmonyos-targets skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.