menu-debug

Installation
SKILL.md

Menu Component Debugging Skill

Systematic debugging and problem diagnosis for Menu component issues in OpenHarmony ACE Engine. This skill provides structured troubleshooting guidance for Menu-related problems with automatic log enhancement patch generation.

Overview

Menu component debugging requires analyzing multiple layers:

  • Subwindow lifecycle - Window creation, recreation, and destruction
  • Menu layout algorithm - Width calculation, positioning, and constraint handling
  • Menu pattern - State management, menu wrapper, and menu items
  • Pipeline context - Window rect info, theme settings, and display configuration
  • Event handling - Click detection, state transitions, and gesture processing

Critical Requirements:

  • ⚠️ All log patches MUST be based on actual code analysis - no speculation
  • ⚠️ Log patches MUST follow OpenHarmony logging standards (TAG_LOGI/W/E macros)
  • ⚠️ Always provide context - include relevant variable values in log statements
  • ⚠️ Use existing log tags - ACE_MENU, ACE_SUB_WINDOW, ACE_OVERLAY
Related skills

More from openharmonyinsight/openharmony-skills

Installs
32
GitHub Stars
21
First Seen
Feb 13, 2026