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.
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.
npx skills add callstackincubator/agent-skills --skill react-native-best-practicesgit clone --depth 1 https://github.com/callstackincubator/agent-skillsWrote 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.
[](https://agentmods.dev/skills/callstackincubator/agent-skills/react-native-best-practices)<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.
<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>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
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]
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.
| Model | Per session | Once 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 |
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- react-native-best-practices — 94% identical, 13 lines differ
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
- 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.
- Optimize: Apply the targeted fix from the relevant reference
- Re-measure: Run the same measurement to get updated metrics
- Validate: Confirm improvement (e.g., FPS 45→60, TTI 3.2s→1.8s, bundle 2.1MB→1.6MB)
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.
- agents/openai.yaml 227 B
- POWER.md 8.1 KB
- references/bundle-analyze-app.md 5.3 KB
- references/bundle-analyze-js.md 6.9 KB
- references/bundle-barrel-exports.md 5.3 KB
- references/bundle-code-splitting.md 7.4 KB
- references/bundle-hermes-mmap.md 4.0 KB
- references/bundle-library-size.md 4.1 KB
- references/bundle-native-assets.md 4.9 KB
- references/bundle-r8-android.md 5.2 KB
- references/bundle-tree-shaking.md 5.6 KB
- references/images/bundle-treemap-source-map-explorer.png 652 KB
- references/images/controlled-textinput-pingpong.png 124 KB
- references/images/devtools-flamegraph.png 508 KB
- references/images/emerge-xray-ios.png 429 KB
- references/images/expo-atlas-treemap.png 604 KB
- references/images/flashlight-flatlist-vs-flashlist.png 306 KB
- references/images/fps-drop-graph.png 149 KB
- references/images/memory-heap-snapshot.png 301 KB
- references/images/tti-warm-start-diagram.png 124 KB
- references/images/view-hierarchy-flattening.png 2526 KB
- references/images/xcode-instruments-templates.png 399 KB
- references/images/xcode-thread-view.png 174 KB
- references/js-animations-reanimated.md 7.8 KB
- references/js-atomic-state.md 5.1 KB
- references/js-bottomsheet.md 12 KB
- references/js-concurrent-react.md 6.5 KB
- references/js-lists-flatlist-flashlist.md 5.9 KB
- references/js-measure-fps.md 5.2 KB
- references/js-memory-leaks.md 5.2 KB
- references/js-profile-react.md 5.7 KB
- references/js-react-compiler.md 7.2 KB
- references/js-uncontrolled-components.md 5.4 KB
- references/native-android-16kb-alignment.md 3.7 KB
- references/native-measure-tti.md 6.4 KB
- references/native-memory-leaks.md 5.5 KB
- references/native-memory-patterns.md 5.8 KB
- references/native-platform-setup.md 3.7 KB
- references/native-profiling.md 4.3 KB
- references/native-sdks-over-polyfills.md 6.1 KB
- references/native-threading-model.md 6.7 KB
- references/native-turbo-modules.md 5.5 KB
- references/native-view-flattening.md 5.1 KB
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.
- 3mo ago First seen · 239 lines · 60 tokens per session scan A abdbb7fc34ad
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.
react-native-best-practices compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-native-best-practicescallstackincubator/agent-skills | Skill | 1.7k | 1mo ago | MIT | A | 60 | Codex |
| orca-emulator-androidstablyai/orca | Skill | 145k | today | MIT | A | 102 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 56 | Claude Code |
| android-tombstone-symbolicationdotnet/skills | Skill | 6.4k | yesterday | MIT | A | 176 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| winapp-mauimicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 68 | Claude Code |
| flutter-devMiniMax-AI/skills | Skill | 14k | 20d ago | MIT | A | 83 | Claude Code |