harmonyos-development

Support HarmonyOS NEXT app development with ArkTS and ArkUI.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/shirulot/codex-skill --skill harmonyos-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harmonyos-development
Source: https://github.com/shirulot/codex-skill/tree/main/harmonyos-development
Command: npx skills add https://github.com/shirulot/codex-skill --skill harmonyos-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of developing for the AOSP-free HarmonyOS NEXT ecosystem, providing developers with accurate API references, architectural patterns, and performance optimization rules for ArkTS and ArkUI.

Core Features & Use Cases

  • API & Framework Guidance: Provides up-to-date information on HarmonyOS 6.1/7 APIs, Stage model architecture, and ArkUI component lifecycles.
  • Performance Optimization: Offers best practices for ArkTS memory management, layout performance, and efficient rendering using LazyForEach and Reusable components.
  • Use Case: Use this Skill when migrating legacy FA model apps to the Stage model, debugging ArkUI layout issues, or implementing professional camera controls and system-level capabilities in a HarmonyOS native application.

Quick Start

Use the harmonyos-development skill to explain the lifecycle of a UIAbility and provide a code template for a standard entry page.

Frequently Asked Questions about harmonyos-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a legacy FA model app to the Stage model in HarmonyOS NEXT?

Migrating to the Stage model in HarmonyOS NEXT involves restructuring your app architecture using ArkTS and adapting UIAbility lifecycles to align with official Huawei developer guidelines for production-grade applications.

What is the best way to optimize ArkUI layout performance and rendering?

The best way to optimize ArkUI layout performance is by implementing LazyForEach for efficient rendering and utilizing Reusable components. This ensures proper ArkTS memory management and maximizes ArkCompiler efficiency for mobile applications.

How does the UIAbility lifecycle work within the Stage model architecture?

The UIAbility lifecycle in the Stage model architecture manages the core states of a HarmonyOS native application. It provides comprehensive technical support for handling window displays and entry page transitions using ArkUI component lifecycles.

Can I use ArkTS strict typing rules with API 24 and API 26 integration?

Yes, you can use ArkTS strict typing rules with API 24 and API 26 integration. The development ecosystem ensures adherence to strict ArkTS typing rules across the entire lifecycle of HarmonyOS NEXT native applications.

Why should I use ArkTS for HarmonyOS NEXT native app development instead of the older framework?

ArkTS is required for HarmonyOS NEXT native app development because the ecosystem is AOSP-free. It provides accurate API references, architectural patterns, and ArkCompiler performance tuning rules specifically designed for the Stage model.

Does DevEco support professional camera controls and system-level capabilities in Stage model apps?

DevEco supports implementing professional camera controls and system-level capabilities within Stage model apps. It provides the necessary environment for integrating HarmonyOS 6.1/7 APIs and ArkUI components for production-grade mobile applications.