HarmonyOS Development Expert.Skill: Agent Skills for HarmonyOS Application Development
HarmonyOS Development Expert .Skill is a SkillHub community skill, identified as @user_a2a532b6/cz-ohos-expert (version 1.0.0), providing full-stack Q&A for HarmonyOS application development. It covers ArkTS, ArkUI and state management, the Stage model and UIAbility, module.json5 and HAP/HSP/HAR, DevEco Studio, Hvigor, ohpm, Navigation, distributed and responsive layouts, concurrency and network storage, performance tuning and migration-related interviews, among other topics, and is triggered when HarmonyOS-related keywords appear. The requires_api_key parameter is set to false. This article outlines the skill's positioning, capability boundaries, metadata, and typical conversational usage. For installation details, refer to SkillHub and the specific client in use.
Read MoreHarmonyOS Q&A Assistant: An Answering Skill for HarmonyOS Certification and General Knowledge Tests
The HarmonyOS Exam Helper is an educational Skill in the SkillHub community (@indiv-yj/harmonyos-exam-helper, v1.0.0). It answers user questions regarding tests, certifications, and beta testing based on HarmonyOS official documentation and public question banks, supporting keyword triggering and image recognition for test screenshots. It is not applicable to other operating systems or pure grammar questions. This article explains its positioning, capabilities, and boundaries, and provides the SkillHub CLI installation commands as well as key configuration points for the skills directories of Agents such as Cursor, Claude Code, and Codex.
Read Moredsh-harmonyos-agent: HarmonyOS application development using plan/goal/build in DSH
The dsh-harmony plugin from mobius-2046 provides HarmonyOS presets and a three-mode workflow (plan, goal, build) for HarmonyOS development, complemented by ArkTS, hvigor, ohpm, and hdc skills as well as a consolidated harmony toolset (build/run/devices/deploy/logs). The Web interface includes an hilog panel. Drawing on the official README, this article covers installation (via file path or install_bundle), prerequisites for Windows and DevEco 6.x, and the typical usage and limitations of /plan, /goal, and real-device verification.
Read Moredsh-harmony-dev: Integrate HarmonyOS Development Knowledge Base and Toolchain into DeepSeek Harness
Maintained by zixiaog, dsh-harmony-dev provides the DeepSeek Harness with a HarmonyOS native development knowledge base and toolchain. It includes 366 embedded content items, 5 `harmony_*` tools, 22 executable validation rules, and an official knowledge base MCP channel. The client-side interface features a five-tab "HarmonyOS Development Platform" panel. The article details installation commands (GitHub URL, npm package name, or local bundle), post-installation verification steps, and typical usage of `harmony_search`, `harmony_check`, and `harmony_create`. It also lists known limitations, such as official channel timeouts, rule constraints, and API calibration.
Read Morexrxs-dsh-harmony-publish: Safely hand over the HarmonyOS release pipeline to DSH Agent
This DSH plugin exposes the HarmonyOS release pipeline of the `harmony-agc-publish` Codex skill to the Agent, wrapping it with credential database parsing, precise substring masking, and manual approval. It supports three release modes: `buildOnly`, `upload`, and `submit`. Configuration uses whole-object overrides based on profiles, and keys can only be processed via `credentialRefs`. It includes DSH Web client cards, audit logs, and fixed exit codes. Installation methods, configuration items, typical call sequences, and the security model are all compiled from the GitHub README.
Read MoreHarmonyOS Official Documentation Search: Enabling AI to Directly Read the Latest Huawei Official Documents
huawei-docs is an open-source AI programming assistant Skill maintained by SkillHub community publisher user_8b4cf157. Currently at version 1.0.1 and categorized under dev-programming, it relies solely on the Python standard library and requires no API key. It enables AI assistants like Codex to directly search and read official Huawei documentation when developing HarmonyOS applications. It supports topic-based searches, reading documents via links, and precisely locating API sections, while preserving document sources, revision versions, and update timestamps. This minimizes the risk of AI models utilizing outdated knowledge and writing incorrect API code. Since official materials do not provide specific installation commands for Cursor, Codex CLI, and Claude Code, please refer to the SkillHub page for instructions.
Read Moredsh-harmony: Managing HarmonyOS Devices and Agent Control in DSH NEXT Desktop
The client-side plugin dsh-harmony (v0.4.1, MIT), maintained by kexijiang, is designed for DSH NEXT 2.0.21-next on Windows x64. Depending on Better Sidebar to register a "Harmony Device" tab, it supports switching between sidebar and pinned floating screen casting, theme synchronization, and a file tree with a UI inspector. Through harmony_control, it provides agents with enumeration, observation, touch control, and screenshot attachment capabilities. Installation requires downloading dsh-plugin-harmony.tgz from Releases and enabling it within NEXT; configuration parameters such as hdcPath and cwd are detailed in cordis.patch.yml. The plugin operates with DSH process privileges; please review the source code and license before use.
Read MoreDwGuard-Dsh-Hmos: DSH-Side HarmonyOS Dual Agent Orchestration and External Audit
DwGuard-Dsh-Hmos is a DSH workflow plugin released by Dogwind221, designed for dual-Agent collaboration on HarmonyOS involving DSH orchestration and DevEco Code execution. It establishes engineering gates—including task package freezing, adversarial pre-review before dispatch, Goal dispatch, four-dimensional independent forensic auditing, rework, and the solidification of knowledge accumulation—asserting that deliverables must be self-substantiated by evidence rather than relying on self-reports from the executor. Installed as a bundle and requiring DSH 0.2.1-rc.x (npm version 0.6.6), the plugin provides 15 tools, 3 skills, and a DshHoms right-side dashboard. Based on the GitHub README, this article details the installation commands, typical workflows, and usage precautions.
Read MoreHarmonyOS App Development: Introduction to the HarmonyOS Application Code Generation Skill
harmonyos-app-dev is a HarmonyOS application code generation Skill released by SkillHub community author user_ea38fd42. It integrates knowledge of the DevEco Code AI Agent toolchain, with trigger words covering HarmonyOS, ArkTS, DevEco Studio, DevEco Code, and the Stage model. Based on official retrieved data, this article introduces its positioning, core capabilities, installation access, and usage precautions.
Read Moredshm-keep-screen-on: Keep DSHM screen on during Agent task execution
dshm-keep-screen-on is a DSHM client plugin maintained by yinghan-123. It holds a Screen Wake Lock via the ArkWeb page to prevent HarmonyOS from automatically turning off the screen while an agent or background task is running. When the task ends, the lock is released after a default 60-second grace period. As a pure plugin solution, it requires no ArkTS code changes. The usage bar provides three modes: Force Always-On, Auto During Task, and Off. Install it with the command `pnpm add github.com/yinghan-123/dshm-keep-screen-on`; restart DSHM after installation. Suitable for monitoring long-running tasks in the foreground; the lock is released when the page is switched to the background.
Read MoreHarmonyOS Code Workshop: End-to-End ArkTS Coding Skill for HarmonyOS 7
HarmonyOS Code Workshop is a Skill from the SkillHub community (v6.2.0, @user_8c9419f3/harmonyos-code-workshop), targeting HarmonyOS 7 (API 26) and ArkTS+ArkUI, featuring a built-in knowledge base of over 9,700 lines. Its core capabilities include 51+ sets of deprecated API detection, a five-dimension compilation self-check, 40 templates, and 76 Kit quick references, while covering six major Kit practical scenarios, HSP modularization, and CI/CD deployment. This article describes its positioning, capabilities, and installation methods via SkillHub CLI (including skills directories for Cursor and Claude Code), as well as typical conversational usage and precautions; no API Key is required.
Read Moredsh-ohos-shell: Completing the Subprocess Runtime Environment on HarmonyOS/OpenHarmony
dsh-ohos-shell is a plugin for DeepSeek Harness targeted at HarmonyOS/OpenHarmony, designed to address subprocess runtime compatibility issues. By setting zsh environment variables, handling read-only /tmp and sandbox UID differences, and supplementing missing shell configurations, it ensures successful tool invocation. After installation, the plugin injects the harmonybrew environment into the process and provides the necessary function libraries, fixing the defect that the default system shell does not support standard configuration files.
Read Moredsh-harmonyos-hiboard: Pushing DSH Task Results to the HarmonyOS Negative One Screen
The DeepSeek Harness (DSH) plugin supports pushing local task results to the Huawei smartphone's "Minus One" screen for mobile viewing. It is compatible with dsh 0.1.5 / cordis 4 and supports Markdown rendering and table display. Installation can be performed via command line or configuration file, and an authorization code must be obtained on the phone. The plugin features a three-tier fallback mechanism to prevent card loss and provides three utility commands: card push, verification, and self-check. When using it, ensure the authorization code is kept secure, restart for changes to take effect, and pay attention to the special authentication-routing configuration.
Read MoreDeepSeek Harness HarmonyOS Development Kit Plugin
DeepSeek Harness (DSH) provides the `dsh-deveco` plugin, which integrates a one-stop toolkit for HarmonyOS development. Its features include real-time log monitoring (HiLog), a Chrome DevTools-style ArkUI Inspector (with screenshot interaction, component tree view, and simulated operations), an ArkTS syntax highlighting viewer, and device management. The plugin supports agents invoking UI tree tools and allows configuring the DevEco Studio or CLT path. Restart DSH after installation, and note the requirements for version compatibility and debug source occupation limits.
Read MoreDeepSeek Harness HarmonyOS Emulator Plugin
The `dsh-better-sidebar` plugin for DeepSeek Harness provides a sidebar tab with integrated HarmonyOS emulator management. It allows users to launch the emulator, build, and deploy HarmonyOS applications directly in the DSH environment, with multi-entry detection and real-time feedback. It provides six dedicated AI tools for emulator control, deployment, log viewing, and documentation retrieval. Installation requires Node.js, pnpm, DSH, and DevEco, and supports Windows, macOS, and Linux (with a desktop environment). This plugin significantly improves developer efficiency when developing HarmonyOS applications in Harness.
Read MoreDeepSeek Harness Plugin: Push Task Completion Messages to Huawei's Negative One Screen
`dsh-hiboard-push` is a plugin for DeepSeek Harness (DSH) that synchronizes task completion messages to Huawei Hiboard (Negative One Screen) in real time. The plugin uses `authCode` for authentication and provides two tools: `hiboard_push` and `hiboard_verify`. `hiboard_push` can send cards containing a task's name, content, and status, supporting standard tasks, recurring tasks, and summary-only mode. Developers can install and configure the plugin via the terminal to enable visual synchronization of information between agents and mobile devices.
Read Moredsh-hdc-bridge: DSH Native HarmonyOS Development Assistant
dsh-hdc-bridge is a DSH client plugin maintained by 1na-ko, which reuses the local hdc binary to implement device-closed-loop debugging (screenshots, UI operations, package installation, and logs). It integrates the official client-style device panel and provides an offline Tier-1 official knowledge base (28 articles) along with an optional DevEco CLI build/sign/simulator channel. It has zero npm dependencies and is MIT licensed. Installation: dsh plugin --profile <name> add dsh-hdc-bridge.
Read MoreHarmonyOS Application Development - Recording, Saving, and Playing Audio
Your code example demonstrates how to implement audio recording and playback functions in HarmonyOS. Below is a summary of the code and some improvement suggestions: ### Summary 1. **Permission Application**: - User authorization is required before starting audio recording. - The `requestPermissionsFromUser` method is used to obtain the user's permission. 2. **Recording Function**: - Use `startRecord` to begin audio recording and save the file to the specified path.
Read MoreHarmonyOS Application Development - Recording Audio and Implementing Real - time Speech Recognition with WebSocket
Your code implements a complete example of real-time speech recognition using WebSocket. The following are some supplementary and optimization suggestions for the entire project to ensure robustness and maintainability. ### 1. Permission Check and Prompt When requesting permissions, more detailed prompt information can be provided, and reasonable operational suggestions can be given after the user refuses authorization, or guide the user to go to the settings page for manual authorization. ```javascript reqPermissionsAndRecord(permissions: Ar ```
Read MoreHarmonyOS App Development - Customizable Deletable List Popup
This application implements a custom list popup window function, supporting task addition, deletion, and confirmation. The specific implementation is as follows: 1. **Entity Class**: The `Intention` class is used to define task items. 2. **Data Source Class** (`IntentionDataSource`): Manages data operations for the task list, including CRUD operations and notifying listeners of updates. 3. **Custom Popup Component** (`AddIntentionDialog`): Displays the current task list and provides delete and confirm buttons. (Note: The original text cuts off here, the translation assumes standard functionality continuation)
Read MoreHarmonyOS Application Development - Imitating WeChat Chat Message List
This example demonstrates how to create a chat application interface similar to WeChat using ArkTS. The page structure includes a scrollable message list and a button to dynamically add new messages. The core code is as follows: 1. The `Msg` class defines the message type (sent or received). 2. The `MsgDataSource` class implements the data source interface, manages the message list, and provides add/delete operations. 3. The page uses the `List` component to display the message list, with `LazyForEach` to dynamically load new messages as the user scrolls.
Read MoreHarmonyOS Application Development - Sending POST Request and Obtaining Result
This code is used to send data to the server via a POST request and parse the JSON response. The core functionalities include: 1. Using the `http.createHttp().request()` method to send asynchronous POST requests. 2. Setting request headers and the data to be sent. 3. Obtaining the response result and parsing it into JSON format. 4. Parsing the JSON data and extracting valid information to update the interface text. The code structure clearly demonstrates how to implement HTTP requests in a HarmonyOS application by setting state variables.
Read MoreHarmonyOS Application Development - Playing Local Audio Files
This document introduces the implementation of audio playback functionality on HarmonyOS using the AVPlayer audio and video player. The main steps include: 1. Creating an `AVPlayer` instance and registering callback functions to handle state changes and errors; 2. Obtaining the local audio file path, opening the audio file through file system operations to get the file descriptor, and setting it to `AVPlayer` to trigger resource initialization; 3. Implementing state machine transition logic, from resource initialization to playback completion. This code snippet demonstrates how to implement audio playback using the ArkTS language under the Stage model.
Read MoreHarmonyOS Application Development - Requesting Voice Synthesis Service to Obtain Audio File
This document describes a text-to-speech service implemented using HarmonyOS, which uploads text data and requests the server to return audio data. Key steps include creating HTTP requests, setting request headers and data bodies, processing response data, and saving it to a local file. The code example demonstrates how to integrate this functionality in an Ability, specifically implementing the download and saving of a .wav format voice file after the user inputs text. It should be noted that the service response type must be `application/octet-stream` to correctly obtain the audio stream, and this service is only applicable to... (The original text appears to be cut off here.)
Read More