What problem does it solve?
This skill helps you quickly find and verify ArkTS language rules for static semantics, especially when reasoning about type system behavior and TypeScript-to-ArkTS migration differences, so you can avoid wrong assumptions and clarify compile-time behavior.
Core Features & Use Cases
- ArkTS static language specification reference: Look up rules for types, classes, expressions, statements, generics, annotations, modules, errors, concurrency concepts, standard library APIs, and experimental features.
- TypeScript migration guidance: Use the ArkTS TypeScript migration cookbook to address compatibility gaps such as syntax restrictions and behavioral differences during migration.
- Answer guardrails: The skill instructs the assistant to answer strictly based on the bundled spec and cookbook content, and to explicitly flag anything not covered.
Quick Start
Ask: "Using arkts-static-spec, explain whether this ArkTS type annotation or language feature is allowed, and cite the relevant spec topic; if the spec is silent, tell me it is not explicitly documented."