Skip to content

Comprehensive ArkTS and ArkUI guide covering components, state decorators, layouts, navigation, and build and lint tooling.

CCM score
48 of 100
skills.sh installs
226
GitHub stars
7
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers V1 and V2 state decorators (@State, @Prop, @Link, @ComponentV2, @Local, @Param, @Event, @Monitor) with a V2 reference guide
  • Includes layout patterns (Column, Row, Stack, List/ForEach), component lifecycle hooks, and router, http, and preferences API examples
  • Lists ArkTS language constraints that replace TypeScript features such as any, var, for...in, and structural typing
  • Documents test runs, codelinter checks and auto-fixes, hstack crash parsing, and ArkGuard obfuscation settings for HarmonyOS projects

Install

$ npx -y skills add fadinglight9291117/arkts_skills --skill arkts-development -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

ArkTS Development

Build HarmonyOS applications using ArkTS and the ArkUI declarative UI framework.

Quick Start

Create a basic component:

@Entry
@Component
struct HelloWorld {
  @State message: string = 'Hello, ArkTS!';

  build() {
    Column() {
      Text(this.message)
        .fontSize(30)
        .fontWeight(FontWeight.Bold)
      Button('Click Me')
        .onClick(() => { this.message = 'Button Clicked!'; })
    }
    .width('100%')
    .height('100%')
    .justifyContent(FlexAlign.Center)
  }
}

State Management Decorators

V1 (Traditional)

DecoratorUsageDescription
@State@State count: number = 0Component internal state
@Prop@Prop title: stringParent → Child (one-way)
@Link@Link value: numberParent ↔ Child (two-way, use $varName)
@Provide/@ConsumeCross-levelAncestor → Descendant
@Observed/@ObjectLinkNested objectsDeep object observation

V2 (Recommended - API 12+)

Details

Repository
github.com/fadinglight9291117/arkts_skills
Categories
Mobile Apps, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the arkts-development skill help with?

It guides building HarmonyOS and OpenHarmony apps with ArkTS and the ArkUI declarative UI framework. It covers ArkUI components, state management decorators such as @State, @Prop and @Link, component lifecycle, layout patterns, and ArkTS language constraints.

How do I install the arkts-development skill?

Run npx -y skills add fadinglight9291117/arkts_skills --skill arkts-development -y in your project. Once installed, the agent can write HarmonyOS pages, use router, http and preferences APIs, and migrate TypeScript code to ArkTS.

Which category is the arkts-development skill in, and what sets it apart?

It is listed under Mobile Apps on Claude Marketplaces, alongside skills such as vercel-react-native-skills and animate-expo. Unlike those, it targets HarmonyOS ArkTS and ArkUI, including V1 and V2 state management decorators.

Does the arkts-development skill cover building and linting tools?

Its SKILL.md points build, clean and device installation work to the separate harmonyos-build-deploy skill. It does cover hvigorw test commands, the codelinter code checking tool, the hstack crash stack parser and ArkGuard obfuscation setup.

More from fadinglight9291117/arkts_skills

All 2

Similar to Arkts Development

More Mobile Apps