← 返回 Skills 市场
linhay

HarmonyOS NEXT Expert

作者 linhay · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
284
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install harmony-next
功能描述
Expert guidance for HarmonyOS NEXT (API 12+) development. Use this skill for ArkTS, ArkUI, and NDK development using official offline documentation for 3,300...
使用说明 (SKILL.md)

HarmonyOS NEXT Expert

This skill equips you with comprehensive, offline knowledge of HarmonyOS 5+ (ArkTS, ArkUI, NDK, System Services, etc.). The references/ directory contains thousands of localized Markdown files directly converted from official developer documentation.

How to use this skill

Because the reference library is massive (~50MB, 3300+ files), DO NOT attempt to read files blindly. You MUST use the grep_search and glob tools to find the exact API or module you need before reading the specific Markdown file.

Recommended Workflow (Optimized Search Protocol)

Due to the massive size of this knowledge base (3,300+ files), you MUST follow this Three-Tier Search Protocol to avoid being overwhelmed by irrelevant files:

  1. Tier 1: Identify the Kit (Read references/KITS.md) HarmonyOS 5+ is organized by Kits (e.g., AbilityKit, ArkUI, MediaKit). Read references/KITS.md first to identify which Kit contains the functionality you need. This drastically narrows down the search space.

  2. Tier 2: Task-to-File Mapping (Read references/TASK_MAP.md) For common tasks (Layout, Lifecycle, Network), check references/TASK_MAP.md. It links tasks to their most important keywords and Kits.

  3. Tier 3: Surgical Grep (via references/INDEX.md) Once you have the Kit name or specific keywords, use grep on references/INDEX.md to find the exact filenames.

    • Example: grep "AbilityKit" references/INDEX.md | grep "Context"

Core Content Structure

  • JsEtsAPIReference/: Detailed API signatures and C-API headers.
  • quickStart/: Step-by-step developer guides.
  • KITS.md: The primary navigation hub organized by @kit.
  • INDEX.md: The full A-Z file list for surgical lookups.

Directory Structure under references/

  • JsEtsAPIReference/ : Contains the bulk of ArkTS and ArkUI component APIs, lifecycle methods, error codes, and C-API/NDK headers.
  • quickStart/ : Beginner tutorials and fundamental concepts (e.g., page navigation, entry points).
  • hos/ & hos_en/ : Core concepts, system services, and framework overviews.

Core Directives for HarmonyOS Generation

  1. Strictly Declarative: Always use the declarative UI paradigm syntax (@Entry, @Component, build()).
  2. No Hallucinations: Rely strictly on the documentation provided in the references/ folder when unsure about an API signature in HarmonyOS 5+. Do not assume standard Web JS or Android APIs are available unless verified in the docs.
  3. TypeScript/ArkTS Validation: Ensure type safety and use standard ArkTS conventions.
    \x3C!-- version: 1.0.1 -->
安全使用建议
This skill is an offline documentation bundle and appears to do only local file lookups and reads. Before installing, confirm you trust the skill's source (homepage unknown) because the package contains many Markdown files; inspect a few files to verify they are legitimate official docs and do not contain embedded secrets or unexpected links. The skill requests no credentials and has no install step, so main risks are provenance and licensing of the documentation. If you need stronger assurance, ask the publisher for provenance or checksum of the references/ archive or review the files locally before allowing broad agent access.
功能分析
Type: OpenClaw Skill Name: harmony-next Version: 1.0.2 The 'harmony-next' skill bundle is a comprehensive offline documentation set for HarmonyOS NEXT (API 12+) development. It contains a massive library of over 3,300 Markdown files organized into Kits and task maps. The instructions in SKILL.md are strictly operational, providing the AI agent with a 'Three-Tier Search Protocol' to efficiently navigate the documentation using standard tools like grep and glob without exceeding context limits. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; the bundle functions purely as a knowledge base.
能力评估
Purpose & Capability
Name/description claim an offline HarmonyOS developer reference and the package contains a large references/ corpus of Markdown docs consistent with that purpose. No unrelated credentials, binaries, or platform installs are requested.
Instruction Scope
SKILL.md limits runtime actions to searching and reading local reference files via grep_search/glob and explicitly warns against blind reads. It does not instruct accessing system paths, external endpoints, or secrets outside the references/ folder.
Install Mechanism
No install specification or code is present (instruction-only). Nothing will be downloaded or written by an installer as part of skill install.
Credentials
Skill declares no required environment variables, credentials, or config paths. The documented behavior (reading local Markdown docs) matches the lack of requested secrets.
Persistence & Privilege
always is false and the skill does not request persistent privileges or modify other skills. The default ability for the agent to invoke the skill autonomously is unchanged and appropriate for a documentation helper.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install harmony-next
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /harmony-next 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Ship compact retrieval bundle (SKILL + KITS + TASK_MAP + INDEX) to fit ClawHub size limit
v1.0.1
Initial ClawHub release (lightweight skill)
元数据
Slug harmony-next
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

HarmonyOS NEXT Expert 是什么?

Expert guidance for HarmonyOS NEXT (API 12+) development. Use this skill for ArkTS, ArkUI, and NDK development using official offline documentation for 3,300... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 284 次。

如何安装 HarmonyOS NEXT Expert?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install harmony-next」即可一键安装,无需额外配置。

HarmonyOS NEXT Expert 是免费的吗?

是的,HarmonyOS NEXT Expert 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

HarmonyOS NEXT Expert 支持哪些平台?

HarmonyOS NEXT Expert 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 HarmonyOS NEXT Expert?

由 linhay(@linhay)开发并维护,当前版本 v1.0.2。

💬 留言讨论