Skip to content
Back to search

harmony-next.skills

Offline HarmonyOS NEXT developer skill library for AI coding assistants. Covers API 12–26 declarations, ArkTS/ArkUI, NDK, DevEco Studio, emulator automation, debugging, publishing, and reproducible local tooling.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/linhay--harmony-next-skills/badge.svg)](/listings/linhay--harmony-next-skills)

HTML

<a href="/listings/linhay--harmony-next-skills"><img src="/api/listings/linhay--harmony-next-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 110 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <p align="right"><a href="./README_en.md"><!-- (./README_en.md) --><img src="https://img.shields.io/badge/Language-English-0f766e?style=for-the-badge" alt="readme-English" /></a></p>
  2. # HarmonyOS NEXT Agent Skills
  3. 给 Gemini CLI、Claude Code、Codex 和其他 AI 编程助手使用的 HarmonyOS NEXT 离线技能包。
  4. [![release](https://img.shields.io/github/v/release/linhay/harmony-next.skills?style=flat-square)](https://github.com/linhay/harmony-next.skills/releases/latest)
  5. [![skills.sh](https://skills.sh/b/linhay/harmony-next.skills)](https://skills.sh/linhay/harmony-next.skills)
  6. ![docs](https://img.shields.io/badge/docs-4238-7c3aed?style=flat-square)
  7. ![api](https://img.shields.io/badge/API%2012--26-4207-b45309?style=flat-square)
  8. > API 12–26 的本地 HarmonyOS 参考、ArkTS/ArkUI、NDK、DevEco Studio、模拟器自动化和发布调试工作流。
  9. ## 让 Agent 自动安装
  10. 把这段话发给你的 Agent:
  11. <details>
  12. <summary>展开安装提示词</summary>
  13. ```text
  14. 请安装并启用 linhay/harmony-next.skills 的 harmony-next skill。
  15. 先识别当前 Agent:
  16. - Gemini CLI:gemini skills install https://github.com/linhay/harmony-next.skills --path harmony-next --scope user
  17. - Claude Code:npx skills add linhay/harmony-next.skills --skill harmony-next -a claude-code -g -y --copy
  18. - Codex:npx skills add linhay/harmony-next.skills --skill harmony-next -a codex -g -y --copy
  19. - DSH:dsh plugin --profile demo add github:linhay/harmony-next.skills
  20. - 其他支持 skills CLI 的 Agent:npx skills add linhay/harmony-next.skills --skill harmony-next
  21. 安装后读取 harmony-next/SKILL.md,确认 skill 名称和版本,并报告实际安装路径;命令不可用时给出手动安装路径,不要假设成功。
  22. ```
  23. </details>
  24. ## 快速开始
  25. ```bash
  26. npx skills add linhay/harmony-next.skills --skill harmony-next
  27. ```
  28. 安装后直接提出 HarmonyOS 开发问题。Agent 会按 `SKILL.md → KITS.md / TASK_MAP.md → INDEX.md` 查找本地资料。
  29. ## 能力总览
  30. | 能力 | 适用场景 | 入口 |
  31. | --- | --- | --- |
  32. | API 参考 | ArkTS、ArkUI、系统模块、API 版本确认 | [`JsEtsAPIReference/INDEX.md`](./harmony-next/references/JsEtsAPIReference/INDEX.md) |
  33. | Kit / 任务导航 | 按 Kit 或任务定位文档 | [`KITS.md`](./harmony-next/references/KITS.md) · [`TASK_MAP.md`](./harmony-next/references/TASK_MAP.md) |
  34. | API 26 快照 | API 26.0.0 声明、类型和签名 | [`api26/`](./harmony-next/references/JsEtsAPIReference/api26/) |
  35. | DevEco / Emulator | HVD、hdc、uitest、抓包和诊断 | [`DevEco模拟器私有接口与AI自动化.md`](./harmony-next/references/ideGuides/DevEco模拟器私有接口与AI自动化.md) |
  36. | 最小工程 | Empty Ability、构建和 smoke 测试 | [`empty-ability-app`](./harmony-next/references/templates/empty-ability-app/) |
  37. | 自动化脚本 | 设备证据、UI/UX、Trace、命令行工具 | [`scripts/`](./harmony-next/scripts/) |
  38. 关键词入口:**抓包诊断**、**DevEco 模拟器自动化**、**filesystem skill**、**Codex plugin**。
  39. ## 推荐检索路径
  40. ```text
  41. SKILL.md → KITS.md / TASK_MAP.md → INDEX.md → 目标文档
  42. ```
  43. ## 安装方式
  44. - Gemini CLI:`gemini skills install https://github.com/linhay/harmony-next.skills --path harmony-next --scope user`
  45. - Claude Code:`npx skills add linhay/harmony-next.skills --skill harmony-next -a claude-code -g -y --copy`
  46. - Codex:`npx skills add linhay/harmony-next.skills --skill harmony-next -a codex -g -y --copy`
  47. - DSH:`dsh plugin --profile demo add github:linhay/harmony-next.skills`
  48. DeepSeek Harness (DSH) 使用 filesystem skill;该 bundle 不安装 MCP、tools 或 apps。本仓库当前还不是 Codex plugin。
  49. `empty-ability-app` smoke fixture:[`references/templates/empty-ability-app`](./harmony-next/references/templates/empty-ability-app/)。
  50. 私有接口工作流必须先阅读对应的私有接口文档,并明确产物目录、脱敏边界和非交互模式。
  51. <details>
  52. <summary>高级说明、脚本与维护</summary>
  53. - [完整技能规则](./harmony-next/SKILL.md)
  54. - [Agent 适配与安装路径](./docs/agent-portability.md)
  55. - [API 26 发布与同步记录](./harmony-next/references/harmonyos-releases/api-26-release.md)
  56. - [问题反馈指南](./harmony-next/ISSUE_GUIDE.md)
  57. 兼容安装路径:`npx skills add linhay/harmony-next.skills --list`、`$HOME/.agents/skills/harmony-next`、`DSH_SOURCE=/path/to/harmony-next.skills`、`.dsh/skills/harmony-next`、`dsh-harmony-next`。
  58. API 26 声明快照可从新版 DevEco Studio 重新生成:
  59. ```bash
  60. python3 harmony-next/scripts/sync_api26_snapshot.py \
  61. --deveco-app /path/to/DevEco-Studio.app
  62. python3 harmony-next/scripts/reference_compat.py generate
  63. ```
  64. 发布前运行:
  65. ```bash
  66. python3 harmony-next/scripts/check_packaging_docs.py
  67. python3 harmony-next/scripts/reference_compat.py check
  68. python3 -m unittest discover -s harmony-next/tests -p 'test_*.py' -v
  69. ```
  70. </details>
  71. ## 版本
  72. | 当前发布 | 说明 |
  73. | --- | --- |
  74. | `v1.3.37` | [API 26.0.0 Release 声明快照](https://github.com/linhay/harmony-next.skills/releases/tag/v1.3.37) 已纳入;官网 guide、示例和差异说明持续补充 |
  75. ## 许可证
  76. MIT。文档来源为华为 HarmonyOS 官方资料,版权归原作者所有。

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.