What problem does it solve? HarmonyOS developers often need accurate, version-aware ArkUI API references—covering ArkTS declarative syntax and NDK C-API interfaces—without manually digging through hundreds of documentation files. This Skill routes natural-language questions to the right knowledge base and returns precise, source-annotated answers. ## Core Features & Use Cases - Automatic Domain Routing: Detects whether a query targets ArkTS declarative UI, NDK/C-API, or both (e.g., XComponent), and searches the appropriate knowledge base (532 ArkTS docs + 262 NDK docs). - Keyword + Synonym Retrieval with Reranking: A dependency-free Python retriever scores documents by direct hits, keyword coverage, and title/source phrase matching, with category filtering and compact content extraction. - Rules-First Troubleshooting: Forces targeted retrieval of the 18-arkts-rules category for counterintuitive behaviors like focus constraints, gesture conflicts, component freeze/reuse limits, and @Builder restrictions. - Use Case: A developer hits compile error 100060 or wonders why stopPropagation does not block a parent gesture; the Skill retrieves the exact rule document, interface signature, and code example with source paths. ## Quick Start Ask the assistant to look up how the @Local decorator works in ArkUI state management V2, including its interface signature and a usage example.