hmos-multidevice-avoid-areas

Official

Make UI avoid system safe areas across devices.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents HarmonyOS UI elements from being covered or made unclickable by status bars, navigation indicators, cutouts (notches), and soft keyboards on different device types and window states.

Core Features & Use Cases

  • Declarative avoid-area adaptation: Select the correct adaptation path for safe area extension, immersive full-screen layout, cutout handling, and keyboard overlap behavior.
  • Dynamic system-area indexing: Use a scene-driven approach that focuses on identifying avoid-area types first, then applying layout constraints and update logic.
  • Verification-ready output: Produces structured outputs for REQ/DEV/FIX/VAL including device constraints, implementation touchpoints, and an evidence-based verification matrix.

Use cases include immersive detail pages, chat/comment screens with keyboard interactions, and device-variant layouts that must handle cutouts and system UI changes without hardcoded pixel sizes.

Quick Start

Ask an AI to apply hmos-multidevice-avoid-areas to your HarmonyOS page so it dynamically detects avoid areas, updates layout when the keyboard opens or the window changes, and outputs a verification matrix for screenshots and evidence.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-avoid-areas
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#hmos-multidevice-avoid-areas

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.