arkts-coding-standard — community arkts-coding-standard, app-StrayPet, community, ide skills

v1.0.0

About this Skill

Perfect for HarmonyOS Developers needing strict typing and performance optimizations in ArkTS code. Enforces ArkTS strict typing rules and coding standards. Invoke when writing, analyzing, or correcting ArkTS code for HarmonyOS to ensure compliance.

imansmallapple imansmallapple
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
33
Canonical Locale
en
Detected Body Locale
en

Perfect for HarmonyOS Developers needing strict typing and performance optimizations in ArkTS code. Enforces ArkTS strict typing rules and coding standards. Invoke when writing, analyzing, or correcting ArkTS code for HarmonyOS to ensure compliance.

Core Value

Empowers agents to enforce strict typing and performance optimizations in ArkTS code, utilizing guidelines for HarmonyOS development and validating against forbidden practices like Any/Unknown Types and Object Literal Types.

Ideal Agent Persona

Perfect for HarmonyOS Developers needing strict typing and performance optimizations in ArkTS code.

Capabilities Granted for arkts-coding-standard

Enforcing strict typing in ArkTS projects
Optimizing performance in HarmonyOS applications
Validating ArkTS code against discouraged practices

! Prerequisites & Limits

  • Requires ArkTS and HarmonyOS development environment
  • Limited to TypeScript-based projects

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is arkts-coding-standard?

Perfect for HarmonyOS Developers needing strict typing and performance optimizations in ArkTS code. Enforces ArkTS strict typing rules and coding standards. Invoke when writing, analyzing, or correcting ArkTS code for HarmonyOS to ensure compliance.

How do I install arkts-coding-standard?

Run the command: npx killer-skills add imansmallapple/app-StrayPet. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for arkts-coding-standard?

Key use cases include: Enforcing strict typing in ArkTS projects, Optimizing performance in HarmonyOS applications, Validating ArkTS code against discouraged practices.

Which IDEs are compatible with arkts-coding-standard?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for arkts-coding-standard?

Requires ArkTS and HarmonyOS development environment. Limited to TypeScript-based projects.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add imansmallapple/app-StrayPet. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use arkts-coding-standard immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

arkts-coding-standard

Install arkts-coding-standard, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

ArkTS Coding Standards

This skill provides guidelines and validation for writing correct ArkTS code, focusing on strict typing and performance optimizations required for HarmonyOS development.

❌ Illegal / Discouraged Practices

The following patterns are forbidden or highly discouraged in ArkTS:

  1. Any/Unknown Types:

    typescript
    1let x: any = 1; // ❌ Not allowed: `any` and `unknown` are forbidden.
  2. Object Literal Types:

    typescript
    1type Inline = { value: number }; // ❌ Don't declare object-literal-based types.
  3. Fresh Object Literals (Untyped):

    typescript
    1const bad: Inline = { value: 1 }; // ❌ Fresh object literal without declared class/interface instance.
  4. Runtime Shape Changes:

    typescript
    1bad.newProp = "later"; // ❌ Changing object shape (adding properties) at runtime is forbidden.
  5. Implicit Object Shapes:

    typescript
    1const obj = { 2 value: 1, 3 double() { 4 return this.value + this.value; // ❌ `this` in a non-method context is disallowed. 5 } 6}; // ❌ Even with an object literal, it must match an explicit class/interface.
  6. Type Mismatches:

    typescript
    1bad.value = "7"; // ❌ Assigning string to a number-typed field fails.
  7. Implicit Coercion:

    typescript
    1console.info(String(+bad.value)); // ❌ Unary `+` on a string for coercion is not permitted.

✅ Correct Practices

Use explicit types, classes, and safe conversions:

  1. Explicit Numeric Parsing:

    typescript
    1const s: string = "7"; 2// Use explicit parsing methods instead of unary + 3const n: number = Number.parseInt(s);
  2. Classes and Interfaces: Always define explicit classes or interfaces for your data structures.

    typescript
    1class Doubler { 2 value: number; 3 constructor(value: number) { 4 this.value = value; 5 } 6} 7 8let obj = new Doubler(n);

Summary of Rules

  • Static Typing: ArkTS is statically typed. Avoid dynamic features like any.
  • Fixed Layout: Object layout is fixed at compile time. You cannot add/remove properties at runtime.
  • Explicit Types: Define types explicitly using class or interface. Avoid anonymous object types.
  • Strict Safety: No implicit type coercion. Use standard library functions (e.g., Number.parseInt) for conversions.

Related Skills

Looking for an alternative to arkts-coding-standard or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer