arkts-skill
Installation
SKILL.md
ArkTS Skill
Use this skill to answer ArkTS language and type-system questions with spec-backed guidance.
Workflow
- Read the user problem and classify it as one of: syntax, type system, declarations, expressions/statements, classes/interfaces, or migration/compatibility.
- If the question is TypeScript-to-ArkTS migration related (especially "why not supported", including destructuring-assignment concerns), read
references/huawei-migration-priority.mdfirst. - For migration questions, use local files in
references/huawei-migration/*.mdfirst (local-first). - If local migration files are stale or insufficient, refresh them via
bash scripts/fetch_huawei_migration_refs.sh. - Search chapter files, then open only the matched files.
- Cite the exact section/topic names in your answer.
- Prefer minimal, directly compilable ArkTS examples.
- 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