fadinglight9291117 avatar

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-code

Installs 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:

OperationDescription
Clean build artifactsRemove previous build cache and outputs
Install dependenciesUse ohpm to install project dependencies
Build projectUse hvigorw to build HAP/APP packages
Install to deviceUse hdc to install the app on a device
Full pipelineClean → 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

More from fadinglight9291117/arkts_skills

All 2
1elastic avatarobservability-k8s-investigationelastic/agent-skills>0skills.sh installs
2forcedotcom avatardx-devops-test-pipeline-configureforcedotcom/sf-skillsConfigures DevOps Center pipeline testing infrastructure: enables a test provider so its suites become available, re-syncs a configured provider to pull in new 5.1Kskills.sh installs
3sickn33 avatarobservability-monitoring-slo-implementsickn33/antigravity-awesome-skillsobservability monitoring slo implement227skills.sh installs
4akin-ozer avatark8s-yaml-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or dry-run Kubernetes manifests (Deployment, Service, ConfigMap, CRD).715skills.sh installs
5akin-ozer avatark8s-debugakin-ozer/cc-devops-skillsDiagnose and fix Kubernetes pods, CrashLoopBackOff, Pending, DNS, networking, storage, and rollout failures with kubectl.887skills.sh installs
6akin-ozer avatark8s-yaml-generatorakin-ozer/cc-devops-skillsGenerate/create/scaffold Kubernetes YAML — Deployment, Service, ConfigMap, Ingress, RBAC, StatefulSet, CRDs.694skills.sh installs