Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Hmos Arkts Knowledge Retriever

ASecurity

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 memo...

2 stars
0 votes
0 copies
0 views
Added 9/22/2026
documentationpythonrustgobashnodetestingdebuggingapidocumentation

Works with

cliapi

Security Analysis

A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add IsKenKenYa/skills --skill hmos-arkts-knowledge-retriever --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hmos Arkts Knowledge Retriever?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Hmos Arkts Knowledge Retriever
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iskenkenya-hmos-arkts-knowledge-retriever/badge)](https://www.skillsdirectory.com/skills/iskenkenya-hmos-arkts-knowledge-retriever)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
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.
---

# 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.md` and the bundled `linter-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 `.ets` topics inside this copied package, without assuming external validation tools are present

## Required behavior

1. Ground the answer in local repository sources, not in vague prior knowledge.
2. 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, and `docs/linter/ArkTS_Syntax_Knowledge_From_Linter.md` as implementation-derived evidence for ArkTS-specific restrictions and edge cases.
3. Prefer pure non-UI and validation-backed references when multiple sections could fit.
4. 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.
5. If the task mentions testing, validation, running, or debugging, add command hints as optional next steps rather than automatically executing them.
6. If the first retrieval pass is weak, broaden to neighboring sections or adjacent categories before answering.
7. If you still cannot find a grounded reference, say that clearly and name the searches you attempted.
8. Return concise, useful citations by default:
   - file path
   - section path
   - source kind
   - short summary
   - why the section matched

## Retrieval workflow

1. Run:

```bash
python3 scripts/search_docs.py --query "<user request>"
```

2. Read the top results.
3. Open the cited markdown file under `docs/ArkTS-Language-Guide/`, `docs/ArkTS-API-Reference/`, or `docs/linter/` if you need exact wording or more context.
4. 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:

```markdown
- 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`, or `07-Compilation-Toolchain` but 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.md` and you still need an official guide section for broader context
- `grouped_results` mixes 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:

```bash
cd linter-cli && npm install && npm run install-runtime-deps
```

```bash
cd linter-cli && node ./bin/linter-cli.js --input /abs/path/file.ets
```

## Index assets

This skill relies on:

- `references/doc_index.json`
- `references/snippet_index.json`
- `references/cli_index.json`
- `references/topic_aliases.json`

The indexed repository sources are:

- `docs/ArkTS-Language-Guide/**/*.md`
- `docs/ArkTS-API-Reference/**/*.md`
- `docs/linter/ArkTS_Syntax_Knowledge_From_Linter.md`

This package is generated from the source repository. Rebuild it there with:

```bash
python3 tools/release_arkts_skill.py
```

Attribution

IsKenKenYaIsKenKenYa
View sourceMore from IsKenKenYa →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Context Fundamentals

Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.

179001 votes

release-notes

Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.

1301 votes

docs-style-guide

Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.

11 votes

Caveman Help

Quick-reference card for caveman modes, skills and commands. Trigger: /caveman-help or "caveman help".

1066600 votes

How It Works

Explain how claude-mem captures observations, when memory injection kicks in, and where data lives. Use when the user asks "how does claude-mem work?" or "what is this thing doing?".

942310 votes
View all in documentation →