openharmony-arkts-utils

Look up ArkTS utility APIs and usage patterns from refs/ markdown docs.

1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/mengfei0053/skills --skill openharmony-arkts-utils
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openharmony-arkts-utils
Source: https://github.com/mengfei0053/skills/tree/main/skills/openharmony-arkts-utils
Command: npx skills add https://github.com/mengfei0053/skills --skill openharmony-arkts-utils

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a concise, English guide to ArkTS utilities and OpenHarmony docs, enabling developers to quickly locate APIs and usage patterns for ArkTS concurrency, Sendable, containers, XML, JSON, and runtime features.

Core Features & Use Cases

  • Comprehensive quick-reference for ArkTS utilities including TaskPool, Worker, Sendable, and container APIs.
  • Use cases demonstrating cross-thread data sharing, asynchronous programming, and XML/JSON handling with practical examples.
  • Immediate lookup for API signatures using the included refs/ documentation.

Quick Start

Inspect the included refs/ markdown docs (refs/taskpool.md, refs/worker.md, refs/collections.md, refs/utils.md, refs/buffer.md, refs/xml.md, refs/containers.md, refs/error-codes.md) to rapidly discover API usage and examples.

Frequently Asked Questions about openharmony-arkts-utils

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use TaskPool and Worker for asynchronous programming in ArkTS?

To use TaskPool and Worker for asynchronous programming in ArkTS, you can reference the included markdown documentation for API signatures and cross-thread data sharing patterns. These docs provide quick lookup examples for managing concurrency within OpenHarmony.

What is the best way to handle JSON and XML parsing in OpenHarmony?

The best way to handle JSON and XML parsing in OpenHarmony is by using the built-in ArkTS utility APIs. You can quickly locate the exact API signatures and practical usage examples for XML and JSON handling by checking the included refs/xml.md and refs/json.md reference docs.

Can I use Sendable for cross-thread data sharing in ArkTS?

Yes, you can use Sendable for cross-thread data sharing in ArkTS. The included documentation provides use cases and examples demonstrating how to transfer Sendable objects across threads, ensuring safe and efficient concurrency within your OpenHarmony applications.

Do I need any external tools to look up ArkTS container and collection APIs?

No, you do not need any external tools to look up ArkTS container and collection APIs. This quick-reference leverages included repository markdown docs like refs/containers.md and refs/collections.md, allowing you to rapidly discover API usage without external dependencies.

Where can I find error codes for ArkTS runtime features and utilities?

You can find error codes for ArkTS runtime features and utilities in the included refs/error-codes.md markdown documentation. It provides a concise guide to quickly locate runtime and utility API issues during your OpenHarmony development and debugging process.