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, navigation, lists, images, animations, bundle optimization, or mobile performance improvements.
A comprehensive performance optimization skill for Expo React Native applications, containing 42 rules across 8 categories.
This skill provides actionable performance guidelines for building fast, responsive Expo React Native applications. Rules are prioritized by impact, from critical startup optimizations to incremental memory improvements.
expo-react-native/
├── SKILL.md # Entry point with quick reference
├── AGENTS.md # Compiled comprehensive guide
├── metadata.json # Version, organization, references
├── README.md # This file
├── references/
│ ├── _sections.md # Category definitions
│ ├── launch-*.md # Launch time optimization rules
│ ├── bundle-*.md # Bundle size optimization rules
│ ├── list-*.md # List virtualization rules
│ ├── image-*.md # Image optimization rules
│ ├── nav-*.md # Navigation performance rules
│ ├── rerender-*.md # Re-render prevention rules
│ ├── anim-*.md # Animation performance rules
│ └── mem-*.md # Memory management rules
└── assets/
└── templates/
└── _template.md # Template for new rules
pnpm install
pnpm build
pnpm validate
references/ with the appropriate prefixassets/templates/_template.md| Category | Prefix | Impact |
|----------|--------|--------|
| Launch Time Optimization | launch- | CRITICAL |
| Bundle Size Optimization | bundle- | CRITICAL |
| List Virtualization | list- | HIGH |
| Image Optimization | image- | HIGH |
| Navigation Performance | nav- | MEDIUM-HIGH |
| Re-render Prevention | rerender- | MEDIUM |
| Animation Performance | anim- | MEDIUM |
| Memory Management | mem- | LOW-MEDIUM |
Each rule file must follow this structure:
---
title: Rule Title Here
impact: CRITICAL|HIGH|MEDIUM-HIGH|MEDIUM|LOW-MEDIUM|LOW
impactDescription: Quantified impact (e.g., "2-10× improvement")
tags: prefix, technique, tool, concept
---
## Rule Title Here
Brief explanation of WHY this matters (1-3 sentences).
**Incorrect (description of problem):**
\`\`\`typescript
// Bad code example
\`\`\`
**Correct (description of solution):**
\`\`\`typescript
// Good code example
\`\`\`
Reference: [Link](https://example.com)
Rule files follow the pattern: {prefix}-{description}.md
launch, list, image)splash-screen-control, use-flashlist)Examples:
launch-hermes-engine.mdlist-use-flashlist.mdimage-use-webp-format.md| Level | Description | Examples | |-------|-------------|----------| | CRITICAL | Foundational issues with multiplicative effects | Startup time, bundle size | | HIGH | Significant user-facing impact | List performance, image loading | | MEDIUM-HIGH | Important for smooth UX | Navigation, data fetching | | MEDIUM | Noticeable improvements | Re-renders, animations | | LOW-MEDIUM | Incremental gains | Memory leaks, cleanup | | LOW | Edge case optimizations | Micro-optimizations |
| Command | Description |
|---------|-------------|
| pnpm build | Compile rules into AGENTS.md |
| pnpm validate | Validate skill structure and content |
| pnpm lint | Check markdown formatting |
Built with guidance from:
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer