openharmony-ability-kit
Installation
SKILL.md
OpenHarmony Ability Kit 快速参考
概述
Ability Kit 是 OpenHarmony Stage 模型中管理应用组件的核心框架。它提供:
- UIAbility: 带生命周期的 UI 应用组件
- AbilityStage: 模块级组件管理器,用于初始化
- Want: 组件间通信的数据载体
- Context: 应用/组件上下文,用于资源访问和操作
- ExtensionAbility: 扩展能力(Form、Service 等)
- BundleManager: 包和应用信息查询
官方文档: docs-OpenHarmony-v6.0-Release/zh-cn/application-dev/reference/apis-ability-kit/
决策流程
Related skills
More from mengfei0053/skills
openharmony-arkts-utils
OpenHarmony ArkTS工具库快速参考 - 并发、TaskPool、Worker、Sendable、XML、Buffer、JSON、容器和运行时特性
30openharmony-ui-reference
用于使用 ArkTS 开发 OpenHarmony UI 时 - 查找布局、组件、状态管理、动画、导航,或处理缺少装饰器、状态不更新、渲染问题等错误
24openharmony-error-detection
Use when developing OpenHarmony applications to detect and fix errors systematically through lint, unit tests, compilation, automated search, and documentation lookup
16openharmony-testing-apis
当开发 OpenHarmony 应用需要使用 JsUnit、UiTest 或 PerfTest 框架进行测试时,或需要模拟 UI 交互、测量性能指标、实现自定义测试运行器时使用
12