react-native-best-practices

react-native-best-practices is a skill for Codex from callstackincubator/agent-skills. It costs 60 tokens per session (2,944 once invoked), scanned A, original, MIT.

A performance guide for React Native, the framework for building mobile apps with JavaScript and React.

In plain words
What is it for?
Use it to review or improve JavaScript and native code, animations, startup time, memory use, bundle size, and native modules.
Why use it?
It helps diagnose slow screens, dropped animation frames, long startup times, memory leaks, and unnecessarily large app bundles.

Skill for Codex

Written for Codex: agents/openai.yaml present.

not rated 1.7krepo +3 1mo ago A scan Socket: passSnyk: passSkillSpector: warn 60 tokens original MIT

Good fit Use it to review or improve JavaScript and native code, animations, startup time, memory use, bundle size, and native modules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/callstackincubator/agent-skills/react-native-best-practices
About the project

Callstack Agent Skills is a collection of instructions that gives AI coding assistants practical knowledge for building React Native applications. Developers use it for app development, performance, navigation, testing, CI, device automation, and migrations to React Native. The catalogue entries are the project's skills, rules, and instructions for compatible coding assistants.

callstackincubator/agent-skills · 1,723 stars · on GitHub

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 callstackincubator/agent-skills --skill react-native-best-practices
Clone the repo
git clone --depth 1 https://github.com/callstackincubator/agent-skills

Made for: Codex.

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/callstackincubator/agent-skills/react-native-best-practices/github.svg)](https://agentmods.dev/skills/callstackincubator/agent-skills/react-native-best-practices)
Your own site
<a href="https://agentmods.dev/skills/callstackincubator/agent-skills/react-native-best-practices"><img src="https://agentmods.dev/badge/skills/callstackincubator/agent-skills/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/callstackincubator/agent-skills/react-native-best-practices"><img src="https://agentmods.dev/badge/skills/callstackincubator/agent-skills/react-native-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,944 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. Third-party audits
  • Socket pass 14 Sept 2026
  • Snyk pass 14 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 92
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 108
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 99
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found 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.00060 $0.02944
Opus 5.5 $0.00024 $0.01178
Sonnet 5.5 $0.00012 $0.00589
Haiku 4.5 $0.00006 $0.00294

Measured 3mo ago against content hash abdbb7fc34ad, 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 3mo ago.

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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/react-native-best-practices/SKILL.md · 239 lines

How it starts

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

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.

Quick Reference

Optimization Workflow

Follow this cycle for any performance issue: Measure → Optimize → Re-measure → Validate

  1. Measure: Capture baseline metrics before changes. For runtime issues, prefer commit timeline, re-render counts, slow components, heaviest-commit breakdown, and startup/TTI when available. Component tree depth or count are optional context, not substitutes. Do not recommend memoization, atomic state, or compiler changes without a measured render or FPS problem.
  2. Optimize: Apply the targeted fix from the relevant reference
  3. Re-measure: Run the same measurement to get updated metrics
  4. Validate: Confirm improvement (e.g., FPS 45→60, TTI 3.2s→1.8s, bundle 2.1MB→1.6MB)

Read the full file on GitHub · 239 lines

Files

What ships with it

43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 239 lines · 60 tokens per session scan A abdbb7fc34ad

Subscribe to this mod's changes

react-native-best-practices is a skill published in the GitHub repository callstackincubator/agent-skills (1,723 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 2,944 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

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-practicescallstackincubator/agent-skillsSkill1.7k1mo agoMITA60Codex
orca-emulator-androidstablyai/orcaSkill145ktodayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4kyesterdayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code
flutter-devMiniMax-AI/skillsSkill14k20d agoMITA83Claude Code