hb-build

Official

Smartly compile only what changed.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the guesswork and slowdown of compiling OpenHarmony ability_runtime by automatically detecting what you changed and building the most relevant targets, while also helping you recover from common build failures.

Core Features & Use Cases

  • Change-based target inference: Detects modified files via git status and maps them to ability_runtime sub-services for targeted compilation.
  • Multi-target and full build support: Compiles one service, multiple services together, or falls back to full ability_runtime when many targets are involved.
  • Failure analysis with (optional) auto-retry: Parses compiler/linker errors and retries automatically for transient build failures.

Quick Start

In your ability_runtime repository (the directory containing build.py and hb tooling), run: python3 .claude/skills/hb-build/scripts/helper.py.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: hb-build
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#hb-build

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 471,000+ vetted skills library on demand.