
Harmonyos Build Deploy
Handles the full build and deploy pipeline for HarmonyOS apps using hvigorw, ohpm, and hdc. The skill walks you through clean builds, dependency installs, packaging HAP/HSP bundles, and pushing to devices with proper Git Bash compatibility for Windows users. Smart about asking what you actually want to do before running expensive operations, since builds take around 30 seconds and file transfers another 20. Delegates long-running tasks to subagents to avoid timeouts. Covers both incremental builds for daily work and clean builds when things break, plus single module builds for faster iteration. If you're building HarmonyOS apps and tired of remembering hvigorw flags and hdc path quirks, this consolidates the entire workflow.
- skills.sh installs
- 267
- GitHub stars
- 7
- last updated
- Aug 21, 2026
Install
$ npx -y skills add fadinglight9291117/arkts_skills --skill harmonyos-build-deploy --agent claude-codeInstalls into .claude/skills of the current project.
Files
HarmonyOS Build & Deploy
Complete workflow for building, cleaning, packaging, and installing HarmonyOS applications.
First Step: Confirm Operation with User
IMPORTANT: Before executing any build or deploy operation, confirm which specific operation(s) the user wants to perform. Ask the user to choose from:
| Operation | Description |
|---|---|
| Clean build artifacts | Remove previous build cache and outputs |
| Install dependencies | Use ohpm to install project dependencies |
| Build project | Use hvigorw to build HAP/APP packages |
| Install to device | Use hdc to install the app on a device |
| Full pipeline | Clean → install deps → build → deploy to device |
Why confirm first:
- Different scenarios require different operations (e.g., incremental build vs clean build)
- Avoid unnecessary time-consuming operations
- Give user control over the workflow
- Prevent accidental device installation
After user responds:
- Execute only the selected operations
- Report progress and results clearly
Quick Reference
# Build complete app (incremental)
hvigorw assembleApp --mode project -p product=default -p buildMode=release --no-daemon
Sponsors
Details
- Repository
- github.com/fadinglight9291117/arkts_skills
- Categories
- DevOps & CI/CD, Release Management, Debugging
- First seen
- Jun 3, 2026