/trove-dev:trove-react-nativefrom trove-dev
Provides React Native and Expo best practices for building performant mobile apps, including FlashList optimization, Reanimated animations, native module configuration, and monorepo setup.
Ships in trove-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.
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.
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.
| 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- |
list-performance-virtualize — Use FlashList for large listslist-performance-item-memo — Memoize list item componentslist-performance-callbacks — Stabilize callback referenceslist-performance-inline-objects — Avoid inline style objectslist-performance-function-references — Extract functions outside renderlist-performance-images — Optimize images in listslist-performance-item-expensive — Move expensive work outside itemslist-performance-item-types — Use item types for heterogeneous listsanimation-gpu-properties — Animate only transform and opacityanimation-derived-value — Use useDerivedValue for computed animationsanimation-gesture-detector-press — Use Gesture.Tap instead of Pressablenavigation-native-navigators — Use native stack and native tabs over JS navigatorsui-expo-image — Use expo-image for all imagesui-image-gallery — Use Galeria for image lightboxesui-pressable — Use Pressable over TouchableOpacityui-safe-area-scroll — Handle safe areas in ScrollViewsui-scrollview-content-inset — Use contentInset for headersui-menus — Use native context menusui-native-modals — Use native modals when possibleui-measure-views — Use onLayout, not measure()ui-styling — Use StyleSheet.create or Nativewindreact-state-minimize — Minimize state subscriptionsreact-state-dispatcher — Use dispatcher pattern for callbacksreact-state-fallback — Show fallback on first renderreact-compiler-destructure-functions — Destructure for React Compilerreact-compiler-reanimated-shared-values — Handle shared values with compilerrendering-text-in-text-component — Wrap text in Text componentsrendering-no-falsy-and — Avoid falsy && for conditional renderingmonorepo-native-deps-in-app — Keep native dependencies in app packagemonorepo-single-dependency-versions — Use single versions across packagesfonts-config-plugin — Use config plugins for custom fontsimports-design-system-folder — Organize design system importsjs-hoist-intl — Hoist Intl object creationRead 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.
Upstream: vercel-labs/agent-skills · react-native-skills (MIT). Adapted for the Trove marketplace.
references/_sections.md (opens in a new tab)references/_template.md (opens in a new tab)references/animation-derived-value.md (opens in a new tab)references/animation-gesture-detector-press.md (opens in a new tab)references/animation-gpu-properties.md (opens in a new tab)references/design-system-compound-components.md (opens in a new tab)references/fonts-config-plugin.md (opens in a new tab)references/imports-design-system-folder.md (opens in a new tab)references/js-hoist-intl.md (opens in a new tab)references/list-performance-callbacks.md (opens in a new tab)references/list-performance-function-references.md (opens in a new tab)references/list-performance-images.md (opens in a new tab)references/list-performance-inline-objects.md (opens in a new tab)references/list-performance-item-expensive.md (opens in a new tab)references/list-performance-item-memo.md (opens in a new tab)references/list-performance-item-types.md (opens in a new tab)references/list-performance-virtualize.md (opens in a new tab)references/monorepo-native-deps-in-app.md (opens in a new tab)references/monorepo-single-dependency-versions.md (opens in a new tab)references/navigation-native-navigators.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
react native; expo; flashlist; reanimated; mobile performance
Three short reads, in order
react-native, expo, flashlist, reanimated, mobile-performance, native-modules
npx claudepluginhub bravew/trove --plugin trove-dev17 skills in this plugin
/trove-architectDesign the shape before the code: sketch types, signatures, and module structure with not-implemented bodies, agree, then fill in. Scrap the sketch when implementation proves it wrong. Use for non-trivial work where jumping straight to code would lock in the wrong shape./trove-commitGit commit workflow and message conventions. Use when creating, drafting, or reviewing atomic commits with conventional messages./trove-docs-sync-auditRead-only documentation drift audit comparing what the docs claim against what the code does. Covers READMEs, setup guides, API and env docs, changelogs, examples, and generated docs. Use when asked whether docs are stale, missing, or inconsistent after a code change. This is not a code review./trove-explainExplain code, architecture, or data flow at the appropriate level for the audience. Use when someone needs to understand unfamiliar code, a module, or system design./trove-lambdaAWS Lambda handler patterns with CDK infrastructure conventions. Auto-activates when working with Lambda handler or CDK files. Covers handler structure, SQS/SNS parsing, IPC patterns, Powertools logging, and CDK best practices./trove-perfDiagnose and fix a measured performance problem against a baseline: measure first, fix, re-measure, and cite the delta with an artifact path. Use for slow endpoints, slow queries, or any "make this faster" backed by a measurement.Other plugins' skills for the same job