Przejdź do treści
Biblioteka skilli
Programowanie · Nauka i wyjaśnianie

trove-react-native

/trove-react-native

Podpowiada dobre praktyki React Native i Expo: wydajność list, animacje Reanimated i moduły natywne.

Repozytorium
trove ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
39
Skrypty
0
Komentarze HTML
2
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Podpowiada dobre praktyki React Native i Expo: wydajność list, animacje Reanimated i moduły natywne.

Oryginalny opis (EN)

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list/scroll performance, implementing Reanimated animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, FlashList, or native platform APIs. User-invocable; no auto-attach (no RN project in the current Trove workspace).

Jak działa

  1. Session Init
  2. When to Apply
  3. Rule Categories by Priority
  4. Quick Reference
  5. How to Use
  6. Source
Sekcje z nagłówków SKILL.md, w oryginale · 110 linii, 579 słów
Podgląd SKILL.md
---
name: trove-react-native
description: "React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list/scroll performance, implementing Reanimated animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, FlashList, or native platform APIs. User-invocable; no auto-attach (no RN project in the current Trove workspace)."
metadata:
  source: vercel-labs/agent-skills
  upstream-version: 1.0.0
---
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->
<!-- Regenerate: bun run build:skills -->

## Session Init

This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.

# React Native Skills

Best practices for React Native and Expo applications, organized by impact. Each rule has a detailed reference file under `references/` with incorrect/correct code examples.

## When to Apply

- Building React Native or Expo apps
- Optimizing list and scroll performance (FlashList, virtualization)
- Implementing animations with Reanimated and Gesture Handler
- Working with images and media (expo-image, Galeria)
- Configuring native modules, custom fonts, or platform integrations
- Structuring monorepo projects with native dependencies

> **Note:** This skill is user-invocable rather than glob-auto-attached, since React Native projects are less common than web React ones — invoke it explicitly for ad-hoc RN work or new projects.

## Rule Categories by Priority

| Priority | Category         | Impact   | Prefix               |
| -------- | ---------------- | -------- | -------------------- |
| 1        | List Performance | CRITICAL | `list-performance-`  |
| 2        | Animation        | HIGH     | `animation-`         |
| 3        | Navigation       | HIGH     | `navigation-`        |
| 4        | UI Patterns      | HIGH     | `ui-`                |
| 5        | State Management | MEDIUM   | `react-state-`       |
| 6        | Rendering        | MEDIUM   | `rendering-`         |
| 7        | Monorepo         | MEDIUM   | `monorepo-`          |
| 8        | Configuration    | LOW      | `fonts-`, `imports-` |

## Quick Reference

### 1. List Performance (CRITICAL)

- `list-performance-virtualize` — Use FlashList for large lists
- `list-performance-item-memo` — Memoize list item components
- `list-performance-callbacks` — Stabilize callback references
- `list-performance-inline-objects` — Avoid inline style objects
- `list-performance-function-references` — Extract functions outside render
- `list-performance-images` — Optimize images in lists
- `list-performance-item-expensive` — Move expensive work outside items
- `list-performance-item-types` — Use item types for heterogeneous lists

### 2. Animation (HIGH)

- `animation-gpu-properties` — Animate only transform and opacity
- `animation-derived-value` — Use `useDerivedValue` for computed animations
- `animation-gesture-detector-press` — Use `Gesture.Tap` instead of `Pressable`

### 3. Navigation (HIGH)

- `navigation-native-navigators` — Use native stack and native tabs over JS navigators

### 4. UI Patterns (HIGH)

- `ui-expo-image` — Use expo-image for all images
- `ui-image-gallery` — Use Galeria for image lightboxes
- `ui-pressable` — Use Pressable over TouchableOpacity
- `ui-safe-area-scroll` — Handle safe areas in ScrollViews
- `ui-scrollview-content-inset` — Use contentInset for headers
- `ui-menus` — Use native context menus
- `ui-native-modals` — Use native modals when possible
- `ui-measure-views` — Use onLayout, not measure()
- `ui-styling` — Use `StyleSheet.create` or Nativewind

### 5. State Management (MEDIUM)

- `react-state-minimize` — Minimize state subscriptions
- `react-state-dispatcher` — Use dispatcher pattern for callbacks
- `react-state-fallback` — Show fallback on first render
- `react-compiler-destructure-functions` — Destructure for React Compiler
- `react-compiler-reanimated-shared-values` — Handle shared values with compiler

### 6. Rendering (MEDIUM)

- `rendering-text-in-text-component` — Wrap text in `Text` components
- `rendering-no-falsy-and` — Avoid falsy `&&` for conditional rendering

### 7. Monorepo (MEDIUM)

- `monorepo-native-deps-in-app` — Keep native dependencies in app package
- `monorepo-single-dependency-versions` — Use single versions across packages

### 8. Configuration (LOW)

- `fonts-config-plugin` — Use config plugins for custom fonts
- `imports-design-system-folder` — Organize design system imports
- `js-hoist-intl` — Hoist `Intl` object creation

## How to Use

Read individual rule files for detailed explanations and code examples:

```
references/list-performance-virtualize.md
references/animation-gpu-properties.md
references/ui-expo-image.md
```

Each rule contains: brief explanation, incorrect example, correct example, references.

## Source

Upstream: [vercel-labs/agent-skills · react-native-skills](https://github.com/vercel-labs/agent-skills) (MIT). Adapted for the Trove marketplace.
Pliki w paczce (39)
  • SKILL.md 5 KB
  • references/_sections.md 2 KB
  • references/_template.md 1 KB
  • references/animation-derived-value.md 1 KB
  • references/animation-gesture-detector-press.md 3 KB
  • references/animation-gpu-properties.md 2 KB
  • references/design-system-compound-components.md 2 KB
  • references/fonts-config-plugin.md 1 KB
  • references/imports-design-system-folder.md 1 KB
  • references/js-hoist-intl.md 2 KB
  • references/list-performance-callbacks.md 2 KB
  • references/list-performance-function-references.md 4 KB
  • references/list-performance-images.md 1 KB
  • references/list-performance-inline-objects.md 2 KB
  • references/list-performance-item-expensive.md 2 KB
  • references/list-performance-item-memo.md 2 KB
  • references/list-performance-item-types.md 3 KB
  • references/list-performance-virtualize.md 2 KB
  • references/monorepo-native-deps-in-app.md 1 KB
  • references/monorepo-single-dependency-versions.md 1 KB
  • references/navigation-native-navigators.md 5 KB
  • references/react-compiler-destructure-functions.md 1 KB
  • references/react-compiler-reanimated-shared-values.md 1 KB
  • references/react-state-dispatcher.md 2 KB
  • references/react-state-fallback.md 2 KB
  • references/react-state-minimize.md 2 KB
  • references/rendering-no-falsy-and.md 2 KB
  • references/rendering-text-in-text-component.md 1 KB
  • references/scroll-position-no-state.md 2 KB
  • references/state-ground-truth.md 2 KB
  • references/ui-expo-image.md 2 KB
  • references/ui-image-gallery.md 3 KB
  • references/ui-measure-views.md 2 KB
  • references/ui-menus.md 4 KB
  • references/ui-native-modals.md 2 KB
  • references/ui-pressable.md 2 KB
  • references/ui-safe-area-scroll.md 2 KB
  • references/ui-scrollview-content-inset.md 1 KB
  • references/ui-styling.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie trove-react-native.

Identyczna treść występuje jeszcze w 3 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 1daeb564c776 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100react-native-skills
    Zawiera dobre praktyki React Native i Expo dla wydajnych aplikacji mobilnych: komponenty, wydajność list, animacje i moduły natywne.
  • 100react-native-guidelines
    Zawiera dobre praktyki React Native i Expo dla wydajnych aplikacji mobilnych: komponenty, wydajność list, animacje i moduły natywne.
  • 95vercel-react-native-skills
    Stosuje dobre praktyki React Native i Expo przy budowie wydajnych aplikacji mobilnych: komponenty, wydajność list, animacje i moduły natywne.
  • 100vercel-react-native-skills
    Podpowiada dobre praktyki React Native i Expo: wydajne listy, animacje i praca z modułami natywnymi.
  • 100react-native-expert
    Pomaga budować produkcyjne aplikacje wieloplatformowe w React Native i Expo: komponenty, Expo Router, wydajność list, animacje Reanimated, kod iOS i Android, moduły natywne.
  • 100react-native
    Opisuje wzorce React Native i Expo dla wydajnych aplikacji mobilnych: listy, animacje Reanimated, nawigacja, zarządzanie stanem, kod platformowy i workflow Expo.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.