ohbuild

Official

Streamline OpenHarmony HAP builds end-to-end.

Authoreclipse-oniro-mirrors
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill automates the end-to-end process of building and signing OpenHarmony HAP applications, reducing manual setup and error-prone steps.

Core Features & Use Cases

  • Environment checks: verifies HarmonyOS CLT, OpenHarmony SDK, Node.js, and Hvigor versions.
  • Version validation: ensures project SDK version alignment with the installed SDK.
  • HAP build: compiles the main HAP and optional unit tests.
  • HAP signing: provisions signing, certificate generation, and validation steps.
  • Cleanup: removes temporary signing artifacts to keep the project clean.

Quick Start

Run python3 hapbuild.py build <project_dir> to build the HAP with default settings.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ohbuild
Download link: https://github.com/eclipse-oniro-mirrors/napi_generator/archive/main.zip#ohbuild

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.