harmony-next

HarmonyOS NEXT(以 API 12+ 为主;大量含 API 12-23 版本标注,少量引用更早版本用于对比)离线参考库导航:按 Kit/任务/索引渐进式定位文档(ArkTS/ArkUI/NDK)。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "harmony-next" with this command: npx skills add linhay/harmony-next.skills/linhay-harmony-next-skills-harmony-next

HarmonyOS NEXT(离线文档导航)

目标:在不盲读 references/ 的前提下,快速定位到 1 个或少量目标 Markdown,然后只打开这些文件。

渐进式披露(按顺序走)

  1. 先缩小范围(选 Kit 或任务)

    • Kit 导航:references/KITS.md
    • 任务导向:references/TASK_MAP.md
  2. 再精确命中文件(搜路径清单)

    • 全库路径清单:references/INDEX.md
    • JS/ETS API 分桶清单:references/JsEtsAPIReference/INDEX.md
  3. 仅在必要时浏览目录 references/JsEtsAPIReference/ 已按桶分层:modules/topics/capi/headers/types/errors/guides/

常用检索(直接复制用)

  • 先按关键词命中路径:rg -n "UIAbility|AbilityStage|Want" references/INDEX.md | head
  • 查某个 @ohos.* 模块:rg -n "@ohos\\.app\\.ability\\.|@ohos\\.ability\\." references/JsEtsAPIReference/INDEX.md | head
  • 查 NDK/C API 头文件:rg -n "^capi/headers/.*(napi|arkui|window|ability).*\\.h\\.md$" references/JsEtsAPIReference/INDEX.md | head

生成约束(避免踩坑)

  • 不要全量读取:先在 INDEX.md 命中路径,再打开对应 .md
  • 不确定就查文档:API 签名、入参、返回值以 references/ 内文本为准,不凭经验补全。
  • ArkUI 优先声明式:示例优先使用 @Entry / @Component / build()(除非文档明确是 NDK 或系统服务)。
<!-- version: 1.1.0 -->

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

test_skill

import json import tkinter as tk from tkinter import messagebox, simpledialog

Archived SourceRecently Updated
General

neo

Browse websites, read web pages, interact with web apps, call website APIs, and automate web tasks. Use Neo when: user asks to check a website, read a web page, post on social media (Twitter/X), interact with any web app, look up information on a specific site, scrape data from websites, automate browser tasks, or when you need to call any website's API. Keywords: website, web page, browse, URL, http, API, twitter, tweet, post, scrape, web app, open site, check site, read page, social media, online service.

Archived SourceRecently Updated
General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated