skills/matrix.openharmony.cn/hmos-runtime-fix-skill

hmos-runtime-fix-skill

Installation
SKILL.md

Harmony JSCrash Fixes

Use this skill to diagnose and fix ArkTS or JavaScript runtime crashes with minimal edits.

Use devecocli for device discovery and log acquisition. Use this skill's private Node scripts under {SKILL_DIR}/scripts/ only to parse evidence or save a hilog snapshot.

If node is unavailable, stop and explain that the private scripts cannot run.

When To Load

Load this skill when the issue looks like one of these:

  • Runtime logs show TypeError, ReferenceError, RangeError, SyntaxError, BusinessError, or similar exceptions.
  • The app exits, flashes back, or white-screens during launch or after a tap.
  • The user provides a jscrash log, stack trace, or a temporary log file with @file.
  • Build succeeds, but runtime behavior fails immediately.

Core Approach

Installs
1
First Seen
6 days ago