hmos-multidevice-fold-state

Official

Make foldable UIs stable across hinge and modes.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps you validate and route HarmonyOS foldable-device UI adaptation tasks so that layouts remain correct across fold/hover states, fold-crease avoidance, multi-fold form factors (F/M/G), and special-ratio inner/outer screen differences without breaking existing UI state machines.

Core Features & Use Cases

  • Fold state routing and scene selection: Determines the correct adaptation scene based on FoldStatus, fold display modes, hover state, crease geometry, and multi-fold mappings.
  • Crease avoidance with coordinate-safety: Anchors split boundaries to the real crease rectangle (not to midlines or fixed offsets), and applies safe content margins (16 vp / 40 vp) only within partitions.
  • Fold continuity issue remediation: Provides a general repair path to prevent step increase, scroll/input drift, media playback progress jumps, and lifecycle listener leaks after fold/unfold transitions.

Use cases: fixing “hover layout cut by crease”, correcting direction/partition reversals on fixed-vertical hinge devices, and restoring reliable UI behavior after folding/unfolding real video/detail pages.

Quick Start

Ask the AI to use hmos-multidevice-fold-state to analyze your HarmonyOS foldable page (FoldStatus + hover state + crease region data) and produce a structured REQ/DEV/FIX/VAL plan with verification evidence requirements.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hmos-multidevice-fold-state
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#hmos-multidevice-fold-state

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.