|
8 | 8 |
|
9 | 9 | ### The largest HarmonyOS knowledge pack for AI coding — make 11+ AI tools actually write ArkTS |
10 | 10 |
|
11 | | -*4,425 lines of battle-tested knowledge · 241 sections · 105+ code examples · production baseline API 24, tracking HarmonyOS 7 / API 26 Beta1* |
| 11 | +*4,435 lines of battle-tested knowledge · 242 sections · 105+ code examples · production baseline API 24, tracking HarmonyOS 7 / API 26 Beta1* |
12 | 12 |
|
13 | 13 | [](./LICENSE) |
14 | 14 | [](https://developer.huawei.com/consumer/cn/) |
@@ -117,7 +117,7 @@ A skill is a chunk of domain knowledge (in Markdown) that an AI coding tool load |
117 | 117 | <img src="./assets/en/knowledge-map.svg" alt="Knowledge architecture" width="100%"/> |
118 | 118 | </div> |
119 | 119 |
|
120 | | -The skill teaches the AI everything needed to read, write, review, and debug HarmonyOS NEXT native apps (**4,425 lines of dense, actionable knowledge, 241 sections, 105+ code examples**): |
| 120 | +The skill teaches the AI everything needed to read, write, review, and debug HarmonyOS NEXT native apps (**4,435 lines of dense, actionable knowledge, 242 sections, 105+ code examples**): |
121 | 121 |
|
122 | 122 | - **Language & framework** — ArkTS strictness rules, naming conventions, 13 high-performance coding rules (const, TypedArrays, HashMap, lazy import, etc.), coding style guide |
123 | 123 | - **App architecture** — Stage model: UIAbility, ExtensionAbility, AbilityStage, WindowStage lifecycles; module.json5 / app.json5 configuration |
@@ -608,7 +608,7 @@ After editing the source file, run `./scripts/build-dist.sh` to regenerate every |
608 | 608 | - For paste-based tools (ChatGPT, DeepSeek, …), the system prompt is per-conversation; start a **new chat** after pasting. |
609 | 609 |
|
610 | 610 | **Rule file is too long for the tool's context limit.** |
611 | | -Unlikely — `SKILL.md` is ~4200 lines (~150 KB). All major AI tools (Claude/GPT-4/Gemini etc.) accept it. If you hit a limit (e.g. some local small models), trim sections from `dist/plain/harmonyos-knowledge.md` manually. |
| 611 | +Unlikely — `SKILL.md` is ~4400 lines (~150 KB). All major AI tools (Claude/GPT-4/Gemini etc.) accept it. If you hit a limit (e.g. some local small models), trim sections from `dist/plain/harmonyos-knowledge.md` manually. |
612 | 612 |
|
613 | 613 | **`curl` fails with 404.** |
614 | 614 | The branch in the URL may have moved. Check `https://github.com/DengShiyingA/harmonyos-ai-skill/branches` and update `$RAW` accordingly. |
|
0 commit comments