What problem does it solve?
This Skill solves the complexity of building consistent, high-quality user interfaces across the diverse HarmonyOS device ecosystem, preventing layout breakage, content clipping, and visual inconsistencies during window resizing or device transitions.
Core Features & Use Cases
- Breakpoint Strategy: Implements unified breakpoint systems to handle layout transitions across phone, tablet, and foldable devices.
- Responsive Layouts: Provides best practices for GridRow/GridCol usage, window size observation, and adaptive container selection.
- Anomaly Resolution: Offers systematic debugging paths for common issues like component stretching, layout clipping, font scaling, and display density mismatches.
- Use Case: When a layout breaks on a foldable device during transition from folded to unfolded state, this Skill guides the developer through the root cause analysis and provides the specific GridRow or window listener implementation to fix it.
Quick Start
Use the hmos-multidevice-screen-window-size skill to analyze and fix the layout clipping issue occurring on the foldable device screen.