hmos-arkts-knowledge-retriever
Retrieve grounded ArkTS references for pure non-UI ArkTS work and ArkTS API usage. Use this skill whenever the user is writing, reviewing, testing, validating, running, or debugging ArkTS code and the answer should be backed by repository sources such as `docs/ArkTS-Language-Guide/`, `docs/ArkTS-API-Reference/`, the linter-derived `docs/linter/ArkTS_Syntax_Knowledge_From_Linter.md`, and the bundled lightweight lint tool docs `docs/linter/linter-cli.md` plus `linter-cli/` instead of model memory. This skill is especially useful for syntax rules, ArkTS-specific restrictions, API/module/member lookup, common-library usage, lightweight lint workflow lookup, runnable example lookup, snippet validation context, and figuring out which repository section to trust before suggesting code or fixes.
- License 许可
- GPL-3.0
- 最近更新
- 2026-10-08
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- hmos-arkts-knowledge-retriever
- description
- Retrieve grounded ArkTS references for pure non-UI ArkTS work and ArkTS API usage. Use this skill whenever the user is writing, reviewing, testing, validating, running, or debugging ArkTS code and the answer should be backed by repository sources such as `docs/ArkTS-Language-Guide/`, `docs/ArkTS-API-Reference/`, the linter-derived `docs/linter/ArkTS_Syntax_Knowledge_From_Linter.md`, and the bundled lightweight lint tool docs `docs/linter/linter-cli.md` plus `linter-cli/` instead of model memory. This skill is especially useful for syntax rules, ArkTS-specific restrictions, API/module/member lookup, common-library usage, lightweight lint workflow lookup, runnable example lookup, snippet validation context, and figuring out which repository section to trust before suggesting code or fixes.
02 资源文件 500
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Array.md65.1 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-ArrayBuffer.md4.1 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-BitVector.md24.5 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-ConcatArray.md4.8 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Float32Array.md55.4 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Int16Array.md56.4 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Int32Array.md56.4 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Int8Array.md56.2 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Map.md16.8 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Set.md14.7 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Types.md8.9 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Uint16Array.md56.8 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Uint32Array.md56.7 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Uint8Array.md56.4 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections-Uint8ClampedArray.md56.7 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-collections.md2.1 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-utils-ASON.md8.9 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-utils-f.md1.4 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-utils-locks.md22.3 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-utils-SendableLruCache.md15.7 KB
- 参考文档docs/ArkTS-API-Reference/arkts-apis-arkts-utils.md780 B
- 参考文档docs/ArkTS-API-Reference/errorcode-es2abc.md2.6 KB
- 参考文档docs/ArkTS-API-Reference/errorcode-ets-loader.md4.2 KB
- 参考文档docs/ArkTS-API-Reference/errorcode-source-obfuscation.md3.0 KB
- 参考文档docs/ArkTS-API-Reference/errorcode-tsc.md3.4 KB
- 参考文档docs/ArkTS-API-Reference/errorcode-utils.md24.5 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-arkts-decimal.md146.7 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-arkts-lang.md1.3 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-arraylist.md25.3 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-buffer.md106.7 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-convertxml.md14.5 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-deque.md10.8 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-fastbuffer.md92.9 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-hashmap.md16.6 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-hashset.md12.3 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-json.md11.4 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-lightweightmap.md27.2 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-lightweightset.md22.1 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-linkedlist.md23.8 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-list.md23.6 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-plainarray.md20.7 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-process.md16.8 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-queue.md7.0 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-stack.md8.7 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-stream.md52.3 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-taskpool.md120.9 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-treemap.md22.1 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-treeset.md18.4 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-uri.md30.9 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-url.md36.4 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-util.md204.5 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-vector.md18.3 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-worker-sys.md4.4 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-worker.md98.9 KB
- 参考文档docs/ArkTS-API-Reference/js-apis-xml.md59.1 KB
- 参考文档docs/ArkTS-API-Reference/Readme-CN.md4.0 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/advanced-operators.md13.4 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/classes.md13.8 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/collection-types.md17.1 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/concurrency.md12.7 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/control-flow.md15.6 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/enumerations.md9.8 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/error-handling.md8.8 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/functions.md16.8 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/generics.md11.8 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/inheritance.md10.2 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/initialization.md11.8 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/interfaces.md11.6 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/methods.md13.2 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/properties.md12.4 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/strings.md14.3 KB
- 参考文档docs/ArkTS-Language-Guide/Basic-Syntax/type-casting.md11.2 KB
- 参考文档docs/ArkTS-Language-Guide/Coding-Guide-and-Practices/Coding-Style-Guide/arkts-coding-style-guide.md18.7 KB
- 参考文档docs/ArkTS-Language-Guide/Coding-Guide-and-Practices/Performant-Programming-Practices/arkts-high-performance-programming.md7.2 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/arkts-json.md8.8 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/arkts-utils-overview.md768 B
- 参考文档docs/ArkTS-Language-Guide/Common-Library/buffer.md3.2 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/container-overview.md914 B
- 参考文档docs/ArkTS-Language-Guide/Common-Library/linear-container.md18.9 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/nonlinear-container.md20.8 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/xml-conversion.md4.2 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/xml-generation.md5.6 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/xml-overview.md2.0 KB
- 参考文档docs/ArkTS-Language-Guide/Common-Library/xml-parsing.md9.8 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/arkoptions-guide.md6.1 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/arkts-bytecode-file-format.md38.1 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/arkts-bytecode-function-name.md6.5 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/arkts-bytecode-fundamentals.md86.4 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/arkts-bytecode-overview.md1.1 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/bytecode-obfuscation-guide.md14.2 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/bytecode-obfuscation-overview.md2.2 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/bytecode-obfuscation-practice.md11.8 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/bytecode-obfuscation-questions.md24.7 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/bytecode-obfuscation.md34.0 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/compilation-tool-chain-overview.md2.0 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/customize-bytecode-during-compilation.md2.5 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/es2abc-faq.md8.8 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/source-obfuscation-guide.md15.3 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/source-obfuscation-overview.md1.9 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/source-obfuscation-practice.md13.5 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/source-obfuscation-questions.md15.9 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/source-obfuscation.md59.8 KB
- 参考文档docs/ArkTS-Language-Guide/Compilation-Toolchain/tool-disassembler.md5.0 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/arkts-async-lock-introduction.md2.9 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/arkts-collections-introduction.md27.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/arkts-condition-variable-introduction.md3.8 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/arkts-sendable-module.md5.4 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/arkts-sendable.md13.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/arraybuffer-object.md5.1 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/ason-parsing-generation.md2.4 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/async-concurrency-overview.md8.7 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/batch-database-operations-guide.md20.8 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/concurrency-faq.md25.8 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/concurrency-overview.md2.5 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/concurrent-loading-modules-guide.md6.1 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/container-object.md2.7 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/cpu-intensive-task-development.md8.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/global-configuration-guide.md6.5 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/independent-time-consuming-task.md3.9 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/interthread-communication-overview.md2.8 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/io-intensive-task-development.md4.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/long-time-task-guide.md3.1 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/long-time-task-overview.md1.5 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/makeobserved-sendable.md3.3 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/multi-thread-cancel-task.md2.5 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/multi-thread-concurrency-overview.md10.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/multi-time-consuming-tasks.md5.0 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/multithread-develop-overview.md1.3 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/napi-coerce-to-native-binding-object.md16.9 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/napi-define-sendable-object.md9.7 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/native-interthread-shared.md11.0 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/normal-object.md3.2 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/resident-task-guide.md4.1 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/resident-task-overview.md1.3 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/sendable-constraints.md17.5 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/sendable-freeze.md3.1 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/sendable-guide.md7.1 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/sendablelrucache-recent-list.md9.3 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/serializable-overview.md2.2 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/shared-arraybuffer-object.md1.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/sync-task-development.md7.4 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/taskpool-async-task-guide.md2.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/taskpool-communicates-with-mainthread.md4.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/taskpool-introduction.md19.5 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/taskpool-vs-worker.md5.5 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/taskpool-waterflow.md10.4 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/time-consuming-task-overview.md1.3 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/transferabled-object.md5.7 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/worker-and-taskpool.md3.1 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/worker-communicates-with-mainthread.md3.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/worker-introduction.md29.6 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/worker-invoke-mainthread-interface.md3.3 KB
- 参考文档docs/ArkTS-Language-Guide/Concurrency/worker-postMessage-sendable.md6.8 KB
- 参考文档docs/ArkTS-Language-Guide/Cross-Language-Interaction/arkts-cross-language-interaction.md1.2 KB
- 参考文档docs/ArkTS-Language-Guide/Getting-Started-with-ArkTS/arkts-overview.md2.4 KB
- 参考文档docs/ArkTS-Language-Guide/Migration-Guide/Other-Languages-to-ArkTS/getting-started-with-arkts-for-java-programmers.md16.6 KB
- 参考文档docs/ArkTS-Language-Guide/Migration-Guide/Other-Languages-to-ArkTS/getting-started-with-arkts-for-swift-programmers.md13.4 KB
- 参考文档docs/ArkTS-Language-Guide/Migration-Guide/TypeScript-to-ArkTS/arkts-migration-background.md9.4 KB
- 参考文档docs/ArkTS-Language-Guide/Migration-Guide/TypeScript-to-ArkTS/arkts-more-cases.md44.0 KB
- 参考文档docs/ArkTS-Language-Guide/Migration-Guide/TypeScript-to-ArkTS/typescript-to-arkts-migration-guide.md70.3 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/arkts-dynamic-import.md26.0 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/arkts-import-native-module.md2.8 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/arkts-lazy-import.md22.7 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/arkts-module-side-effects.md16.6 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/arkts-runtime-faq.md12.0 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/arkts-runtime-overview.md1.9 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/gc-introduction.md27.5 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/js-apis-load-native-module.md2.2 KB
- 参考文档docs/ArkTS-Language-Guide/Runtime/load-module-base-nodeapi.md954 B
- 参考文档docs/ArkTS-Language-Guide/Runtime/module-principle.md5.9 KB
- 参考文档docs/linter/ArkTS_Syntax_Knowledge_From_Linter.md38.0 KB
- 其他docs/linter/examples/allow_array_element_access_ok.ets82 B
- 其他docs/linter/examples/allow_arrow_function_ok.ets73 B
- 其他docs/linter/examples/allow_record_numeric_key_ok.ets88 B
- 其他docs/linter/examples/allow_sendable_class_ok.ets149 B
- 其他docs/linter/examples/allow_typed_object_literal_ok.ets92 B
- 其他docs/linter/examples/allow_typeof_expression_ok.ets64 B
- 其他docs/linter/examples/forbid_as_const_fail.ets48 B
- 其他docs/linter/examples/forbid_delete_fail.ets71 B
- 其他docs/linter/examples/forbid_destructuring_decl_fail.ets65 B
- 其他docs/linter/examples/forbid_in_fail.ets94 B
- 其他docs/linter/examples/forbid_nested_function_fail.ets114 B
- 其他docs/linter/examples/forbid_object_index_access_fail.ets106 B
- 其他docs/linter/examples/forbid_object_literal_no_context_fail.ets40 B
- 其他docs/linter/examples/forbid_sendable_missing_field_type_fail.ets85 B
- 其他docs/linter/examples/forbid_type_query_fail.ets63 B
- 其他docs/linter/examples/forbid_var_fail.ets25 B
- 其他docs/linter/examples/warn_function_bind_warn.ets109 B
- 其他docs/linter/examples/warn_global_this_warn.ets34 B
- 参考文档docs/linter/linter-cli.md3.6 KB
- 其他linter-cli/.gitignore14 B
- 脚本linter-cli/bin/linter-cli.js13.6 KB
- 参考文档linter-cli/package-lock.json2.8 KB
- 参考文档linter-cli/package.json646 B
- 参考文档linter-cli/README.md3.6 KB
- 参考文档linter-cli/runtime/compiler/components/ability_component.json204 B
- 参考文档linter-cli/runtime/compiler/components/alphabet_indexer.json571 B
- 参考文档linter-cli/runtime/compiler/components/animator.json267 B
- 参考文档linter-cli/runtime/compiler/components/arc_alphabet_indexer.json299 B
- 参考文档linter-cli/runtime/compiler/components/arc_scrollbar.json88 B
- 参考文档linter-cli/runtime/compiler/components/arc_swiper.json300 B
- 参考文档linter-cli/runtime/compiler/components/arcList.json408 B
- 参考文档linter-cli/runtime/compiler/components/arcListItem.json112 B
- 参考文档linter-cli/runtime/compiler/components/badge.json55 B
- 参考文档linter-cli/runtime/compiler/components/blank.json101 B
- 参考文档linter-cli/runtime/compiler/components/button.json257 B
- 参考文档linter-cli/runtime/compiler/components/calendar.json321 B
- 参考文档linter-cli/runtime/compiler/components/calendarPicker.json121 B
- 参考文档linter-cli/runtime/compiler/components/camera.json71 B
- 参考文档linter-cli/runtime/compiler/components/canvas.json73 B
- 参考文档linter-cli/runtime/compiler/components/checkbox.json135 B
- 参考文档linter-cli/runtime/compiler/components/checkboxgroup.json132 B
- 参考文档linter-cli/runtime/compiler/components/circle.json40 B
- 参考文档linter-cli/runtime/compiler/components/colorPicker.json104 B
- 参考文档linter-cli/runtime/compiler/components/colorPickerDialog.json54 B
- 参考文档linter-cli/runtime/compiler/components/column_split.json73 B
- 参考文档linter-cli/runtime/compiler/components/column.json79 B
- 参考文档linter-cli/runtime/compiler/components/common_attrs.json4.2 KB
- 参考文档linter-cli/runtime/compiler/components/component3d.json208 B
- 参考文档linter-cli/runtime/compiler/components/container_span.json154 B
- 参考文档linter-cli/runtime/compiler/components/content_slot.json74 B
- 参考文档linter-cli/runtime/compiler/components/counter.json133 B
- 参考文档linter-cli/runtime/compiler/components/datapanel.json160 B
- 参考文档linter-cli/runtime/compiler/components/datePicker.json211 B
- 参考文档linter-cli/runtime/compiler/components/divider.json101 B
- 参考文档linter-cli/runtime/compiler/components/dot_matrix.json117 B
- 参考文档linter-cli/runtime/compiler/components/dynamicLayout.json48 B
- 参考文档linter-cli/runtime/compiler/components/effect_component.json46 B
- 参考文档linter-cli/runtime/compiler/components/ellipse.json41 B
- 参考文档linter-cli/runtime/compiler/components/embedded_component.json105 B
- 参考文档linter-cli/runtime/compiler/components/flex.json35 B
- 参考文档linter-cli/runtime/compiler/components/flow_item.json107 B
- 参考文档linter-cli/runtime/compiler/components/folder_stack.json161 B
- 参考文档linter-cli/runtime/compiler/components/form_component.json209 B
- 参考文档linter-cli/runtime/compiler/components/form_link.json57 B
- 参考文档linter-cli/runtime/compiler/components/friction_motion.json48 B
- 参考文档linter-cli/runtime/compiler/components/gauge.json221 B
- 参考文档linter-cli/runtime/compiler/components/geometryView.json46 B
- 参考文档linter-cli/runtime/compiler/components/grid_col.json146 B
- 参考文档linter-cli/runtime/compiler/components/grid_container.json85 B
- 参考文档linter-cli/runtime/compiler/components/grid_row.json117 B
- 参考文档linter-cli/runtime/compiler/components/grid.json980 B
- 参考文档linter-cli/runtime/compiler/components/gridItem.json182 B
- 参考文档linter-cli/runtime/compiler/components/hyperlink.json72 B
- 参考文档linter-cli/runtime/compiler/components/image_animator.json224 B
- 参考文档linter-cli/runtime/compiler/components/image_span.json204 B
- 参考文档linter-cli/runtime/compiler/components/image.json413 B
- 参考文档linter-cli/runtime/compiler/components/indicatorcomponent.json139 B
- 参考文档linter-cli/runtime/compiler/components/isolated_component.json75 B
- 参考文档linter-cli/runtime/compiler/components/lazy_v_grid_layout.json146 B
- 参考文档linter-cli/runtime/compiler/components/line.json84 B
- 参考文档linter-cli/runtime/compiler/components/list.json1.0 KB
- 参考文档linter-cli/runtime/compiler/components/listItem.json171 B
- 参考文档linter-cli/runtime/compiler/components/listItemGroup.json134 B
- 参考文档linter-cli/runtime/compiler/components/loadingProgress.json108 B
- 参考文档linter-cli/runtime/compiler/components/location_button.json357 B
- 参考文档linter-cli/runtime/compiler/components/marquee.json228 B
- 参考文档linter-cli/runtime/compiler/components/media_cached_image.json254 B
- 参考文档linter-cli/runtime/compiler/components/menu_item_group.json63 B
- 参考文档linter-cli/runtime/compiler/components/menu_item.json224 B
- 参考文档linter-cli/runtime/compiler/components/menu.json262 B
- 参考文档linter-cli/runtime/compiler/components/nav_destination.json306 B
- 参考文档linter-cli/runtime/compiler/components/nav_router.json63 B
- 参考文档linter-cli/runtime/compiler/components/navigation.json467 B
- 参考文档linter-cli/runtime/compiler/components/navigator.json94 B
- 参考文档linter-cli/runtime/compiler/components/nodeContainer.json62 B
- 参考文档linter-cli/runtime/compiler/components/option.json111 B
- 参考文档linter-cli/runtime/compiler/components/pageTransition_enter.json100 B
- 参考文档linter-cli/runtime/compiler/components/pageTransition_exit.json98 B
- 参考文档linter-cli/runtime/compiler/components/panel.json204 B
- 参考文档linter-cli/runtime/compiler/components/particle.json63 B
- 参考文档linter-cli/runtime/compiler/components/paste_button.json354 B
- 参考文档linter-cli/runtime/compiler/components/path.json71 B
- 参考文档linter-cli/runtime/compiler/components/pattern_lock.json313 B
- 参考文档linter-cli/runtime/compiler/components/piece.json144 B
- 参考文档linter-cli/runtime/compiler/components/plugin_component.json116 B
- 参考文档linter-cli/runtime/compiler/components/polygon.json64 B
- 参考文档linter-cli/runtime/compiler/components/polyline.json65 B
- 参考文档linter-cli/runtime/compiler/components/progress.json163 B
- 参考文档linter-cli/runtime/compiler/components/qrcode.json81 B
- 参考文档linter-cli/runtime/compiler/components/radio.json108 B
- 参考文档linter-cli/runtime/compiler/components/rating.json100 B
- 参考文档linter-cli/runtime/compiler/components/rect.json100 B
- 参考文档linter-cli/runtime/compiler/components/refresh.json197 B
- 参考文档linter-cli/runtime/compiler/components/relative_container.json96 B
- 参考文档linter-cli/runtime/compiler/components/remote_window.json113 B
- 参考文档linter-cli/runtime/compiler/components/repeat.json132 B
- 参考文档linter-cli/runtime/compiler/components/rich_editor.json362 B
- 参考文档linter-cli/runtime/compiler/components/rich_text.json88 B
- 参考文档linter-cli/runtime/compiler/components/root_scene.json61 B
- 参考文档linter-cli/runtime/compiler/components/row_split.json51 B
- 参考文档linter-cli/runtime/compiler/components/row.json76 B
- 参考文档linter-cli/runtime/compiler/components/save_button.json353 B
- 参考文档linter-cli/runtime/compiler/components/screen.json58 B
- 参考文档linter-cli/runtime/compiler/components/scroll_bar.json105 B
- 参考文档linter-cli/runtime/compiler/components/scroll_motion.json46 B
- 参考文档linter-cli/runtime/compiler/components/scroll.json760 B
- 参考文档linter-cli/runtime/compiler/components/search.json941 B
- 参考文档linter-cli/runtime/compiler/components/section.json38 B
- 参考文档linter-cli/runtime/compiler/components/select.json445 B
- 参考文档linter-cli/runtime/compiler/components/shape.json378 B
- 参考文档linter-cli/runtime/compiler/components/sheet.json63 B
- 参考文档linter-cli/runtime/compiler/components/sideBar_container.json251 B
- 参考文档linter-cli/runtime/compiler/components/slider.json433 B
- 参考文档linter-cli/runtime/compiler/components/span.json302 B
- 参考文档linter-cli/runtime/compiler/components/spring_motion.json46 B
- 参考文档linter-cli/runtime/compiler/components/spring_prop.json44 B
- 参考文档linter-cli/runtime/compiler/components/stack.json50 B
- 参考文档linter-cli/runtime/compiler/components/stepper.json133 B
- 参考文档linter-cli/runtime/compiler/components/stepperItem.json120 B
- 参考文档linter-cli/runtime/compiler/components/swiper.json583 B
- 参考文档linter-cli/runtime/compiler/components/symbol_span.json175 B
- 参考文档linter-cli/runtime/compiler/components/symbolglyph.json149 B
- 参考文档linter-cli/runtime/compiler/components/tab_content.json134 B
- 参考文档linter-cli/runtime/compiler/components/tabs.json564 B
- 参考文档linter-cli/runtime/compiler/components/text_clock.json218 B
- 参考文档linter-cli/runtime/compiler/components/text.json859 B
- 参考文档linter-cli/runtime/compiler/components/textarea.json1.1 KB
- 参考文档linter-cli/runtime/compiler/components/textinput.json1.4 KB
- 参考文档linter-cli/runtime/compiler/components/textPicker.json246 B
- 参考文档linter-cli/runtime/compiler/components/texttimer.json129 B
- 参考文档linter-cli/runtime/compiler/components/timePicker.json276 B
- 参考文档linter-cli/runtime/compiler/components/toggle.json117 B
- 参考文档linter-cli/runtime/compiler/components/toolbaritem.json66 B
- 参考文档linter-cli/runtime/compiler/components/ui_extension_component.json232 B
- 参考文档linter-cli/runtime/compiler/components/ui_picker_component.json277 B
- 参考文档linter-cli/runtime/compiler/components/union_effect_container.json104 B
- 参考文档linter-cli/runtime/compiler/components/video.json378 B
- 参考文档linter-cli/runtime/compiler/components/water_flow.json998 B
- 参考文档linter-cli/runtime/compiler/components/web.json1.1 KB
- 参考文档linter-cli/runtime/compiler/components/window_scene.json63 B
- 参考文档linter-cli/runtime/compiler/components/with_theme.json64 B
- 参考文档linter-cli/runtime/compiler/components/xcomponent.json452 B
- 参考文档linter-cli/runtime/compiler/components/xcomponentNode.json201 B
- 脚本linter-cli/runtime/compiler/declarations/ability_component.d.ts3.0 KB
- 脚本linter-cli/runtime/compiler/declarations/action_sheet.d.ts28.0 KB
- 脚本linter-cli/runtime/compiler/declarations/alert_dialog.d.ts32.9 KB
- 脚本linter-cli/runtime/compiler/declarations/alphabet_indexer.d.ts27.1 KB
- 脚本linter-cli/runtime/compiler/declarations/animator.d.ts8.9 KB
- 脚本linter-cli/runtime/compiler/declarations/badge.d.ts24.2 KB
- 脚本linter-cli/runtime/compiler/declarations/blank.d.ts4.9 KB
- 脚本linter-cli/runtime/compiler/declarations/button.d.ts29.9 KB
- 脚本linter-cli/runtime/compiler/declarations/calendar_picker.d.ts18.4 KB
- 脚本linter-cli/runtime/compiler/declarations/calendar.d.ts43.1 KB
- 脚本linter-cli/runtime/compiler/declarations/canvas.d.ts217.7 KB
- 脚本linter-cli/runtime/compiler/declarations/checkbox.d.ts15.7 KB
- 脚本linter-cli/runtime/compiler/declarations/checkboxgroup.d.ts19.1 KB
- 脚本linter-cli/runtime/compiler/declarations/circle.d.ts8.0 KB
- 脚本linter-cli/runtime/compiler/declarations/column_split.d.ts6.4 KB
- 脚本linter-cli/runtime/compiler/declarations/column.d.ts9.5 KB
- 脚本linter-cli/runtime/compiler/declarations/common_ts_ets_api.d.ts79.4 KB
- 脚本linter-cli/runtime/compiler/declarations/common.d.ts892.7 KB
- 脚本linter-cli/runtime/compiler/declarations/component3d.d.ts5.7 KB
- 脚本linter-cli/runtime/compiler/declarations/container_span.d.ts3.5 KB
- 脚本linter-cli/runtime/compiler/declarations/content_slot.d.ts1.9 KB
- 脚本linter-cli/runtime/compiler/declarations/context_menu.d.ts1.5 KB
- 脚本linter-cli/runtime/compiler/declarations/counter.d.ts8.1 KB
- 脚本linter-cli/runtime/compiler/declarations/custom_dialog_controller.d.ts17.8 KB
- 脚本linter-cli/runtime/compiler/declarations/data_panel.d.ts15.5 KB
- 脚本linter-cli/runtime/compiler/declarations/date_picker.d.ts39.3 KB
- 脚本linter-cli/runtime/compiler/declarations/divider.d.ts8.1 KB
- 脚本linter-cli/runtime/compiler/declarations/effect_component.d.ts3.6 KB
- 脚本linter-cli/runtime/compiler/declarations/ellipse.d.ts8.1 KB
- 脚本linter-cli/runtime/compiler/declarations/embedded_component.d.ts3.6 KB
- 脚本linter-cli/runtime/compiler/declarations/enums.d.ts232.2 KB
- 脚本linter-cli/runtime/compiler/declarations/flex.d.ts10.6 KB
- 脚本linter-cli/runtime/compiler/declarations/flow_item.d.ts3.3 KB
- 脚本linter-cli/runtime/compiler/declarations/focus.d.ts2.8 KB
- 脚本linter-cli/runtime/compiler/declarations/folder_stack.d.ts10.0 KB
- 脚本linter-cli/runtime/compiler/declarations/for_each.d.ts3.8 KB
- 脚本linter-cli/runtime/compiler/declarations/form_component.d.ts14.5 KB
- 脚本linter-cli/runtime/compiler/declarations/form_link.d.ts4.8 KB
- 脚本linter-cli/runtime/compiler/declarations/gauge.d.ts19.9 KB
- 脚本linter-cli/runtime/compiler/declarations/gesture.d.ts115.6 KB
- 脚本linter-cli/runtime/compiler/declarations/grid_col.d.ts12.1 KB
- 脚本linter-cli/runtime/compiler/declarations/grid_container.d.ts4.9 KB
- 脚本linter-cli/runtime/compiler/declarations/grid_row.d.ts23.6 KB
- 脚本linter-cli/runtime/compiler/declarations/grid.d.ts49.1 KB
- 脚本linter-cli/runtime/compiler/declarations/gridItem.d.ts10.4 KB
- 脚本linter-cli/runtime/compiler/declarations/hyperlink.d.ts4.4 KB
- 脚本linter-cli/runtime/compiler/declarations/image_animator.d.ts19.9 KB
- 脚本linter-cli/runtime/compiler/declarations/image_common.d.ts2.8 KB
- 脚本linter-cli/runtime/compiler/declarations/image_span.d.ts9.1 KB
- 脚本linter-cli/runtime/compiler/declarations/image.d.ts65.2 KB
- 脚本linter-cli/runtime/compiler/declarations/index-full.d.ts6.2 KB
- 脚本linter-cli/runtime/compiler/declarations/indicatorcomponent.d.ts5.3 KB
- 脚本linter-cli/runtime/compiler/declarations/inspector.d.ts2.0 KB
- 脚本linter-cli/runtime/compiler/declarations/isolated_component.d.ts3.8 KB
- 脚本linter-cli/runtime/compiler/declarations/lazy_for_each.d.ts22.0 KB
- 脚本linter-cli/runtime/compiler/declarations/lazy_grid_layout.d.ts3.0 KB
- 脚本linter-cli/runtime/compiler/declarations/lifecycle.d.ts640 B
- 脚本linter-cli/runtime/compiler/declarations/line.d.ts11.7 KB
- 脚本linter-cli/runtime/compiler/declarations/list_item_group.d.ts9.3 KB
- 脚本linter-cli/runtime/compiler/declarations/list_item.d.ts22.8 KB
- 脚本linter-cli/runtime/compiler/declarations/list.d.ts78.0 KB
- 脚本linter-cli/runtime/compiler/declarations/loading_progress.d.ts9.1 KB
- 脚本linter-cli/runtime/compiler/declarations/marquee.d.ts20.5 KB
- 脚本linter-cli/runtime/compiler/declarations/matrix2d.d.ts13.6 KB
- 脚本linter-cli/runtime/compiler/declarations/media_cached_image.d.ts2.4 KB
- 脚本linter-cli/runtime/compiler/declarations/menu_item_group.d.ts5.5 KB
- 脚本linter-cli/runtime/compiler/declarations/menu_item.d.ts14.0 KB
- 脚本linter-cli/runtime/compiler/declarations/menu.d.ts8.0 KB
- 脚本linter-cli/runtime/compiler/declarations/nav_destination.d.ts47.2 KB
- 脚本linter-cli/runtime/compiler/declarations/nav_router.d.ts8.8 KB
- 脚本linter-cli/runtime/compiler/declarations/navigation.d.ts118.8 KB
- 脚本linter-cli/runtime/compiler/declarations/navigator.d.ts9.1 KB
- 脚本linter-cli/runtime/compiler/declarations/node_container.d.ts3.0 KB
- 脚本linter-cli/runtime/compiler/declarations/page_transition.d.ts19.2 KB
- 脚本linter-cli/runtime/compiler/declarations/panel.d.ts19.2 KB
- 脚本linter-cli/runtime/compiler/declarations/particle.d.ts57.7 KB
- 脚本linter-cli/runtime/compiler/declarations/paste_button.d.ts8.4 KB
- 脚本linter-cli/runtime/compiler/declarations/path.d.ts9.6 KB
- 脚本linter-cli/runtime/compiler/declarations/pattern_lock.d.ts17.3 KB
- 脚本linter-cli/runtime/compiler/declarations/plugin_component.d.ts5.8 KB
- 脚本linter-cli/runtime/compiler/declarations/polygon.d.ts9.2 KB
- 脚本linter-cli/runtime/compiler/declarations/polyline.d.ts9.3 KB
- 脚本linter-cli/runtime/compiler/declarations/progress.d.ts33.9 KB
- 脚本linter-cli/runtime/compiler/declarations/qrcode.d.ts6.8 KB
- 脚本linter-cli/runtime/compiler/declarations/radio.d.ts14.4 KB
- 脚本linter-cli/runtime/compiler/declarations/rating.d.ts16.9 KB
- 脚本linter-cli/runtime/compiler/declarations/rect.d.ts19.3 KB
- 脚本linter-cli/runtime/compiler/declarations/refresh.d.ts14.2 KB
- 脚本linter-cli/runtime/compiler/declarations/relative_container.d.ts9.7 KB
- 脚本linter-cli/runtime/compiler/declarations/remote_window.d.ts3.4 KB
- 脚本linter-cli/runtime/compiler/declarations/repeat.d.ts7.1 KB
- 脚本linter-cli/runtime/compiler/declarations/rich_editor.d.ts106.2 KB
- 脚本linter-cli/runtime/compiler/declarations/rich_text.d.ts4.8 KB
- 脚本linter-cli/runtime/compiler/declarations/root_scene.d.ts2.0 KB
- 脚本linter-cli/runtime/compiler/declarations/row_split.d.ts3.8 KB
- 脚本linter-cli/runtime/compiler/declarations/row.d.ts8.6 KB
- 脚本linter-cli/runtime/compiler/declarations/save_button.d.ts13.7 KB
- 脚本linter-cli/runtime/compiler/declarations/screen.d.ts1.7 KB
- 脚本linter-cli/runtime/compiler/declarations/scroll_bar.d.ts7.7 KB
- 脚本linter-cli/runtime/compiler/declarations/scroll.d.ts60.0 KB
- 脚本linter-cli/runtime/compiler/declarations/search.d.ts64.0 KB
- 脚本linter-cli/runtime/compiler/declarations/security_component.d.ts21.7 KB
- 脚本linter-cli/runtime/compiler/declarations/select.d.ts37.4 KB
- 脚本linter-cli/runtime/compiler/declarations/shape.d.ts24.7 KB
- 脚本linter-cli/runtime/compiler/declarations/sidebar.d.ts25.3 KB
- 脚本linter-cli/runtime/compiler/declarations/slider.d.ts47.4 KB
- 脚本linter-cli/runtime/compiler/declarations/span.d.ts17.0 KB
- 脚本linter-cli/runtime/compiler/declarations/stack.d.ts6.5 KB
- 脚本linter-cli/runtime/compiler/declarations/state_management.d.ts4.2 KB
- 脚本linter-cli/runtime/compiler/declarations/stepper_item.d.ts8.2 KB
- 脚本linter-cli/runtime/compiler/declarations/stepper.d.ts7.4 KB
- 脚本linter-cli/runtime/compiler/declarations/styled_string.d.ts59.9 KB
- 脚本linter-cli/runtime/compiler/declarations/swiper.d.ts78.0 KB
- 脚本linter-cli/runtime/compiler/declarations/symbol_span.d.ts8.3 KB
- 脚本linter-cli/runtime/compiler/declarations/symbolglyph.d.ts30.9 KB
- 脚本linter-cli/runtime/compiler/declarations/tab_content.d.ts39.3 KB
- 脚本linter-cli/runtime/compiler/declarations/tabs.d.ts62.3 KB
- 脚本linter-cli/runtime/compiler/declarations/text_area.d.ts68.1 KB
- 脚本linter-cli/runtime/compiler/declarations/text_clock.d.ts19.2 KB
- 脚本linter-cli/runtime/compiler/declarations/text_common.d.ts56.1 KB
- 脚本linter-cli/runtime/compiler/declarations/text_input.d.ts102.5 KB
- 脚本linter-cli/runtime/compiler/declarations/text_picker.d.ts62.0 KB
- 脚本linter-cli/runtime/compiler/declarations/text_timer.d.ts17.5 KB
- 脚本linter-cli/runtime/compiler/declarations/text.d.ts70.1 KB
- 脚本linter-cli/runtime/compiler/declarations/time_picker.d.ts29.8 KB
- 脚本linter-cli/runtime/compiler/declarations/toggle.d.ts14.1 KB
- 脚本linter-cli/runtime/compiler/declarations/toolbar.d.ts2.7 KB
- 脚本linter-cli/runtime/compiler/declarations/ui_extension_component.d.ts15.3 KB
- 脚本linter-cli/runtime/compiler/declarations/ui_picker_component.d.ts7.9 KB
- 脚本linter-cli/runtime/compiler/declarations/union_effect_container.d.ts3.5 KB
- 脚本linter-cli/runtime/compiler/declarations/units.d.ts73.6 KB
- 脚本linter-cli/runtime/compiler/declarations/video.d.ts36.4 KB
- 脚本linter-cli/runtime/compiler/declarations/water_flow.d.ts32.0 KB
- 脚本linter-cli/runtime/compiler/declarations/web.d.ts343.4 KB
- 脚本linter-cli/runtime/compiler/declarations/window_scene.d.ts2.5 KB
- 脚本linter-cli/runtime/compiler/declarations/with_theme.d.ts2.5 KB
- 脚本linter-cli/runtime/compiler/declarations/xcomponent.d.ts25.5 KB
- 参考文档linter-cli/runtime/compiler/form_components/badge.json55 B
- 参考文档linter-cli/runtime/compiler/form_components/blank.json101 B
- 参考文档linter-cli/runtime/compiler/form_components/button.json142 B
- 参考文档linter-cli/runtime/compiler/form_components/canvas.json55 B
- 参考文档linter-cli/runtime/compiler/form_components/checkbox.json78 B
- 参考文档linter-cli/runtime/compiler/form_components/checkboxgroup.json86 B
- 参考文档linter-cli/runtime/compiler/form_components/circle.json40 B
- 参考文档linter-cli/runtime/compiler/form_components/column.json68 B
- 参考文档linter-cli/runtime/compiler/form_components/common_attrs.json1.8 KB
- 参考文档linter-cli/runtime/compiler/form_components/counter.json62 B
- 参考文档linter-cli/runtime/compiler/form_components/datapanel.json72 B
- 参考文档linter-cli/runtime/compiler/form_components/divider.json101 B
- 参考文档linter-cli/runtime/compiler/form_components/ellipse.json41 B
- 参考文档linter-cli/runtime/compiler/form_components/flex.json35 B
- 参考文档linter-cli/runtime/compiler/form_components/gauge.json120 B
- 参考文档linter-cli/runtime/compiler/form_components/grid_col.json129 B
- 参考文档linter-cli/runtime/compiler/form_components/grid_row.json103 B
- 参考文档linter-cli/runtime/compiler/form_components/image.json308 B
- 参考文档linter-cli/runtime/compiler/form_components/line.json84 B
- 参考文档linter-cli/runtime/compiler/form_components/list.json317 B
- 参考文档linter-cli/runtime/compiler/form_components/listItem.json105 B
- 参考文档linter-cli/runtime/compiler/form_components/loadingProgress.json71 B
- 参考文档linter-cli/runtime/compiler/form_components/marquee.json150 B
- 参考文档linter-cli/runtime/compiler/form_components/path.json71 B
- 参考文档linter-cli/runtime/compiler/form_components/polygon.json64 B
- 参考文档linter-cli/runtime/compiler/form_components/polyline.json65 B
- 参考文档linter-cli/runtime/compiler/form_components/progress.json90 B
- 参考文档linter-cli/runtime/compiler/form_components/qrcode.json63 B
- 参考文档linter-cli/runtime/compiler/form_components/radio.json75 B
03 SKILL.md 正文
ArkTS Retrieval Skill
Use this skill to find real ArkTS documentation quickly and return traceable references.
This skill is for retrieval. It does not default to running validation or execution tools automatically. In this copied package, prefer commands that work inside the package itself.
In the source repository, this skill lives under skills/arkts-skill/. This copied package is self-contained. Open cited markdown files under docs/ArkTS-Language-Guide/, docs/ArkTS-API-Reference/, or docs/linter/ when you need the original context.
What this skill covers
- Pure non-UI ArkTS syntax and language rules from
docs/ArkTS-Language-Guide/02-Basic-Syntax - ArkTS-specific syntax constraints and boundary cases summarized from
docs/linter/ArkTS_Syntax_Knowledge_From_Linter.md - Common-library usage from
docs/ArkTS-Language-Guide/03-Common-Library - OpenHarmony ArkTS API reference material from
docs/ArkTS-API-Reference/, including imports, parameters, return values, API versions, system capabilities, and error codes - Lightweight ArkTS lint workflow notes from
docs/linter/linter-cli.mdand the bundledlinter-cli/package - Concurrency, runtime, toolchain, migration, and related language-guide sections when the query clearly points there
- Snippet-level validation metadata derived from the repository's snippet framework
- Grounded references for pure non-UI
.etstopics inside this copied package, without assuming external validation tools are present
Required behavior
- Ground the answer in local repository sources, not in vague prior knowledge.
- Treat
docs/ArkTS-Language-Guide/as the primary source for normative language explanations,docs/ArkTS-API-Reference/as the primary source for API/module/member details, anddocs/linter/ArkTS_Syntax_Knowledge_From_Linter.mdas implementation-derived evidence for ArkTS-specific restrictions and edge cases. - Prefer pure non-UI and validation-backed references when multiple sections could fit.
- When a result comes from the linter summary, say that clearly instead of presenting it as official spec text. When a result comes from the API reference, do not treat its examples as pure non-UI snippet validation evidence.
- If the task mentions testing, validation, running, or debugging, add command hints as optional next steps rather than automatically executing them.
- If the first retrieval pass is weak, broaden to neighboring sections or adjacent categories before answering.
- If you still cannot find a grounded reference, say that clearly and name the searches you attempted.
- Return concise, useful citations by default:
- file path
- section path
- source kind
- short summary
- why the section matched
Retrieval workflow
- Run:
python3 scripts/search_docs.py --query "<user request>"
- Read the top results.
- Open the cited markdown file under
docs/ArkTS-Language-Guide/,docs/ArkTS-API-Reference/, ordocs/linter/if you need exact wording or more context. - Answer using the result structure below.
Prefer grouped_results when it is present. Treat results as the raw flat candidate list kept for compatibility and debugging.
Result structure
Use this format unless the user wants something else:
- Topic: <topic label>
- Reference: <path>
- Section: <section path>
- Source: <official-guide | openharmony-arkts-api | linter-summary>
- Why it matches: <one sentence>
- Guidance: <one or two sentences grounded in the doc>
- Next step: <optional command hint>
When to expand past the top result
Expand further when:
- the top result is from
04-Concurrency,05-Runtime, or07-Compilation-Toolchainbut the user question is still ambiguous - the top result is from
docs/ArkTS-API-Reference/but the user is asking about ArkTS syntax restrictions rather than API signatures or module behavior - the top result is from
docs/linter/ArkTS_Syntax_Knowledge_From_Linter.mdand you still need an official guide section for broader context grouped_resultsmixes only one source kind and the question looks restriction-heavy or diagnostic- the result has
verification_level = doc_only - the user needs runnable or compile-checkable examples
- multiple syntax rules interact, such as classes plus generics, or enums plus control flow
Validation follow-ups
This copied package bundles linter-cli/, so you may suggest local lightweight lint commands from this directory when validation or diagnostics are relevant.
Before first use, install its runtime dependencies inside linter-cli/.
This package still does not bundle arkts-cli or tools/snippets_cli.py, so do not suggest those as local commands here.
Preferred local lint command:
cd linter-cli && npm install && npm run install-runtime-deps
cd linter-cli && node ./bin/linter-cli.js --input /abs/path/file.ets
Index assets
This skill relies on:
references/doc_index.jsonreferences/snippet_index.jsonreferences/cli_index.jsonreferences/topic_aliases.json
The indexed repository sources are:
docs/ArkTS-Language-Guide/**/*.mddocs/ArkTS-API-Reference/**/*.mddocs/linter/ArkTS_Syntax_Knowledge_From_Linter.md
This package is generated from the source repository. Rebuild it there with:
python3 tools/release_arkts_skill.py
04 同仓库更多 Skills
writing-for-agents
为 agent 撰写文档。当创建或编辑 skill、修改 AGENTS.md 或 CLAUDE.md 时使用。
wait-what
停。上一条消息没讲明白:换个说法再讲一遍。
to-questionnaire
把你无法独自回答的决策转化成一份问卷,交给别人填写。
teach
在当前工作区内,教会用户一项新 skill 或概念。
handoff
把当前对话压缩成一份交接(handoff)文档,供另一个代理接手。
grilling
就一个计划、决策或想法对用户进行无情的访谈。当用户想压力测试自己的思路,或使用任何 'grill' 触发短语时使用。