What problem does it solve?
It helps teams turn ArkWeb hardware-related requirements (sensors, battery, wake locks, vibration, and display-related capabilities) into a technically sound, OpenHarmony-aligned design by clarifying compatibility, mapping, permissions, and power considerations.
Core Features & Use Cases
- Web Device APIs compatibility review: Evaluates whether the requested capability exists in relevant web standards (e.g., W3C/WHATWG) and how mature/implementable it is for real browsers.
- OpenHarmony system capability mapping: Assesses coverage between Web Device APIs and OpenHarmony kits/services (Sensor Kit, Power Kit, Vibrator Kit, Display/Power management, etc.), highlighting gaps and suggesting fill-in strategies.
- Privacy, permission, and power risk analysis: Examines authorization needs, privacy sensitivity, multi-device differences, and battery impact (high-frequency sampling, Wake Lock misuse, background resource handling).
- Use Case: When an ArkWeb feature request includes “use accelerometer + screen orientation + low-power wake behavior,” the skill outputs expert意见 to guide API selection, system integration, fallback behavior, and guardrails before implementation.
Quick Start
Ask an AI to role-play as arkweb-expert-peripheral to review a proposed ArkWeb device-peripheral feature requirement and produce compatibility, OpenHarmony mapping, permission, multi-device fallback, and power risk guidance.