Harmonyos Build Deploy
Build, clean, package, and install HarmonyOS apps via hvigorw, ohpm, and hdc with workflow confirmation.
- CCM score
- 54 of 100
- skills.sh installs
- 271
- GitHub stars
- 7
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers clean builds, incremental and single-module builds, ohpm dependency installs, and hdc device deployment workflows
- Includes build commands for HAP, HSP, HAR, and APP packaging, plus module discovery and output layout guidance
- Requires confirming the chosen operation with the user before any build or device installation runs
- Designed for developers troubleshooting installation errors such as "version code not same" on HarmonyOS devices
Install
$ npx -y skills add fadinglight9291117/arkts_skills --skill harmonyos-build-deploy -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/fadinglight9291117/arkts_skills
- Categories
- Mobile Apps, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the harmonyos-build-deploy skill do?
harmonyos-build-deploy guides an agent through building, cleaning, packaging and installing HarmonyOS applications. It covers hvigorw builds, ohpm dependency installs, packaging HAP, HSP and APP bundles, and installing to devices with hdc.
How do I install the harmonyos-build-deploy skill?
Run npx -y skills add fadinglight9291117/arkts_skills --skill harmonyos-build-deploy -y in a project. Once installed, harmonyos-build-deploy lets the agent run hvigorw builds and hdc device installs for HarmonyOS projects.
Can harmonyos-build-deploy help with the error "version code not same"?
Yes, harmonyos-build-deploy includes troubleshooting for installation errors such as "version code not same". It walks through the deploy steps so the agent can resolve that install failure on a device.
Which build outputs does harmonyos-build-deploy produce?
harmonyos-build-deploy produces HAP, HSP, HAR and APP packages, placed in the outputs directory. It also explains how to build a single module with hvigorw instead of the whole app.
More from fadinglight9291117/arkts_skills
All 2Similar to Harmonyos Build Deploy
More Mobile AppsHuaweiappgallerymcpMCP serveragimaulana5 starsPublishes and manages Huawei AppGallery apps: metadata, binaries, and release rollouts via Connect API.
artifact-managementSkillaj-geddes/useful-ai-prompts442 installsManage build artifacts, Docker images, and registries with multi-stage builds, retention, and versioning guidance.
shipwrightPlugindavepoon/buildwithclaude3.8K starsDescribe your app in plain English — Shipwright builds, tests, and deploys it autonomously. 9-phase pipeline, 4 stacks, enterprise-grade safety hooks.
capacitor-ci-cdSkillcap-go/capgo-skills1.1K installsComplete CI/CD pipeline guide for Capacitor apps covering signing, builds, and store deployment.
omnistudio-datapacks-deploySkillforcedotcom/sf-skills4.9K installsVlocity Build workflow for deploying, validating, and troubleshooting OmniStudio and Industries DataPacks across orgs and CI/CD pipelines.