What problem does it solve? HarmonyOS apps must render correctly across phones, tablets, foldables, 2in1 devices, and wearables, but developers often face layout truncation, overflow, misalignment, broken breakpoints, and split-screen issues when adapting to varying window sizes. This Skill provides a structured decision tree and specification library to diagnose and implement screen/window size adaptation correctly. ## Core Features & Use Cases - Scenario-based decision tree: Routes tasks across nine scenes (SIZE-00 to SIZE-08) covering responsive layouts, breakpoint systems, window listeners, adaptive component behaviors, anomaly fixes, in-app split-screen, EasyGo parallel-view split panes, and multi-device resource qualifiers. - Specification enforcement: Applies P0/P1 adaptation specs (SPEC-00 to SPEC-16) with mandatory verification matrices for image ratios, margins, font/icon scaling, and dialog constraints. - Bug fix playbooks: Diagnoses common defects such as GridRow not reducing columns, Image stretching from bad constraintSize/objectFit usage, windowSizeChange listener failures, and Navigation/SideBarContainer nesting conflicts. - Use Case: When a user reports that a list-detail page truncates on a foldable's unfolded screen, the Skill routes through the decision tree, loads the responsive layout and breakpoint references, and produces a GridRow/NavigationMode.Auto based fix that preserves the single-pane baseline. ## Quick Start Ask the agent to adapt your HarmonyOS page for foldables and tablets, for example: fix the truncation and make my list-detail page switch to split view on wide screens.