# Send OpenHarmony React Native Performance to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
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

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ohos-react-native-performance",
    "name": "OpenHarmony React Native Performance",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/code-sunbo/ohos-react-native-performance",
    "canonicalUrl": "https://clawhub.ai/code-sunbo/ohos-react-native-performance",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ohos-react-native-performance",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ohos-react-native-performance",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "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"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ohos-react-native-performance",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T13:48:53.572Z",
      "expiresAt": "2026-05-13T13:48:53.572Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ohos-react-native-performance",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ohos-react-native-performance",
        "contentDisposition": "attachment; filename=\"ohos-react-native-performance-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ohos-react-native-performance"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ohos-react-native-performance"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ohos-react-native-performance",
    "downloadUrl": "https://openagent3.xyz/downloads/ohos-react-native-performance",
    "agentUrl": "https://openagent3.xyz/skills/ohos-react-native-performance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ohos-react-native-performance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ohos-react-native-performance/agent.md"
  }
}
```
## Documentation

### 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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: code-sunbo
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T13:48:53.572Z
- Expires at: 2026-05-13T13:48:53.572Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ohos-react-native-performance)
- [Send to Agent page](https://openagent3.xyz/skills/ohos-react-native-performance/agent)
- [JSON manifest](https://openagent3.xyz/skills/ohos-react-native-performance/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ohos-react-native-performance/agent.md)
- [Download page](https://openagent3.xyz/downloads/ohos-react-native-performance)