harmonyos-app

仓库创建 2025年12月9日最近提交 10 天前SkillHot 收录 1 天前
▸ 精选理由

覆盖 NEXT API 与分布式设计,适合 HarmonyOS 开发者参考。

这个 Skill 做什么

提供 HarmonyOS(ArkTS/ArkUI/Stage 模型)应用开发最佳实践与示例。

提供面向 HarmonyOS(含 NEXT 版)的开发实战建议和示例,覆盖 ArkTS、ArkUI、Stage model 以及分布式能力的设计要点。适合从零构建 HarmonyOS 应用或将项目迁移到 ArkTS/Stage 模型时参考。特点强调 ArkTS 的类型安全、声明式 UI 和分布式优先的开发理念。

▸ 展开 SKILL.md 英文原文

HarmonyOS application development expert. Use when building HarmonyOS apps with ArkTS, ArkUI, Stage model, and distributed capabilities. Covers HarmonyOS NEXT (API 12+) best practices.

开发编程HarmonyOSArkTSArkUI通用
240
Stars
23
Forks
40
仓库内 Skill
+8
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/harmonyos-app/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/harmonyos-app/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# HarmonyOS Application Development

## Core Principles

- **ArkTS First** — Use ArkTS with strict type safety, no `any` or dynamic types
- **Declarative UI** — Build UI with ArkUI's declarative components and state management
- **Stage Model** — Use modern Stage model (UIAbility), not legacy FA model
- **Distributed by Design** — Leverage cross-device capabilities from the start
- **Atomic Services** — Consider atomic services and cards for lightweight experiences
- **One-time Development** — Design for multi-device adaptation (phone, tablet, watch, TV)

---

## Hard Rules (Must Follow)

> These rules are mandatory. Violating them means the skill is not working correctly.

### No Dynamic Ty
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有