Skip to content

expo-react-native-performance

pproenca1.4K installs

Expo React Native performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Expo React Native code to ensure optimal performance patterns. Triggers on tasks involving React Native components, lists, animations, images, or performance improvements.

Install

npx skills add https://github.com/pproenca/dot-skills --skill expo-react-native-performance
SKILL.md

Expo React Native Performance Best Practices

Comprehensive performance optimization guide for Expo React Native applications. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new React Native components or screens
  • Implementing lists with FlatList or FlashList
  • Adding animations or transitions
  • Optimizing images and asset loading
  • Reviewing code for performance issues

Rule Categories by Priority

Priority Category Impact Prefix
1 App Startup & Bundle Size CRITICAL startup-
2 List Virtualization CRITICAL list-
3 Re-render Optimization HIGH rerender-
4 Animation Performance HIGH anim-
5 Image & Asset Loading MEDIUM-HIGH asset-
6 Memory Management MEDIUM mem-
7 Async & Data Fetching MEDIUM async-
8 Platform Optimizations LOW-MEDIUM platform-

Quick Reference

1. App Startup & Bundle Size (CRITICAL)

2. List Virtualization (CRITICAL)

3. Re-render Optimization (HIGH)

4. Animation Performance (HIGH)

5. Image & Asset Loading (MEDIUM-HIGH)

6. Memory Management (MEDIUM)

7. Async & Data Fetching (MEDIUM)

8. Platform Optimizations (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For the complete guide with all rules expanded, see AGENTS.md.

Reference Files

File Description
AGENTS.md Complete compiled guide with all rules
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information

Related skills

zodpproenca6.5KZod schema validation best practices for type safety, parsing, and error handling. This skill should be used when defining z.object schemas, using z.string validations, safeParse, or z.infer. This skill does NOT cover React Hook Form integration patterns (use react-hook-form skill) or OpenAPI client generation (use orval skill).vitestpproenca3.9KVitest testing framework patterns for test setup, async testing, mocking with vi.*, snapshots, and test performance (formerly test-vitest). This skill should be used when writing or debugging Vitest tests. This skill does NOT cover TDD methodology (use test-tdd skill), API mocking with MSW (use test-msw skill), or Jest-specific APIs.react-hook-formpproenca2.8KReact Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, the subscribe() API, and the Watch / FormStateSubscribe / FieldArray render-prop components. Covers RHF 7.82 additions including resetDefaultValues() and the disabled field-array option. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions, useActionState, or server-side formemilkowal-animationspproenca2.2KEmil Kowalski's animation best practices for web interfaces. Use when writing, reviewing, or implementing animations in React, CSS, or Framer Motion. Triggers on tasks involving transitions, easing, gestures, toasts, drawers, or motion.

← All skills

Search skills and MCP servers

Search across 31,816 skills and MCPs