Search

PythonReactSEOPDF
OpenClaw

ohos-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.

code-sunbo0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install code-sunbo/ohos-react-native-performance

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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

Priority Category Impact Prefix
1 Render optimization CRITICAL rnoh-render-
2 Bundle & native HIGH rnoh-bundle-, rnoh-native-
3 Lifecycle & monitor HIGH rnoh-lifecycle-
4 TurboModule MEDIUM rnoh-turbo-
5 List & key MEDIUM rnoh-list-

Quick Reference

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...

Source information

Source
github
Repository
openclaw/skills
Path
skills/code-sunbo/ohos-react-native-performance
Version
—
Commit
6f7ca9c837beb6162da00067372598a5824df14f
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

ohos-react-native-performance

OpenHarmony React Native performance static-check agent skill for the static analysis tool. For use by any agent that supports skills.

Source

Usage

npx skills add

If your agent supports skills.sh, install from the homecheck repo:

# From homecheck repo (GitCode)
npx skills add https://gitcode.com/openharmony-sig/homecheck --skill ohos-react-native-performance

# Or if shorthand is supported for your git host
# npx skills add openharmony-sig/homecheck --skill ohos-react-native-performance
Common agent installation
Agent Command / Path
skills.sh npx skills add <source> --skill ohos-react-native-performance
Claude Code Copy to agent skills dir, or use npx skills add
VS Code / Copilot Copy to configured skills path, or use npx ai-agent-skills install
Manual Copy this folder into your agent's skills directory

Structure

ohos-react-native-performance/
├── README.md
├── SKILL.md
└── rules/
    ├── rnoh-render-avoid-same-state.md
    ├── rnoh-render-pure-memo.md
    ├── rnoh-render-props-once.md
    ├── rnoh-render-merge-setstate.md
    ├── rnoh-list-key.md
    ├── rnoh-bundle-release.md
    ├── rnoh-lifecycle-foreground-background.md
    └── rnoh-turbo-worker.md

Extracted content

SKILL.md
# OpenHarmony React Native Performance Static Check Skills

Static-check rules and config for React Native for OpenHarmony, from the official [performance-optimization](https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/en/performance-optimization.md) 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

| Priority | Category            | Impact   | Prefix                    |
| -------- | ------------------- | -------- | ------------------------- |
| 1        | Render optimization | CRITICAL | `rnoh-render-`              |
| 2        | Bundle & native     | HIGH     | `rnoh-bundle-`, `rnoh-native-` |
| 3        | Lifecycle & monitor | HIGH     | `rnoh-lifecycle-`           |
| 4        | TurboModule         | MEDIUM   | `rnoh-turbo-`               |
| 5        | List & key          | MEDIUM   | `rnoh-list-`                |

## Quick Reference

### 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...
README
# ohos-react-native-performance

OpenHarmony React Native performance static-check agent skill for the **static analysis** tool. For use by any agent that supports skills.

## Source

- **Official repo (this skill):** <https://gitcode.com/openharmony-sig/homecheck> — path `skills/ohos-react-native-performance/`.
- **Content source (performance docs):** [performance-optimization (en)](https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/en/performance-optimization.md) · [性能调优 (zh)](https://gitcode.com/openharmony-sig/ohos_react_native/blob/master/docs/zh-cn/性能调优.md)


## Usage

### npx skills add

If your agent supports [skills.sh](https://skills.sh/), install from the homecheck repo:

```bash
# From homecheck repo (GitCode)
npx skills add https://gitcode.com/openharmony-sig/homecheck --skill ohos-react-native-performance

# Or if shorthand is supported for your git host
# npx skills add openharmony-sig/homecheck --skill ohos-react-native-performance
```

### Common agent installation

| Agent | Command / Path |
|-------|----------------|
| **skills.sh** | `npx skills add <source> --skill ohos-react-native-performance` |
| **Claude Code** | Copy to agent skills dir, or use `npx skills add` |
| **VS Code / Copilot** | Copy to configured skills path, or use `npx ai-agent-skills install` |
| **Manual** | Copy this folder into your agent's skills directory |

## Structure

```
ohos-react-native-performance/
├── README.md
├── SKILL.md
└── rules/
    ├── rnoh-render-avoid-same-state.md
    ├── rnoh-render-pure-memo.md
    ├── rnoh-render-props-once.md
    ├── rnoh-render-merge-setstate.md
    ├── rnoh-list-key.md
    ├── rnoh-bundle-release.md
    ├── rnoh-lifecycle-foreground-background.md
    └── rnoh-turbo-worker.md
```

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

parakeet-stt

carlulsoe

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...

OpenClaw

feishu-process-feedback

carlzhao007

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...