โ† All skills
Tencent SkillHub ยท Developer Tools

OpenHarmony React Native Performance

OpenHarmony React Native performance static checks and optimization. Based on ohos_react_native performance doc. Use when writing or reviewing React Native for OpenHarmony code, bundle-harmony, lifecycle, or TurboModule. Applies to RNAbility, Hermes bytecode, React render optimization.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

OpenHarmony React Native performance static checks and optimization. Based on ohos_react_native performance doc. Use when writing or reviewing React Native for OpenHarmony code, bundle-harmony, lifecycle, or TurboModule. Applies to RNAbility, Hermes bytecode, React render optimization.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, rules/rnoh-bundle-release.md, rules/rnoh-lifecycle-foreground-background.md, rules/rnoh-list-key.md, rules/rnoh-render-avoid-same-state.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 10 sections Open source page

OpenHarmony React Native Performance Static Check Skills

Static-check rules and config for React Native for OpenHarmony, from the official performance-optimization doc. This skill is English-only to reduce token usage; Chinese content is available via links below.

When to Apply

Use this skill when: Writing or reviewing React Native for OpenHarmony (RNOH) application code or OpenHarmony project configuration Optimizing React Native page rendering, setState, or list performance Configuring bundle-harmony build, Hermes bytecode, or Release build Integrating or reviewing RNAbility lifecycle (onForeground/onBackground) Designing or implementing TurboModule (main vs worker thread) Preparing for performance analysis with Trace, React Marker, FCP, etc.

Rule Categories by Priority

PriorityCategoryImpactPrefix1Render optimizationCRITICALrnoh-render-2Bundle & nativeHIGHrnoh-bundle-, rnoh-native-3Lifecycle & monitorHIGHrnoh-lifecycle-4TurboModuleMEDIUMrnoh-turbo-5List & keyMEDIUMrnoh-list-

1. Render optimization (CRITICAL)

rnoh-render-avoid-same-state โ€” Avoid setState when state unchanged to prevent extra renders rnoh-render-pure-memo โ€” Use PureComponent or React.memo to avoid unnecessary re-renders rnoh-render-props-once โ€” Create callbacks/prop objects once (constructor or outside component) rnoh-render-split-child โ€” Split independent UI into child components rnoh-render-merge-setstate โ€” Merge setState to avoid multiple commits and renders rnoh-render-state-not-mutate โ€” Use new objects in setState; do not mutate existing state rnoh-render-batching โ€” Keep React 18 Automatic Batching enabled (RNOH default concurrentRoot: true)

2. Bundle & native config (HIGH)

rnoh-bundle-release โ€” Use --dev=false --minify=true for performance/production bundle rnoh-bundle-hbc โ€” Prefer Hermes bytecode (hermesc) for production rnoh-native-release โ€” Use Release build on native side; lower LOG_VERBOSITY_LEVEL when appropriate rnoh-native-bisheng โ€” Optionally use BiSheng compiler (buildOption.nativeCompiler: "BiSheng")

3. Lifecycle & monitoring (HIGH)

rnoh-lifecycle-foreground-background โ€” Call onForeground/onBackground in onPageShow/onPageHide or onShown/onHidden rnoh-lifecycle-fcp โ€” First-frame monitoring: use mount event or root onLayout to report FCP

4. TurboModule (MEDIUM)

rnoh-turbo-worker โ€” Run heavy TurboModules (JSON, crypto, image, network, I/O) on worker thread; avoid ImageLoader on worker

5. List & key (MEDIUM)

rnoh-list-key โ€” Provide stable keys for list items; avoid using index as key

How to Use

Static checks: Apply the rules above in code review or scripts (JS/TS and config). Details and examples: See the corresponding rule files under rules/ (e.g. rules/rnoh-render-pure-memo.md). Full doc: Performance optimization (en).

Relation to general React Native skills

This skill focuses on OpenHarmony-specific React Native performance (RNAbility, bundle-harmony, HBC, TurboModule worker, Trace/React Marker). It complements vercel-react-native-skills and react-native-best-practices: list virtualization (FlashList), Pressable, expo-image, StyleSheet, etc. still apply; this skill adds OpenHarmony-side config and render-optimization details.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
6 Docs
  • SKILL.md Primary doc
  • README.md Docs
  • rules/rnoh-bundle-release.md Docs
  • rules/rnoh-lifecycle-foreground-background.md Docs
  • rules/rnoh-list-key.md Docs
  • rules/rnoh-render-avoid-same-state.md Docs