openharmony-build
OfficialAutomate OpenHarmony builds and diagnose failures.
System Documentation
What problem does it solve?
This skill orchestrates the end-to-end OpenHarmony build workflow, including execution, verification, and post-build analysis to quickly identify issues and reduce debugging time.
Core Features & Use Cases
- Full-system and component builds: Build the complete OpenHarmony system or targeted components such as ace_engine, ace_engine_test, unittest, and ohos-sdk.
- SDK builds with special output handling: Support for building OpenHarmony SDK with its unique out/sdk structure.
- Rapid iteration with fast-rebuild: Skip GN generation when possible to speed up development and testing.
- Error detection and diagnostics: Analyze out/<product>/build.log and per-component logs, with utilities to extract recent errors and problematic sections.
- Workflow automation: Provides scripts to navigate to root, trigger builds, run analysis, and guide recovery steps after failures.
Quick Start
Navigate to the OpenHarmony root (the directory containing .gn), then run a full build with caching enabled. Example: run ./build.sh --export-para PYCACHE_ENABLE:true --product-name rk3568 --ccache. Monitor the result in out/rk3568/build.log. If errors occur, use the included analysis scripts located at .claude/skills/openharmony-build/scripts to extract errors and guide remediation.
Dependency Matrix
Required Modules
None requiredComponents
💻 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: openharmony-build Download link: https://github.com/eclipse-oniro-mirrors/arkui_ace_engine/archive/main.zip#openharmony-build Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.