Rn components apis
A filesystem contract (.workflow/meta.json) + 37 agent skills that take a product from idea to production: web (Next.js 16) & mobile (Expo/RN), plus an eve agent engine and Linear/scrum. Runs on Claude Code, Codex, Copilot, Gemini, Cursor.
npx -y skills add lukedj78/dev-flow --skill rn-components-apisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when working with React Native core components (View, Text, ScrollView, FlatList, TextInput, Pressable, Modal, KeyboardAvoidingView, SafeAreaView) or platform APIs (Platform, Dimensions, useWindowDimensions, Linking, AppState). Triggers on: "which RN component should I use", "ScrollView vs FlatList", "how do I handle keyboard avoidance", "platform-specific code", "open external URL". Not for: styling (rn-styling), navigation (rn-expo-router), data fetching (rn-data-fetching), animations (rn-animations-gestures, Wave 3).
SKILL.md
3.2 KB, as published. Nobody here has run it
rn-components-apis — guardrail for RN core components + platform APIs
The 5 rules (non-negotiable)
Pressablefor any touchable — neverTouchableOpacity/TouchableHighlight/TouchableWithoutFeedbackin new code.expo-imagefor any image — neverImagefromreact-native(no caching).@shopify/flash-listfor lists with > 20 items or unknown length — neverFlatListat scale.useWindowDimensions()hook in the component — neverDimensions.get('window')at module top-level (fails on rotation/foldables).Platform.select({ ios, android })for platform-specific styles or behavior — neverPlatform.OS === ...ternaries scattered across the file.
Quick decision tree
- "Which list primitive?" →
references/decision-tree.md(ScrollView/FlatList/FlashList/SectionList) - "Which touchable?" → always
Pressable. Seereferences/patterns.mdfor the canonical button pattern. - "How do I open an external URL / mail / phone?" →
references/patterns.md(Linking section) - "Keyboard avoidance pattern?" →
references/patterns.md(KeyboardAvoidingView + Android quirks) - "None of these core components feel native enough for this screen" → these are all RN primitives (a JS abstraction over both platforms). For real native controls instead — SwiftUI on iOS, Jetpack Compose on Android (grouped settings sections, native picker/slider, real sheets) — that's
@expo/ui, a different tool. Seern-styling/references/expo-ui.md([VERIFY]against mcp.expo.dev) for the full breakdown; this skill's guidance still applies whenever you're usingView/Text/ScrollView/etc. as-is.
Common anti-patterns (NEVER do)
- ❌
<TouchableOpacity onPress={...}>→<Pressable onPress={...}> - ❌
<Image source={{ uri }} />fromreact-native→import { Image } from "expo-image" - ❌
<FlatList data={items}>for any list that may grow →<FlashList data={items} estimatedItemSize={64}> - ❌
const { width } = Dimensions.get('window')at module top — useuseWindowDimensions()inside the component - ❌
<KeyboardAvoidingView>without explicitbehaviorprop — broken on Android. UsePlatform.select({ ios: "padding", android: "height" })
Sources
- Course: codewithbeto.dev/rnCourse — "Components and APIs" module (paid, distilled from docs).
- Official: https://reactnative.dev/docs/components-and-apis
- Official: https://docs.expo.dev/versions/latest/sdk/image/
- Official: https://shopify.github.io/flash-list/
- Official: https://docs.expo.dev/versions/latest/sdk/ui/ (
@expo/ui— native alternative to these components; seern-styling/references/expo-ui.md)