arkts-sta-playground

Official

Run ArkTS-Sta snippets via HTTP API.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the need to quickly validate ArkTS-Sta syntax and behavior without setting up a full build or browser-based tooling.

Core Features & Use Cases

  • Fast ArkTS-Sta execution: Sends code to the ArkTS-Sta Playground compile endpoint and returns compilation/execution results.
  • File or inline code testing: Runs a local .ets file or a provided code string for rapid iteration.
  • Programmatic outputs: Produces JSON-formatted results suitable for tooling and automated checks.

Use cases include testing language features, verifying small logic snippets, and quickly diagnosing compile errors before integrating into a project.

Quick Start

Run an .ets file by instructing the assistant to execute: python3 scripts/run_playground.py path/to/code.ets

Dependency Matrix

Required Modules

requests>=2.31.0

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: arkts-sta-playground
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#arkts-sta-playground

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.