Harmonyos Review logo

Harmonyos Review

Community
CoreyLyn
harmonyos-review

Review native HarmonyOS ArkTS and ArkUI repositories for concrete, source-evidenced defects in correctness, security, lifecycle and resource ownership, state management, concurrency, persistence, permissions, compatibility, and performance. Use for code review, bug hunting, release readiness, migration audits, or review of a diff, PR, module, or whole project. Report only findings demonstrated by reachable code and project configuration, with precise file and line references; use current official Huawei documentation for version-sensitive claims.

Overview

PublisherCoreyLyn
Repositoryharmonyos-skills
Skill nameharmonyos-review
Stars
32
Forks
2
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by CoreyLyn on GitHub. Read the source before you install it.

Installation

Install the Harmonyos Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/CoreyLyn/harmonyos-skills/tree/main/skills/harmonyos-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CoreyLyn/harmonyos-skills.git /tmp/harmonyos-skills
mkdir -p .claude/skills
cp -r /tmp/harmonyos-skills/skills/harmonyos-review .claude/skills/harmonyos-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Harmonyos Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Harmonyos Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Harmonyos Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

HarmonyOS Code Review

Find real defects, not checklist-shaped speculation. Repository code and configuration establish what the application does; official Huawei documentation establishes version-sensitive platform contracts.

1. Fix the review scope

  • Read repository instructions and inspect working-tree state before reviewing.
  • Determine the requested boundary: diff/PR, files, module, subsystem, or whole repository.
  • For change reviews, identify the exact base and inspect both the diff and affected call sites.
  • Read build-profile.json5, oh-package.json5, module.json5, and related configuration to establish SDK levels, application model, devices, permissions, dependencies, and build variants.
  • Do not modify code, create reports, assign grades, or estimate effort unless the user asks.

2. Map the relevant execution paths

Start broad, then follow evidence:

  • Locate entry points, lifecycle callbacks, state owners, async boundaries, persistence operations, file operations, permissions, event subscriptions, and external inputs.
  • Trace values and resources through callers and callees. Inspect cleanup, cancellation, retry, failure, and partial-success paths.
  • Check tests and docs for intended behavior, but do not treat them as proof that production code is safe.
  • Use focused searches to find candidates. A text match is a lead, never a finding.

Example reconnaissance commands:

powershell
rg -n --glob '*.ets' --glob '*.ts' 'eventHub\.(on|off)|emitter\.(on|off)|setInterval|setTimeout'
rg -n --glob '*.ets' 'ResultSet|relationalStore|executeSql|beginTransaction|commit|rollBack'
rg -n --glob '*.ets' 'requestPermissionsFromUser|checkAccessToken|canIUse'
rg -n --glob '*.ets' --glob '*.json5' '(password|secret|token|api[_-]?key)'
rg -n --glob '*.json5' 'compileSdkVersion|compatibleSdkVersion|targetSdkVersion|requestPermissions'

Adapt patterns to the repository. Exclude generated, dependency, build-output, fixture, and test-data directories when they create noise.

3. Analyze only applicable categories

Load references/checklist.md and select categories supported by the scope:

  • Correctness and error propagation
  • Security, privacy, and sensitive data
  • Lifecycle, resource ownership, and cancellation
  • V1/V2 state management and concurrent updates
  • RDB, Preferences, files, migration, and atomicity
  • Permissions, SysCaps, devices, and API compatibility
  • Network and external-input handling
  • Performance issues with a concrete expensive path
  • Tests covering changed or high-risk behavior

For platform-dependent claims, consult references/official-docs.md and verify against current official Huawei documentation. Do not hard-code “current” API versions or infer a requirement from another framework.

4. Prove each finding

A reportable finding needs all of the following:

  1. A precise source location.
  2. A reachable trigger or execution path.
  3. The incorrect behavior or violated project/platform contract.
  4. A concrete user, data, security, compatibility, or operational impact.
  5. Evidence that existing guards, cleanup, or callers do not already prevent it.

Before reporting, try to disprove the candidate:

  • Read the complete function and relevant callers/callees.
  • Check every success, error, cancellation, and teardown path.
  • Search for compensating validation or cleanup elsewhere.
  • Confirm the API/decorator/permission behavior for the project's actual SDK range.
  • Distinguish production code from examples, generated code, dead code, and test fixtures.

Do not report style preferences, arbitrary size limits, generic “could be” risks, or scanner matches without demonstrated impact.

5. Assign severity from impact

  • Critical: Exploitable security issue, irreversible data loss, or release-blocking failure on a core path.
  • High: Likely crash, corruption, security/privacy breach, or core-feature failure.
  • Medium: Real defect with narrower conditions, recoverable impact, or significant degradation.
  • Low: Minor concrete defect with limited impact; omit pure polish unless requested.

Severity reflects impact and likelihood, not fix difficulty.

6. Report findings first

Unless the user requests a repository document, respond in the conversation. Use references/report-template.md only when a full Markdown artifact is requested.

Order findings by severity. Each finding should contain:

  • [severity] concise title
  • path/to/file.ets:line
  • Trigger and evidence
  • Impact
  • Focused remediation
  • Official source when the finding depends on a HarmonyOS contract

If no findings meet the evidence bar, say so explicitly. Then note coverage gaps and unrun validation separately; do not inflate them into findings.

Exit criteria

  • Scope and SDK/device assumptions are explicit.
  • Every finding is source-evidenced and independently actionable.
  • Platform claims are checked against the project's version range.
  • Findings, open questions, and unverified risks are clearly separated.
  • Tests/builds run are reported accurately; unrun checks are not described as passed.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Harmonyos Review AI skill do?

Review native HarmonyOS ArkTS and ArkUI repositories for concrete, source-evidenced defects in correctness, security, lifecycle and resource ownership, state management, concurrency, persistence, permissions, compatibility, and performance. Use for code review, bug hunting, release readiness, migration audits, or review of a diff, PR, module, or whole project. Report only findings demonstrated by reachable code and project configuration, with precise file and line references; use current official Huawei documentation for version-sensitive claims.

Why use Harmonyos Review on TypingMind?

Because you install it once and use it with any model. Harmonyos Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Harmonyos Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/CoreyLyn/harmonyos-skills/tree/main/skills/harmonyos-review. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Harmonyos Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Harmonyos Review?

As many as you like. As long as a model supports skills, you can use Harmonyos Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Harmonyos Review AI skill free?

Yes. It is published on GitHub by CoreyLyn under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇