โ† All skills
Tencent SkillHub ยท Developer Tools

harmonyOS developer

Develop ArkTS apps with HarmonyOS SDK using ArkUI components, manage state, handle navigation, network, storage, permissions, and app signing.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Develop ArkTS apps with HarmonyOS SDK using ArkUI components, manage state, handle navigation, network, storage, permissions, and app signing.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
_meta.json, SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 15 sections Open source page

Core Rules

Use .equals() for string comparison, not == HarmonyOS uses ArkTS/TypeScript UI built with ArkUI framework App signing requires certificate configuration

Development Environment

IDE: DevEco Studio Language: ArkTS (TypeScript superset) SDK: HarmonyOS SDK API: HarmonyOS Next API

Components

// Basic component @Entry @Component struct Index { @State message: string = 'Hello World' build() { Column() { Text(this.message) .fontSize(50) .fontWeight(FontWeight.Bold) } .alignItems(HorizontalAlign.Center) .width('100%') .height('100%') } }

State Management

// @State - Component internal state @State count: number = 0 // @Prop - Parent component prop @Prop message: string // @Link - Two-way binding @Link childCount: number // @Observed + @ObjectLink - Deep observation @Observed class Person { name: string = '' age: number = 0 } @ObjectLink person: Person

Lifecycle

// Component lifecycle aboutToAppear() {} // About to display onDidBuild() {} // Build complete aboutToDisappear() {} // About to destroy

Common Components

Text - Text display Image - Image display Button - Interactive button Column/Row - Layout containers List - Scrollable list Grid - Grid layout Stack - Stacked layout Swiper - Carousel TabContent - Tab pages

Layouts

// Linear layout Column() { } // Vertical Row() { } // Horizontal // Flex layout Flex() { direction: FlexDirection.Row } // Grid layout Grid() { columnsTemplate: '1fr 1fr 1fr' } // Stack Stack() { }

Routing

import router from '@ohos.router' // Navigate router.pushUrl('pages/Detail') // Go back router.back() // With params router.pushUrl({ url: 'pages/Detail', params: { id: 123 } }) // Get params const params = router.getParams()

Network Requests

import http from '@ohos.net.http' let httpRequest = http.createHttp() httpRequest.request( 'https://api.example.com/data', { method: http.RequestMethod.GET, header: { 'Content-Type': 'application/json' } }, (err, data) => { if (!err) { console.log(JSON.stringify(data.result)) } } )

Local Storage

import preferences from '@ohos.data.preferences' // Write let preferences = await preferences.getPreferences(context, 'myPrefs') await preferences.put('username', 'tom') await preferences.flush() // Read let value = await preferences.get('username', 'default')

Permissions

import abilityAccessCtrl from '@ohos.abilityAccessCtrl' // Declare in module.json5 // "requestPermissions": [ // { "name": "ohos.permission.INTERNET" } // ] // Request at runtime let atManager = abilityAccessCtrl.createAtManager() atManager.requestPermissionsFromUser(context, ['ohos.permission.INTERNET'])

Common Permissions

ohos.permission.INTERNET - Network access ohos.permission.GET_NETWORK_INFO - Network status ohos.permission.CAMERA - Camera access ohos.permission.WRITE_MEDIA - Media write ohos.permission.READ_MEDIA - Media read

Build & Signing

DevEco Studio โ†’ Build โ†’ Build Hap Configure signing in Project Structure โ†’ Signing Configs Requires .p12 certificate and .cer public key Use debug signing for development, release for production

Quick Reference

NeedSolutionState management@State, @Prop, @Link, @ObservedListsList + ListItemNetwork@ohos.net.httpStorage@ohos.data.preferencesRoutingrouter.pushUrl()ToastpromptAction.showToast()Dialogdialog.showDialog()

Learning Resources

Official: https://developer.harmonyos.com/ API Docs: https://docs.openharmony.cn/ Samples: https://gitee.com/openharmony/app_samples

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Config
  • SKILL.md Primary doc
  • _meta.json Config