react-native-best-practices

react-native-best-practices is a skill for Claude Code from avanturer/claude-bestpractice. It costs 47 tokens per session (3,073 once invoked), scanned A, a copy of react-native-best-practices, MIT.

A set of performance guidelines for React Native, a framework for building mobile apps with JavaScript and native iOS or Android components. It covers screen speed, startup time, app size, memory use, rendering, and animations.

In plain words
What is it for?
Use it when profiling React Native apps, investigating memory leaks or slow animations, reducing startup or bundle size, writing native modules, or reviewing mobile performance code.
Why use it?
It helps identify why a mobile screen feels slow, stutters, uses too much memory, or takes too long to start. It emphasizes measuring before changing code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mobile plugin — 2 skills shipped together

Good fit Use it when profiling React Native apps, investigating memory leaks or slow animations, reducing startup or bundle size, writing native modules, or reviewing mobile performance code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avanturer/claude-bestpractice/react-native-best-practices
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add avanturer/claude-bestpractice --skill react-native-best-practices
Clone the repo
git clone --depth 1 https://github.com/avanturer/claude-bestpractice

Made for: Claude Code.

Or install mobile, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-native-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/avanturer/claude-bestpractice/react-native-best-practices/github.svg)](https://agentmods.dev/skills/avanturer/claude-bestpractice/react-native-best-practices)
Your own site
<a href="https://agentmods.dev/skills/avanturer/claude-bestpractice/react-native-best-practices"><img src="https://agentmods.dev/badge/skills/avanturer/claude-bestpractice/react-native-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-native-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/avanturer/claude-bestpractice/react-native-best-practices"><img src="https://agentmods.dev/badge/skills/avanturer/claude-bestpractice/react-native-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,073 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.03073
Opus 5.5 $0.00019 $0.01229
Sonnet 5.5 $0.00009 $0.00615
Haiku 4.5 $0.00005 $0.00307

Measured yesterday against content hash a1f5a0e54763, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-native-best-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to react-native-best-practices — 13 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packs/mobile/skills/react-native-best-practices/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Before following this here

Measure before changing anything. A dependency suggested below (FlashList, the React Compiler, a native module) can change the native runtime: in a project that ships over-the-air updates it goes out only in a store build. The project's own release and design rules win over anything below.

React Native Best Practices

Overview

Performance optimization guide for React Native applications, covering JavaScript/React, Native (iOS/Android), and bundling optimizations. Based on Callstack's "Ultimate Guide to React Native Optimization".

When to Apply

Reference these guidelines when:

  • Debugging slow/janky UI or animations
  • Investigating memory leaks (JS or native)
  • Optimizing app startup time (TTI)
  • Reducing bundle or app size
  • Writing native modules (Turbo Modules)
  • Profiling React Native performance
  • Reviewing React Native code for performance

Security Notes

  • Treat shell commands in these references as local developer operations. Review them before running, prefer version-pinned tooling, and avoid piping remote scripts directly to a shell.
  • Treat third-party libraries and plugins as dependencies that still require normal supply-chain controls: pin versions, verify provenance, and update through your standard review process.
  • Treat remote chunk loading as first-party artifact delivery only. Prefer app-bundled chunks or signed CI release manifests; hosted chunks must come from trusted HTTPS origins you control and be pinned to the current app release.

Priority-Ordered Guidelines

Priority Category Impact Prefix
1 FPS & Re-renders CRITICAL js-*
2 Bundle Size CRITICAL bundle-*
3 TTI Optimization HIGH native-*, bundle-*
4 Native Performance HIGH native-*
5 Memory Management MEDIUM-HIGH js-*, native-*
6 Animations MEDIUM js-*

Impact labels are triage hints: CRITICAL first, HIGH next, MEDIUM when evidence points there.

Read the full file on GitHub · 248 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +47 tokens per session a1f5a0e54763
  2. 15d ago First seen · 248 lines · 0 tokens per session scan A 4114ec3b7b74

Subscribe to this mod's changes

react-native-best-practices is a skill published in the GitHub repository avanturer/claude-bestpractice (2 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 3,073 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to react-native-best-practices, differing in 13 lines, and is treated as a copy.

Related

react-native-best-practices compared with skills from other repositories

react-native-best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-native-best-practicesavanturer/claude-bestpracticeSkill2yesterdayMITA47Claude Code
mobile-ios-designHigorAlves/orcSkill72d agoMITA16Claude Code
orc-mobile-ios-designHigorAlves/orcSkill72d agoMITA17Codex
nativexiaobei930/cc-bestSkill505mo agoMITA29Claude Code
swiftui-best-practicesHigorAlves/orcSkill72d agoMITA26Claude Code
weekly-digeststhedotmack/claude-memSkill121ktodayApache-2.0A93Claude Code
releasethedotmack/claude-memSkill121ktodayApache-2.0A13Claude Code