ohos-react-native-performance
OpenHarmony React Native performance static checks and optimization.
Setup & Installation
Install command
clawhub install code-sunbo/ohos-react-native-performanceIf the CLI is not installed:
Install command
npx clawhub@latest install code-sunbo/ohos-react-native-performanceOr install with OpenClaw CLI:
Install command
openclaw skills install code-sunbo/ohos-react-native-performanceor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/code-sunbo/ohos-react-native-performanceWhat This Skill Does
Static-check rules for React Native on OpenHarmony (RNOH), derived from the official ohos_react_native performance-optimization documentation. Covers render optimization, bundle configuration, RNAbility lifecycle, TurboModule threading, and list performance. Rules are categorized by priority from critical render issues to medium-impact list handling.
General React Native performance guides don't cover OpenHarmony-specific concerns like bundle-harmony, HBC compilation, BiSheng compiler options, or RNAbility lifecycle, so this skill fills that gap without requiring manual doc lookup.
When to Use It
- Reviewing RNOH code for unnecessary re-renders before a release
- Configuring Hermes bytecode and Release builds for a production bundle
- Auditing TurboModule implementations to ensure heavy work runs on worker threads
- Checking RNAbility lifecycle hooks are wired to onPageShow/onPageHide correctly
- Enforcing stable list keys across a team codebase via code review rules
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Reviewing RNOH code for unnecessary re-renders before a release
- 1Reviewing RNOH code for unnecessary re-renders before a release
- 2Configuring Hermes bytecode and Release builds for a production bundle
- 3Auditing TurboModule implementations to ensure heavy work runs on worker threads
- 4Checking RNAbility lifecycle hooks are wired to onPageShow/onPageHide correctly
- 5Enforcing stable list keys across a team codebase via code review rules
OpenHarmony React Native performance static checks and optimization.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.