Harmonyos Build Deploy

🌐Community
by fadinglight9291117 · vlatest · Repository

Helps with building, deployment as part of agent workflows workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add harmonyos-build-deploy npx -- -y @trustedskills/harmonyos-build-deploy
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "harmonyos-build-deploy": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/harmonyos-build-deploy"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to automate building, cleaning, packaging, and installing HarmonyOS applications as part of a workflow. It focuses on providing specific build and deployment commands for HarmonyOS projects using tools like hvigorw and hdc. Crucially, the skill requires confirmation from the user before executing any operation to ensure accuracy and prevent unintended actions.

When to use it

  • Automating incremental builds of HarmonyOS applications.
  • Performing a full clean build and deployment pipeline for HarmonyOS apps.
  • Installing a HarmonyOS application onto a connected device.
  • Managing project dependencies using ohpm.
  • When needing precise control over the build and deployment process in an automated workflow.

Key capabilities

  • Operation Confirmation: Requires user confirmation before executing any build or deploy operation (Clean, Install Dependencies, Build Project, Install to Device, Full Pipeline).
  • Build Commands: Provides hvigorw commands for assembling HAP/APP packages.
  • Deployment Commands: Includes hdc commands for installing applications onto a device and managing file transfers.
  • Dependency Management: Supports using ohpm for dependency installation.
  • Workflow Automation: Facilitates automated build, clean, and deployment workflows.

Example prompts

  • "Can you please perform a full pipeline build of my HarmonyOS app?"
  • "I need to install the latest version of my application onto my device. What steps should we take?"
  • "Clean the build artifacts for my HarmonyOS project."

Tips & gotchas

  • User Confirmation is Required: The agent must confirm which operation(s) the user wants to perform before proceeding.
  • Git Bash Considerations: If using Git Bash on Windows, remember to disable MSYS path conversion (export MSYS_NO_PATHCONV=1) when running hdc commands.
  • Output Path: Build output is located in the outputs/ directory.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
fadinglight9291117
Installs
41

🌐 Community

Passed automated security scans.