linhay/harmony-next.skills 预览 preview

linhay/harmony-next.skills

🚀 鸿蒙NEXT(API 12+)开发专家指南。涵盖IDE操作、性能调优、架构(HAP/HAR/HSP)及自动化测试。

Project Overview项目介绍

Harmony Next Agent Skills is an offline skill package for AI coding assistants that provides local reference documentation for HarmonyOS NEXT development. It supports multiple popular AI coding agents including Gemini CLI, Claude Code, Codex, and DeepSeek Harness (DSH). The package includes official reference materials for HarmonyOS API versions 12 through 26, ArkTS/ArkUI guides, NDK documentation, DevEco Studio workflows, emulator automation tools, and release debugging utilities. To start installation, users can simply send the provided install prompt to their AI agent, which will automatically detect the agent type and run the correct install command.

This skill package is designed for HarmonyOS NEXT application developers who use AI coding assistants to speed up their development work. It eliminates the need for developers to manually search for up-to-date HarmonyOS documentation online, because all relevant reference materials are stored locally on the developer's machine. After installation, developers can simply ask their AI assistant any HarmonyOS development question, and the agent will follow the pre-defined retrieval path to pull the correct local documentation for the query. The retrieval path follows the order: SKILL.md → KITS.md / TASK_MAP.md → INDEX.md → target documentation, ensuring fast and accurate results every time.

The entire skill package is released under the MIT open source license, though all original documentation content is sourced from Huawei's official HarmonyOS materials, and copyright remains with the original authors. There are no extra dependencies required to use this package after installation, so it works out of the box for all supported agents. If you are working with private interface workflows, you must first read the corresponding documentation to confirm output directories, desensitization boundaries, and non-interactive mode requirements. DSH users can install the package via the command dsh plugin --profile demo add github:linhay/harmony-next.skills directly with no extra steps needed.

这是一个面向AI编程助手的HarmonyOS NEXT离线技能包,可为Gemini CLI、Claude Code、Codex以及DeepSeek Harness(DSH)等多个Agent提供HarmonyOS开发相关的本地参考资料。它包含API 12到26的HarmonyOS官方参考文档、ArkTS/ArkUI开发指南、NDK资料,还支持DevEco Studio相关工作流、模拟器自动化和发布调试工具。该技能包按照通用Agent技能规范打包,支持各对应平台自动安装,用户可一键集成到自己常用的AI编程工具中。

该技能包面向HarmonyOS NEXT应用开发工程师,帮助AI编程助手准确理解HarmonyOS开发相关的问题,提供精准的本地文档参考,无需联网查找官方文档。用户安装完成后,直接向AI助手提出HarmonyOS开发问题即可,Agent会按照SKILL.md→KITS.md/TASK_MAP.md→INDEX.md的路径检索本地资料,输出对应的参考内容。支持开发、调试、测试全流程的各类需求,包括最小工程模板、自动化测试脚本等。

该技能包采用MIT许可证,其中文档内容来源于华为HarmonyOS官方资料,版权归原作者所有。使用私有接口工作流需要先阅读对应文档,明确产物目录、脱敏边界和非交互模式要求。不同平台的安装命令不同,DSH用户可通过dsh plugin --profile demo add github:linhay/harmony-next.skills完成安装,目前不需要额外依赖,开箱即用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:linhay/harmony-next.skills

把 linhay/harmony-next.skills 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

readme-English

HarmonyOS NEXT Agent Skills

给 Gemini CLI、Claude Code、Codex 和其他 AI 编程助手使用的 HarmonyOS NEXT 离线技能包。

release skills.sh docs api

API 12–26 的本地 HarmonyOS 参考、ArkTS/ArkUI、NDK、DevEco Studio、模拟器自动化和发布调试工作流。

让 Agent 自动安装

把这段话发给你的 Agent:

展开安装提示词
请安装并启用 linhay/harmony-next.skills 的 harmony-next skill。
先识别当前 Agent:
- Gemini CLI:gemini skills install https://github.com/linhay/harmony-next.skills --path harmony-next --scope user
- Claude Code:npx skills add linhay/harmony-next.skills --skill harmony-next -a claude-code -g -y --copy
- Codex:npx skills add linhay/harmony-next.skills --skill harmony-next -a codex -g -y --copy
- 其他支持 skills CLI 的 Agent:npx skills add linhay/harmony-next.skills --skill harmony-next
安装后读取 harmony-next/SKILL.md,确认 skill 名称和版本,并报告实际安装路径;命令不可用时给出手动安装路径,不要假设成功。

快速开始

npx skills add linhay/harmony-next.skills --skill harmony-next

安装后直接提出 HarmonyOS 开发问题。Agent 会按 SKILL.md → KITS.md / TASK_MAP.md → INDEX.md 查找本地资料。

能力总览

能力 适用场景 入口
API 参考 ArkTS、ArkUI、系统模块、API 版本确认 JsEtsAPIReference/INDEX.md
Kit / 任务导航 按 Kit 或任务定位文档 KITS.md · TASK_MAP.md
API 26 快照 API 26.0.0 声明、类型和签名 api26/
DevEco / Emulator HVD、hdc、uitest、抓包和诊断 DevEco模拟器私有接口与AI自动化.md
最小工程 Empty Ability、构建和 smoke 测试 empty-ability-app
自动化脚本 设备证据、UI/UX、Trace、命令行工具 scripts/

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-commandcode-provider 下一个 Next minara-skills →