Harmonyos Build Deploy

鸿蒙 HarmonyOS 应用自动编译、签名并部署到真机。当用户需要:(1) 编译鸿蒙项目生成 HAP/HSP 包, (2) 将应用安装到真机设备,(3) 一键编译+安装+启动,(4) 查看连接的鸿蒙设备,(5) 多模块项目依赖解析与全量编译, (6) 切换 product 构建变体(如测试/正式环境),(7) 切换 buildMode(debug/release/test/自定义), (8) 查看设备实时日志,(9) 打包生成 .app 文件用于上架 AppGallery, 或提到 hvigor、hvigorw、hdc、HAP、HSP、APP、bm install、ohpm、hilog、AppGallery 等关键词时触发。 也适用于用户需要修改、扩展或调试此部署脚本本身的场景。

43 stars 4 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add supermanaaaa/harmonyos-build-deploy --skill harmonyos-build-deploy
Manual install
git clone --depth 1 https://github.com/supermanaaaa/harmonyos-build-deploy.git /tmp/harmonyos-build-deploy
mkdir -p ~/.claude/skills
cp -r /tmp/harmonyos-build-deploy/. ~/.claude/skills/harmonyos-build-deploy

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# HarmonyOS Build & Deploy

一键编译、签名、部署鸿蒙应用到真机的 Node.js CLI 工具。

## Requirements

- Node.js >= 14
- DevEco Studio or standalone HarmonyOS SDK
- hvigorw (build tool, usually installed with DevEco)
- hdc (HarmonyOS Device Connector)
- ohpm (package manager)
- Configured signing certificate (required for real device installation)

## Quick Start

在鸿蒙项目根目录运行:

```bash
npx harmonyos-deploy --all --launch           # Build all + install + launch
npx harmonyos-deploy --all --release --launch # Release mode
npx harmonyos-deploy --all --skip-build       # Install existing build
npx harmonyos-deploy --log-only               # View device logs only
npx harmonyos-deploy --app --release          # Build .app for AppGallery
```

## Full CLI Reference

### Module Selection
| Flag | Description |
|------|-------------|
| `-a, --all` | Build all modules (auto-resolve dependency order) |
| `-m, --module <n>` | Build specific module only (default: entry) |

### Product Variant
| Flag | Description |
|------|-------------|
| `-p, --product <n>` | Product flavor from build-profile.json5 (default: default) |
| `--list-products` | List available products and exit |

### Build Mode
| Flag | Description |
|------|-------------|
| `-b, --build-mode <mode>` | Build mode (default: debug). Supports any value |
| `--debug` | Shorthand for `-b debug` |
| `--release` | Shorthand for `-b release` |
| `--test` | Shorthand for `-b test` |
| `--list-build-modes` | List build modes from build-profile.json5 |
Read the full skill on GitHub

Details

Skill name
harmonyos-build-deploy
License
MIT
Repo updated
18 May 2026

FAQ

What does the Harmonyos Build Deploy skill do?

鸿蒙 HarmonyOS 应用自动编译、签名并部署到真机。当用户需要:(1) 编译鸿蒙项目生成 HAP/HSP 包, (2) 将应用安装到真机设备,(3) 一键编译+安装+启动,(4) 查看连接的鸿蒙设备,(5) 多模块项目依赖解析与全量编译, (6) 切换 product 构建变体(如测试/正式环境),(7) 切换 buildMode(debug/release/test/自定义), (8) 查看设备实时日志,(9) 打包生成 .app 文件用于上架 AppGallery, 或提到 hvigor、hvigorw、hdc、HAP、HSP、APP、bm install、ohpm、hilog、AppGallery 等关键词时触发。 也适用于用户需要修改、扩展或调试此部署脚本本身的场景。

How do I install the Harmonyos Build Deploy skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add supermanaaaa/harmonyos-build-deploy --skill harmonyos-build-deploy. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Harmonyos Build Deploy popular?

It lives in supermanaaaa/harmonyos-build-deploy, which has 43 GitHub stars and 4 forks.

Related skills

Harmonyos Build Deploy

43

supermanaaaa/harmonyos-build-deploy

Build, sign, and deploy HarmonyOS/鸿蒙 applications to real devices on Windows, macOS, and Linux. Auto-discovers hvigorw / hdc / ohpm / JBR from DevEco Studio so no manual PATH setup is required. Supports multi-module projects with dependency resolution, product variants, build modes (debug/release/test), tolerant SDK-version matching, real-time device logs, and APP packaging for AppGallery submission. Triggers on keywords: HarmonyOS, 鸿蒙, hvigor, hdc, HAP, HSP, AppGallery.

DevOps & Cloud

R00 VoltAgent Awesome Agent Skills Devops

47

mythicnoteshed/r16-voltagent-awesome-agent-skills-devops

☁️ DevOps & Cloud Infrastructure skill suite derived from VoltAgent/awesome-agent-skills. CI/CD pipelines, container orchestration, IaC, monitoring and incident response. Provides 10 specialised commands for devops, cloud, docker workflows.

DevOps & Cloud

Olore Axiom Latest

119

olorehq/olore

Local axiom documentation reference (latest). Axiom observability documentation. Use for log ingestion, APL queries, dashboards, alerting, integrations, Next.js/Vercel/Lambda, and real-time analytics.

DevOps & Cloud

R00 Glebis Claude Skills Devops

47

StreetTsuchikage/r20-glebis-claude-skills-devops

☁️ DevOps & Cloud Infrastructure skill suite derived from glebis/claude-skills. CI/CD pipelines, container orchestration, IaC, monitoring and incident response. Provides 10 specialised commands for devops, cloud, docker workflows.

DevOps & Cloud

Olore Checkly Latest

119

olorehq/olore

Local checkly documentation reference (latest). Checkly monitoring documentation. Use for synthetic monitoring, Playwright checks, API monitoring, Monitoring as Code (MaC), alerting, and CI/CD integration.

DevOps & Cloud

Datahub Mfe Configure App

46

datahub-project/datahub-skills

Configure a DataHub instance to load and display a Micro Frontend (MFE) app. Use when the user wants to register an MFE with DataHub, add an MFE to the nav sidebar, set up MFE config for local dev or production/k8s, or troubleshoot MFE loading issues.

DevOps & Cloud98

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.