build-error-analyzer
OfficialDiagnose OpenHarmony build errors and suggest fixes.
System Documentation
What problem does it solve?
This Skill helps developers diagnose OpenHarmony build errors by extracting the latest failure block from last_error.log and mapping it against historical cases to provide concrete, actionable fix recommendations. It focuses on guiding users to understand the root cause and suggested remediation without altering code automatically.
Core Features & Use Cases
- Error extraction: reads out/<product>/last_error.log (SDK builds use out/sdk/last_error.log) to isolate the most recent failure.
- Error categorization: classifies errors into common types (compilation errors, linker errors, build-system issues) and maps them to known cases in references.
- Fix recommendations: outputs precise, step-by-step remediation with file paths, commands to verify, and suggested code changes (only guidance, not automatic edits).
Quick Start
Use the extraction script to generate last_error.log from your build output, then review the analysis in out/<product>/last_error.log. For SDK builds, use the out/sdk/last_error.log path.
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: build-error-analyzer Download link: https://github.com/eclipse-oniro-mirrors/arkui_ace_engine/archive/main.zip#build-error-analyzer 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.