arkts-skill

Installation
SKILL.md

ArkTS Skill

Use this skill to answer ArkTS language and type-system questions with spec-backed guidance.

Workflow

  1. Read the user problem and classify it as one of: syntax, type system, declarations, expressions/statements, classes/interfaces, or migration/compatibility.
  2. If the question is TypeScript-to-ArkTS migration related (especially "why not supported", including destructuring-assignment concerns), read references/huawei-migration-priority.md first.
  3. For migration questions, use local files in references/huawei-migration/*.md first (local-first).
  4. If local migration files are stale or insufficient, refresh them via bash scripts/fetch_huawei_migration_refs.sh.
  5. Search chapter files, then open only the matched files.
  6. Cite the exact section/topic names in your answer.
  7. Prefer minimal, directly compilable ArkTS examples.
  8. Keep recommendations simple and deterministic. If multiple options exist, present the simplest compliant one first.

Fast Search Patterns

Use targeted search on the chapter directory:

Related skills
Installs
4
GitHub Stars
13
First Seen
Apr 20, 2026