Skip to content

Capability Map

Reference doc — auto-synced from the harmony-app-dev AgentSkill. Source: references/capability-map.md

Purpose

Use this file to classify a HarmonyOS requirement before coding. The goal is not to memorize APIs, but to answer:

Which Harmony capability domain does this request belong to, and which official documentation path should be checked next?

Capability mapping rule

This map mirrors the official HarmonyOS Guides first-level domains and the skill’s own coverage.md. When a new domain is added in coverage.md, update this file too.

Official documentation roots


Domain index (mirrors official Guides + coverage.md)

A. Application foundation

A1. Application model (Stage model)

A2. HAP / HAR / HSP packaging

A3. Resource management

A4. ArkTS language


B. UI development

B1. ArkUI declarative UI

B2. ArkUI state management

B3. Visual effects

B4. Animation and transitions

B5. Gesture interaction

B6. Canvas / 2D drawing

B7. ArkGraphics 3D

B8. UI design / HarmonyOS Design


C. System capabilities (engineering essentials)

C1. Permissions

C2. Network

C3. Persistence (ArkData)

C4. File management

C5. Camera and media

C6. Notification

C7. Background tasks

C8. Location

C9. Security and privacy

C10. Distributed capability

C11. Concurrency

C12. Multimodal awareness


D. Surface form factors

D1. Widget / service card

D2. Atomic service (元服务)

D3. Cross-device (phone / tablet / watch / TV / car)


E. Quality and delivery

E1. Debugging

E2. Testing

E3. Publishing

E4. Internationalization

E5. Accessibility


Practical mapping examples

  • B1 ArkUI declarative UI
  • B3 Visual effects

”Implement a 3D flip card”

  • B4 Animation
  • B5 Gesture
  • B7 ArkGraphics 3D only if 2.5D transforms are insufficient

”Build a wave progress demo page”

  • B6 Canvas
  • B4 Animation

”Take a photo, upload it, and recognize the content”

  • C1 Permissions (camera)
  • C5 Camera and media
  • C2 Network (upload)
  • C3 Persistence (record result)

“Send a daily reminder at 9am”

  • C6 Notification
  • C7 Background tasks (scheduled trigger)
  • C1 Permissions (notification permission)

“Show app status on the home screen”

  • D1 Widget
  • C3 Persistence (read shared data)

Usage rule

When a Harmony task starts:

  1. classify it here first
  2. then read the narrowest matching reference file
  3. if no local file exists, follow the official URL provided here
  4. then use official docs only for exact API verification