Harmonyos Devのロゴ

Harmonyos Dev

コミュニティ
CoreyLyn
harmonyos-dev

Develop, debug, refactor, or design native HarmonyOS applications with ArkTS, ArkUI, Stage model, and HarmonyOS Kits. Use for HarmonyOS feature implementation, UI and state-management work, device adaptation, permissions, networking, persistence, API migration, build failures, and architecture decisions. Inspect an existing project before choosing APIs, derive its SDK and device constraints from repository configuration, and verify version-sensitive guidance against current official Huawei documentation. Use harmonyos-review instead when the primary request is a code audit.

概要

公開者CoreyLyn
リポジトリharmonyos-skills
スキル名harmonyos-dev
スター
32
フォーク
2
同梱ファイル
7
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 7個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    CoreyLynがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルHarmonyos DevをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/CoreyLyn/harmonyos-skills/tree/main/skills/harmonyos-dev
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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-dev .claude/skills/harmonyos-dev
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHarmonyos Devを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にHarmonyos Devを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Harmonyos Devは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

HarmonyOS Development

Implement HarmonyOS work from repository evidence and current official documentation. Prefer a small verified change over a broad speculative rewrite.

Workflow

1. Establish project context

For an existing repository, inspect before asking questions:

  • Read repository instructions and the files relevant to the request.
  • Locate build-profile.json5, oh-package.json5, module.json5, app.json5, and module-level configuration.
  • Derive the compile/compatible/target SDK, Stage or FA model, device types, state-management generation, Kits, permissions, and build commands.
  • Search for nearby implementations and preserve established architecture unless the task requires changing it.

For a greenfield request, ask only for decisions that materially affect the result: target devices, minimum compatible API, application or atomic service, and required system capabilities. Do not invent a default API version or device type.

2. Verify version-sensitive facts

Use this source order:

  1. The repository's SDK configuration, generated types, compiler diagnostics, and installed SDK.
  2. Current Huawei API reference for signatures, availability, permissions, SysCaps, errors, and deprecation.
  3. Current Huawei development guides, release notes, best practices, and official samples.
  4. Local reference files in this skill as navigation and review checklists.

Treat local references as snapshots, not authority. Recheck any API name, signature, decorator constraint, permission, availability level, or lifecycle behavior before relying on it. If official material is unavailable, say what remains unverified and avoid presenting inference as fact.

When external research is needed, use an available documentation or browsing tool and restrict technical claims to official Huawei sources. Do not require a particular tool such as Context7.

3. Design the smallest coherent change

  • State the compatibility and device assumptions that affect the implementation.
  • Keep V1 and V2 state-management patterns consistent within a component boundary unless performing an explicit migration.
  • Check API-level, device, SysCap, permission, and application-form constraints before selecting a Kit API.
  • Plan ownership and cleanup for subscriptions, timers, network handles, ResultSet objects, files, controllers, and other resources.
  • Preserve error semantics. Handle BusinessError and rejected promises where the API contract requires it; do not silently swallow failures.
  • Prefer resources and adaptive layouts over hard-coded strings, colors, sizes, and single-device assumptions.

Load only the relevant reference:

4. Implement in repository style

  • Edit the existing seam rather than creating a parallel abstraction without evidence.
  • Keep ArkTS types explicit and compatible with the project's compiler rules.
  • Reuse project logging, error, dependency-injection, navigation, resource, and test conventions.
  • For API migrations, separate mechanical compatibility edits from behavior changes.
  • Do not change unrelated code or generated artifacts.

5. Verify

Run the narrowest relevant checks first, then broader checks when available:

  • Compile or build the affected module.
  • Run related unit, integration, UI, or Hvigor tests.
  • Inspect diagnostics for API compatibility and ArkTS constraints.
  • For UI work, verify the affected device classes, orientations, themes, font scaling, and empty/error/loading states that are in scope.
  • For lifecycle work, exercise creation, background/foreground, navigation away, and teardown paths where practical.

If a required environment, SDK, device, account, or service is unavailable, report the exact unverified boundary. Never describe an unrun check as passed.

Source and response policy

Cite official Huawei documentation for material version-sensitive claims or when the user asks for sources. Put citations next to the supported claim. Do not add decorative quotations or claim that local examples are official requirements.

For implementation tasks, finish with:

  • What changed and where.
  • Compatibility assumptions.
  • Verification run and its result.
  • Remaining unverified items or risks.

For explanation-only requests, answer directly; do not mutate the repository unless asked.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Harmonyos Dev」では何ができますか?

Develop, debug, refactor, or design native HarmonyOS applications with ArkTS, ArkUI, Stage model, and HarmonyOS Kits. Use for HarmonyOS feature implementation, UI and state-management work, device adaptation, permissions, networking, persistence, API migration, build failures, and architecture decisions. Inspect an existing project before choosing APIs, derive its SDK and device constraints from repository configuration, and verify version-sensitive guidance against current official Huawei documentation. Use harmonyos-review instead when the primary request is a code audit.

TypingMindでHarmonyos Devを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Harmonyos Devはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHarmonyos Devをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/CoreyLyn/harmonyos-skills/tree/main/skills/harmonyos-devを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Harmonyos Devを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Harmonyos Devは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHarmonyos Devを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Harmonyos Dev」は無料ですか?

はい。CoreyLynがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇