/dev-flow:rn-components-apisfrom dev-flow
Guides selection and usage of React Native core components (View, Text, Pressable, FlatList, ScrollView, Modal, TextInput, KeyboardAvoidingView, SafeAreaView) and platform APIs (Platform, Dimensions, useWindowDimensions, Linking, AppState).
Ships in dev-flow. 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.
Pressable for any touchable — never TouchableOpacity / TouchableHighlight / TouchableWithoutFeedback in new code.expo-image for any image — never Image from react-native (no caching).@shopify/flash-list for lists with > 20 items or unknown length — never FlatList at scale.useWindowDimensions() hook in the component — never Dimensions.get('window') at module top-level (fails on rotation/foldables). An orientation lock is not a layout guarantee: on iOS 27 apps are resizable and ScreenOrientation.lockAsync may have no effect, with requireFullScreen no longer opting out (Expo SDK 58 changelog, 2026-09-15). Every screen has to survive a width it did not choose — and on a foldable, a width that changes while it is open.Platform.select({ ios, android }) for platform-specific styles or behavior — never Platform.OS === ... ternaries scattered across the file.references/decision-tree.md (ScrollView/FlatList/FlashList/SectionList)Pressable. See references/patterns.md for the canonical button pattern.references/patterns.md (Linking section)references/patterns.md (KeyboardAvoidingView + Android quirks)references/maps-mapcn-rn.md (mapcn-rn, the ecosystem-first default: MapLibre/Mapbox RN + NativeWind). ⚠️ native modules → needs a dev build, not Expo Go. Record stack.maps = "mapcn-rn" — and the renderer + provider, which are a licensing and native-dependency decision, not a detail (v2 separates the two axes).@expo/ui, a different tool. See rn-styling/references/expo-ui.md (verified against @expo/[email protected] on 2026-10-17) for the full breakdown; this skill's guidance still applies whenever you're using View/Text/ScrollView/etc. as-is.<TouchableOpacity onPress={...}> → <Pressable onPress={...}><Image source={{ uri }} /> from react-native → import { Image } from "expo-image"<FlatList data={items}> for any list that may grow → <FlashList data={items}> (FlashList v2 auto-sizes — no estimatedItemSize)const { width } = Dimensions.get('window') at module top — use useWindowDimensions() inside the component<KeyboardAvoidingView> without explicit behavior prop — broken on Android. Use Platform.select({ ios: "padding", android: "height" })@expo/ui — native alternative to these components; see rn-styling/references/expo-ui.md)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lukedj78/dev-flow --plugin dev-flow57 skills in this plugin
/animated-iconsAdd a Motion-animated icon to a Next.js app from a shadcn registry instead of hand-animating an SVG. Two registries, picked from the project's icon set: **heroicons-animated** (316 icons, `shadcn add @heroicons-animated/<name>`) and **hugeicons-animated** (165 icons, `shadcn add @hugeicons-animated/<name>`, which also installs a shared `lib/use-icon-animation.ts`). Both MIT, both on the `motion` runtime, both copied into your repo as source. This skill owns the install plus the two things the raw components lack: a `prefers-reduced-motion` guard and timing aligned to the project motion tokens (`lib/motion/`). Use when the user says "animated icon", "animate this icon", "make the bell/heart/menu icon animate on hover", "aggiungi un'icona animata", or wants an icon micro-interaction. Refuses outside Next.js web — for React Native use `rn-animations-gestures`. Not for: static icons, a whole motion system (`transitions`), or installing the runtime itself (`module-add motion`)./app-securityCheck whether an app's own code can be attacked before it ships — vulnerable dependencies, secrets in the code and in git history, Next.js authorization gaps (Server Actions and route handlers without a session check, queries by id with no owner filter — IDOR), data over-exposure, secrets in public env vars, raw SQL — then read the flagged code against an OWASP checklist, with an opt-in dynamic level (Strix) that proves exploits against the app running locally. The fifth pre-deploy gate, beside compliance-audit, vercel-doctor, shadscan and launch-audit; reports and routes, never blocks. Triggers: "security review", "è sicura l'app?", "controllo di sicurezza prima del deploy", "IDOR", "secrets in the repo", "pentest". Not for: GDPR and legal (compliance-audit), UI quality (shadscan), cost (vercel-doctor), launch readiness (launch-audit), a review of one branch diff (Claude Code's /security-review), third-party registry code (registry-intake).