build-error-analyzer

Installation
SKILL.md

Build Error Analyzer Skill

This skill specializes in analyzing OpenHarmony build errors from last_error.log and providing fix recommendations only (no automatic code modifications) based on error patterns and historical case studies.

IMPORTANT: This skill provides analysis and recommendations ONLY. It does NOT automatically modify code files.

⚠️ CRITICAL WORKFLOW (MUST FOLLOW)

YOU MUST ALWAYS FOLLOW THIS EXACT SEQUENCE:

  1. FIRST: Extract errors from out/<product>/build.log → generates out/<product>/last_error.log
  2. THEN: Read and analyze ONLY from out/<product>/last_error.log
  3. NEVER: Read directly from out/<product>/build.log or any other log files (error.log, build_output*.log, etc.)
  4. SUCCESS CASE: If last_error.log contains "build success" or "no error", STOP and report success

Why?:

  • build.log contains the entire build history (thousands of lines)
  • last_error.log contains ONLY the most recent error block (extracted by script)
  • Reading build.log directly will give you STALE or IRRELEVANT errors
Related skills

More from openharmonyinsight/openharmony-skills

Installs
40
GitHub Stars
21
First Seen
Feb 13, 2026