react-native-performance
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
React Native and Expo performance guidance for FE Dev. Use for slow screens, large lists, image-heavy UI, animations, startup time, memory pressure, expensive renders, bridge/native-module overhead, or performance review of React Native code.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- swadhinbiswas/SKILLStheir own version, first seen Nov 22, 2026
- maikotrindade/awesome-react-native-skillstheir own version, first seen May 21, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- maikotrindade/awesome-react-native-skills★ 13same name
- swadhinbiswas/SKILLS★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 12 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this when a React Native/Expo task touches performance-sensitive UI: long lists, heavy images, charts, animations, frequent updates, …
- Very specific: line 27
avoid recreating expensive arrays, callbacks, and renderItem closures for large lists.
- Distinctive: line 29
keep derived data in selectors/memoized helpers, not inline render logic.
- Very specific: line 32
use FlatList, SectionList, or the project's virtualized list library for dynamic collections.
- Distinctive: line 34
avoid nested scroll views around virtualized lists unless the project pattern proves it safe.
- Distinctive: line 37
use the project's image cache/loader.
- Distinctive: line 38
avoid decoding oversized local images inside frequently mounted cells.
- Distinctive: line 40
Keep animation and gestures off the busy JS path when the project stack supports it:
- Very specific: line 41
prefer Reanimated/native-driver/project animation primitives for continuous motion.
- Distinctive: line 42
avoid state updates on every frame from JS.
- Distinctive: line 46
avoid polling native modules from render/effect loops.
- Distinctive: line 47
keep platform adapters small and testable.
- Distinctive: line 49
run the narrowest repeatable check: profiler capture, release/profile build smoke test, list scroll test, animation interaction test, or …
- Very specific: line 54
Do not add blanket memo, useCallback, or useMemo noise without a concrete render-cost reason.
- Distinctive: line 55
Do not trade accessibility, selector stability, or manifest completeness for speed.
- Very specific: line 56
Do not introduce a new list/image/animation library without dependency approval.
- Distinctive: line 57
Do not optimize only on a high-end simulator when the task targets production mobile users.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Native Performance
When to use
Use this when a React Native/Expo task touches performance-sensitive UI: long lists, heavy images, charts, animations, frequent updates, navigation startup, slow gestures, memory pressure, or native bridge traffic. Load it alongside react-native-implementation.
Inputs and outputs
- Inputs: affected RN screens/components, existing profiling or QA evidence, device/emulator target, design manifest, data size assumptions, current state/image/list/animation libraries.
- Outputs: targeted performance changes with preserved behavior, measurable before/after evidence when feasible, and tests/checks that prove no manifest or accessibility regression.
Procedure
- Define the performance surface:
- name the slow path, expected data volume, device class, platform, and success criterion;
- inspect existing profiler/log evidence before changing code when available.
- Reduce render churn:
- avoid recreating expensive arrays, callbacks, and
renderItemclosures for large lists; - memoize only when it removes measured or obvious repeated work;
- keep derived data in selectors/memoized helpers, not inline render logic;
- split components around independently changing state.
- avoid recreating expensive arrays, callbacks, and
- Tune lists:
- use
FlatList,SectionList, or the project's virtualized list library for dynamic collections; - provide stable keys,
getItemLayoutwhen row height is fixed, bounded initial render counts, and explicit empty/loading states; - avoid nested scroll views around virtualized lists unless the project pattern proves it safe.
- use
- Handle images and assets:
- serve appropriately sized assets;
- use the project's image cache/loader;
- avoid decoding oversized local images inside frequently mounted cells;
- prefetch only high-confidence next-step assets.
- Keep animation and gestures off the busy JS path when the project stack supports it:
- prefer Reanimated/native-driver/project animation primitives for continuous motion;
- avoid state updates on every frame from JS;
- respect reduced-motion settings.
- Watch bridge/native overhead:
- batch native calls and analytics events where the project already has a batching layer;
- avoid polling native modules from render/effect loops;
- keep platform adapters small and testable.
- Verify:
- run the narrowest repeatable check: profiler capture, release/profile build smoke test, list scroll test, animation interaction test, or memory check;
- record unmeasured performance assumptions in the task notes instead of presenting them as proof.
Hard rules
- Do not add blanket
memo,useCallback, oruseMemonoise without a concrete render-cost reason. - Do not trade accessibility, selector stability, or manifest completeness for speed.
- Do not introduce a new list/image/animation library without dependency approval.
- Do not optimize only on a high-end simulator when the task targets production mobile users.
References
../react-native-implementation/SKILL.md- baseline RN implementation discipline.../third-party-dependency-evaluation/SKILL.md- dependency approval for new performance libraries.../ui-test-execution/SKILL.md- UI regression checks after performance changes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

