شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها CoreyLyn على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Harmonyos Dev في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/CoreyLyn/harmonyos-skills/tree/main/skills/harmonyos-dev
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Harmonyos Dev في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Harmonyos Dev تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Harmonyos Dev بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Harmonyos Dev على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Harmonyos Dev عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Harmonyos Dev في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/CoreyLyn/harmonyos-skills/tree/main/skills/harmonyos-dev. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Harmonyos Dev؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Harmonyos Dev؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Harmonyos Dev معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Harmonyos Dev مجانية؟

نعم. نشرها CoreyLyn على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇