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完成安装,目前不需要额外依赖,开箱即用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:harmony-next.skills(linhay/harmony-next.skills)
仓库:https://github.com/linhay/harmony-next.skills
本站详情页:https://www.yhbd.top/plugins/linhay-harmony-next-skills/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 358 · 最近提交 2026-09-20 · 主语言 Python
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 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
HarmonyOS NEXT Agent Skills
给 Gemini CLI、Claude Code、Codex 和其他 AI 编程助手使用的 HarmonyOS NEXT 离线技能包。
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 →
chuspeeism/dashi-taskboard
zhoushoujianwork/easyeda-agent
morluto/rea
gitroomhq/postiz-agent
yzlnew/infra-skills
liceses/dsh-gitbash-preset
sjh9714/dsh-win32
FeatherHunter/dsh-mattpocock-skills-deck