[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72XZYB2GXVA1KBPEFTMZAMF":3,"skill-same:01M72XZYB2GXVA1KBPEFTMZAMF":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M72XZYB2GXVA1KBPEFTMZAMF","react-native-design",null,"Master React Native styling, navigation, and Reanimated animations for cross-platform mobile development. Use when building React Native apps, implementing navigation patterns, or creating performant animations.","steph-frtech\u002Fclaude-code-up","steph-frtech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F198466323?v=4","01M72XD213FVQA2QXRGTJFKHE1","01M72XD227AANJ993SQTNZB1CK",1,"MIT","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fmarketplaces\u002Fwshobson\u002Fplugins\u002Fui-design\u002Fskills\u002Freact-native-design\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: react-native-design\ndescription: Master React Native styling, navigation, and Reanimated animations for cross-platform mobile development. Use when building React Native apps, implementing navigation patterns, or creating performant animations.\n---\n\n# React Native Design\n\nMaster React Native styling patterns, React Navigation, and Reanimated 3 to build performant, cross-platform mobile applications with native-quality user experiences.\n\n## When to Use This Skill\n\n- Building cross-platform mobile apps with React Native\n- Implementing navigation with React Navigation 6+\n- Creating performant animations with Reanimated 3\n- Styling components with StyleSheet and styled-components\n- Building responsive layouts for different screen sizes\n- Implementing platform-specific designs (iOS\u002FAndroid)\n- Creating gesture-driven interactions with Gesture Handler\n- Optimizing React Native performance\n\n## Core Concepts\n\n### 1. StyleSheet and Styling\n\n**Basic StyleSheet:**\n\n```typescript\nimport { StyleSheet, View, Text } from 'react-native';\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    padding: 16,\n    backgroundColor: '#ffffff',\n  },\n  title: {\n    fontSize: 24,\n    fontWeight: '600',\n    color: '#1a1a1a',\n    marginBottom: 8,\n  },\n  subtitle: {\n    fontSize: 16,\n    color: '#666666',\n    lineHeight: 24,\n  },\n});\n\nfunction Card() {\n  return (\n    \u003CView style={styles.container}>\n      \u003CText style={styles.title}>Title\u003C\u002FText>\n      \u003CText style={styles.subtitle}>Subtitle text\u003C\u002FText>\n    \u003C\u002FView>\n  );\n}\n```\n\n**Dynamic Styles:**\n\n```typescript\ninterface CardProps {\n  variant: 'primary' | 'secondary';\n  disabled?: boolean;\n}\n\nfunction Card({ variant, disabled }: CardProps) {\n  return (\n    \u003CView style={[\n      styles.card,\n      variant === 'primary' ? styles.primary : styles.secondary,\n      disabled && styles.disabled,\n    ]}>\n      \u003CText style={styles.text}>Content\u003C\u002FText>\n    \u003C\u002FView>\n  );\n}\n\nconst styles = StyleSheet.create({\n  card: {\n    padding: 16,\n    borderRadius: 12,\n  },\n  primary: {\n    backgroundColor: '#6366f1',\n  },\n  secondary: {\n    backgroundColor: '#f3f4f6',\n    borderWidth: 1,\n    borderColor: '#e5e7eb',\n  },\n  disabled: {\n    opacity: 0.5,\n  },\n  text: {\n    fontSize: 16,\n  },\n});\n```\n\n### 2. Flexbox Layout\n\n**Row and Column Layouts:**\n\n```typescript\nconst styles = StyleSheet.create({\n  \u002F\u002F Vertical stack (column)\n  column: {\n    flexDirection: \"column\",\n    gap: 12,\n  },\n  \u002F\u002F Horizontal stack (row)\n  row: {\n    flexDirection: \"row\",\n    alignItems: \"center\",\n    gap: 8,\n  },\n  \u002F\u002F Space between items\n  spaceBetween: {\n    flexDirection: \"row\",\n    justifyContent: \"space-between\",\n    alignItems: \"center\",\n  },\n  \u002F\u002F Centered content\n  centered: {\n    flex: 1,\n    justifyContent: \"center\",\n    alignItems: \"center\",\n  },\n  \u002F\u002F Fill remaining space\n  fill: {\n    flex: 1,\n  },\n});\n```\n\n### 3. React Navigation Setup\n\n**Stack Navigator:**\n\n```typescript\nimport { NavigationContainer } from '@react-navigation\u002Fnative';\nimport { createNativeStackNavigator } from '@react-navigation\u002Fnative-stack';\n\ntype RootStackParamList = {\n  Home: undefined;\n  Detail: { itemId: string };\n  Settings: undefined;\n};\n\nconst Stack = createNativeStackNavigator\u003CRootStackParamList>();\n\nfunction AppNavigator() {\n  return (\n    \u003CNavigationContainer>\n      \u003CStack.Navigator\n        initialRouteName=\"Home\"\n        screenOptions={{\n          headerStyle: { backgroundColor: '#6366f1' },\n          headerTintColor: '#ffffff',\n          headerTitleStyle: { fontWeight: '600' },\n        }}\n      >\n        \u003CStack.Screen\n          name=\"Home\"\n          component={HomeScreen}\n          options={{ title: 'Home' }}\n        \u002F>\n        \u003CStack.Screen\n          name=\"Detail\"\n          component={DetailScreen}\n          options={({ route }) => ({\n            title: `Item ${route.params.itemId}`,\n          })}\n        \u002F>\n        \u003CStack.Screen name=\"Settings\" component={SettingsScreen} \u002F>\n      \u003C\u002FStack.Navigator>\n    \u003C\u002FNavigationContainer>\n  );\n}\n```\n\n**Tab Navigator:**\n\n```typescript\nimport { createBottomTabNavigator } from '@react-navigation\u002Fbottom-tabs';\nimport { Ionicons } from '@expo\u002Fvector-icons';\n\ntype TabParamList = {\n  Home: undefined;\n  Search: undefined;\n  Profile: undefined;\n};\n\nconst Tab = createBottomTabNavigator\u003CTabParamList>();\n\nfunction TabNavigator() {\n  return (\n    \u003CTab.Navigator\n      screenOptions={({ route }) => ({\n        tabBarIcon: ({ focused, color, size }) => {\n          const icons: Record\u003Cstring, keyof typeof Ionicons.glyphMap> = {\n            Home: focused ? 'home' : 'home-outline',\n            Search: focused ? 'search' : 'search-outline',\n            Profile: focused ? 'person' : 'person-outline',\n          };\n          return \u003CIonicons name={icons[route.name]} size={size} color={color} \u002F>;\n        },\n        tabBarActiveTintColor: '#6366f1',\n        tabBarInactiveTintColor: '#9ca3af',\n      })}\n    >\n      \u003CTab.Screen name=\"Home\" component={HomeScreen} \u002F>\n      \u003CTab.Screen name=\"Search\" component={SearchScreen} \u002F>\n      \u003CTab.Screen name=\"Profile\" component={ProfileScreen} \u002F>\n    \u003C\u002FTab.Navigator>\n  );\n}\n```\n\n### 4. Reanimated 3 Basics\n\n**Animated Values:**\n\n```typescript\nimport Animated, {\n  useSharedValue,\n  useAnimatedStyle,\n  withSpring,\n  withTiming,\n} from 'react-native-reanimated';\n\nfunction AnimatedBox() {\n  const scale = useSharedValue(1);\n  const opacity = useSharedValue(1);\n\n  const animatedStyle = useAnimatedStyle(() => ({\n    transform: [{ scale: scale.value }],\n    opacity: opacity.value,\n  }));\n\n  const handlePress = () => {\n    scale.value = withSpring(1.2, {}, () => {\n      scale.value = withSpring(1);\n    });\n  };\n\n  return (\n    \u003CPressable onPress={handlePress}>\n      \u003CAnimated.View style={[styles.box, animatedStyle]} \u002F>\n    \u003C\u002FPressable>\n  );\n}\n```\n\n**Gesture Handler Integration:**\n\n```typescript\nimport { Gesture, GestureDetector } from 'react-native-gesture-handler';\nimport Animated, {\n  useSharedValue,\n  useAnimatedStyle,\n  withSpring,\n} from 'react-native-reanimated';\n\nfunction DraggableCard() {\n  const translateX = useSharedValue(0);\n  const translateY = useSharedValue(0);\n\n  const gesture = Gesture.Pan()\n    .onUpdate((event) => {\n      translateX.value = event.translationX;\n      translateY.value = event.translationY;\n    })\n    .onEnd(() => {\n      translateX.value = withSpring(0);\n      translateY.value = withSpring(0);\n    });\n\n  const animatedStyle = useAnimatedStyle(() => ({\n    transform: [\n      { translateX: translateX.value },\n      { translateY: translateY.value },\n    ],\n  }));\n\n  return (\n    \u003CGestureDetector gesture={gesture}>\n      \u003CAnimated.View style={[styles.card, animatedStyle]}>\n        \u003CText>Drag me!\u003C\u002FText>\n      \u003C\u002FAnimated.View>\n    \u003C\u002FGestureDetector>\n  );\n}\n```\n\n### 5. Platform-Specific Styling\n\n```typescript\nimport { Platform, StyleSheet } from \"react-native\";\n\nconst styles = StyleSheet.create({\n  container: {\n    padding: 16,\n    ...Platform.select({\n      ios: {\n        shadowColor: \"#000\",\n        shadowOffset: { width: 0, height: 2 },\n        shadowOpacity: 0.1,\n        shadowRadius: 4,\n      },\n      android: {\n        elevation: 4,\n      },\n    }),\n  },\n  text: {\n    fontFamily: Platform.OS === \"ios\" ? \"SF Pro Text\" : \"Roboto\",\n    fontSize: 16,\n  },\n});\n\n\u002F\u002F Platform-specific components\nimport { Platform } from \"react-native\";\nconst StatusBarHeight = Platform.OS === \"ios\" ? 44 : 0;\n```\n\n## Quick Start Component\n\n```typescript\nimport React from 'react';\nimport {\n  View,\n  Text,\n  StyleSheet,\n  Pressable,\n  Image,\n} from 'react-native';\nimport Animated, {\n  useSharedValue,\n  useAnimatedStyle,\n  withSpring,\n} from 'react-native-reanimated';\n\ninterface ItemCardProps {\n  title: string;\n  subtitle: string;\n  imageUrl: string;\n  onPress: () => void;\n}\n\nconst AnimatedPressable = Animated.createAnimatedComponent(Pressable);\n\nexport function ItemCard({ title, subtitle, imageUrl, onPress }: ItemCardProps) {\n  const scale = useSharedValue(1);\n\n  const animatedStyle = useAnimatedStyle(() => ({\n    transform: [{ scale: scale.value }],\n  }));\n\n  return (\n    \u003CAnimatedPressable\n      style={[styles.card, animatedStyle]}\n      onPress={onPress}\n      onPressIn={() => { scale.value = withSpring(0.97); }}\n      onPressOut={() => { scale.value = withSpring(1); }}\n    >\n      \u003CImage source={{ uri: imageUrl }} style={styles.image} \u002F>\n      \u003CView style={styles.content}>\n        \u003CText style={styles.title} numberOfLines={1}>\n          {title}\n        \u003C\u002FText>\n        \u003CText style={styles.subtitle} numberOfLines={2}>\n          {subtitle}\n        \u003C\u002FText>\n      \u003C\u002FView>\n    \u003C\u002FAnimatedPressable>\n  );\n}\n\nconst styles = StyleSheet.create({\n  card: {\n    backgroundColor: '#ffffff',\n    borderRadius: 16,\n    overflow: 'hidden',\n    shadowColor: '#000',\n    shadowOffset: { width: 0, height: 2 },\n    shadowOpacity: 0.1,\n    shadowRadius: 8,\n    elevation: 4,\n  },\n  image: {\n    width: '100%',\n    height: 160,\n    backgroundColor: '#f3f4f6',\n  },\n  content: {\n    padding: 16,\n    gap: 4,\n  },\n  title: {\n    fontSize: 18,\n    fontWeight: '600',\n    color: '#1f2937',\n  },\n  subtitle: {\n    fontSize: 14,\n    color: '#6b7280',\n    lineHeight: 20,\n  },\n});\n```\n\n## Best Practices\n\n1. **Use TypeScript**: Define navigation and prop types for type safety\n2. **Memoize Components**: Use `React.memo` and `useCallback` to prevent unnecessary rerenders\n3. **Run Animations on UI Thread**: Use Reanimated worklets for 60fps animations\n4. **Avoid Inline Styles**: Use StyleSheet.create for performance\n5. **Handle Safe Areas**: Use `SafeAreaView` or `useSafeAreaInsets`\n6. **Test on Real Devices**: Simulator\u002Femulator performance differs from real devices\n7. **Use FlatList for Lists**: Never use ScrollView with map for long lists\n8. **Platform-Specific Code**: Use Platform.select for iOS\u002FAndroid differences\n\n## Common Issues\n\n- **Gesture Conflicts**: Wrap gestures with `GestureDetector` and use `simultaneousHandlers`\n- **Navigation Type Errors**: Define `ParamList` types for all navigators\n- **Animation Jank**: Move animations to UI thread with `runOnUI` worklets\n- **Memory Leaks**: Cancel animations and cleanup in useEffect\n- **Font Loading**: Use `expo-font` or `react-native-asset` for custom fonts\n- **Safe Area Issues**: Test on notched devices (iPhone, Android with cutouts)\n","# React Native Design\n\nMaster React Native styling patterns, React Navigation, and Reanimated 3 to build performant, cross-platform mobile applications with native-quality user experiences.\n\n## When to Use This Skill\n\n- Building cross-platform mobile apps with React Native\n- Implementing navigation with React Navigation 6+\n- Creating performant animations with Reanimated 3\n- Styling components with StyleSheet and styled-components\n- Building responsive layouts for different screen sizes\n- Implementing platform-specific designs (iOS\u002FAndroid)\n- Creating gesture-driven interactions with Gesture Handler\n- Optimizing React Native performance\n\n## Core Concepts\n\n### 1. StyleSheet and Styling\n\n**Basic StyleSheet:**\n\n```typescript\nimport { StyleSheet, View, Text } from 'react-native';\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    padding: 16,\n    backgroundColor: '#ffffff',\n  },\n  title: {\n    fontSize: 24,\n    fontWeight: '600',\n    color: '#1a1a1a',\n    marginBottom: 8,\n  },\n  subtitle: {\n    fontSize: 16,\n    color: '#666666',\n    lineHeight: 24,\n  },\n});\n\nfunction Card() {\n  return (\n    \u003CView style={styles.container}>\n      \u003CText style={styles.title}>Title\u003C\u002FText>\n      \u003CText style={styles.subtitle}>Subtitle text\u003C\u002FText>\n    \u003C\u002FView>\n  );\n}\n```\n\n**Dynamic Styles:**\n\n```typescript\ninterface CardProps {\n  variant: 'primary' | 'secondary';\n  disabled?: boolean;\n}\n\nfunction Card({ variant, disabled }: CardProps) {\n  return (\n    \u003CView style={[\n      styles.card,\n      variant === 'primary' ? styles.primary : styles.secondary,\n      disabled && styles.disabled,\n    ]}>\n      \u003CText style={styles.text}>Content\u003C\u002FText>\n    \u003C\u002FView>\n  );\n}\n\nconst styles = StyleSheet.create({\n  card: {\n    padding: 16,\n    borderRadius: 12,\n  },\n  primary: {\n    backgroundColor: '#6366f1',\n  },\n  secondary: {\n    backgroundColor: '#f3f4f6',\n    borderWidth: 1,\n    borderColor: '#e5e7eb',\n  },\n  disabled: {\n    opacity: 0.5,\n  },\n  text: {\n    fontSize: 16,\n  },\n});\n```\n\n### 2. Flexbox Layout\n\n**Row and Column Layouts:**\n\n```typescript\nconst styles = StyleSheet.create({\n  \u002F\u002F Vertical stack (column)\n  column: {\n    flexDirection: \"column\",\n    gap: 12,\n  },\n  \u002F\u002F Horizontal stack (row)\n  row: {\n    flexDirection: \"row\",\n    alignItems: \"center\",\n    gap: 8,\n  },\n  \u002F\u002F Space between items\n  spaceBetween: {\n    flexDirection: \"row\",\n    justifyContent: \"space-between\",\n    alignItems: \"center\",\n  },\n  \u002F\u002F Centered content\n  centered: {\n    flex: 1,\n    justifyContent: \"center\",\n    alignItems: \"center\",\n  },\n  \u002F\u002F Fill remaining space\n  fill: {\n    flex: 1,\n  },\n});\n```\n\n### 3. React Navigation Setup\n\n**Stack Navigator:**\n\n```typescript\nimport { NavigationContainer } from '@react-navigation\u002Fnative';\nimport { createNativeStackNavigator } from '@react-navigation\u002Fnative-stack';\n\ntype RootStackParamList = {\n  Home: undefined;\n  Detail: { itemId: string };\n  Settings: undefined;\n};\n\nconst Stack = createNativeStackNavigator\u003CRootStackParamList>();\n\nfunction AppNavigator() {\n  return (\n    \u003CNavigationContainer>\n      \u003CStack.Navigator\n        initialRouteName=\"Home\"\n        screenOptions={{\n          headerStyle: { backgroundColor: '#6366f1' },\n          headerTintColor: '#ffffff',\n          headerTitleStyle: { fontWeight: '600' },\n        }}\n      >\n        \u003CStack.Screen\n          name=\"Home\"\n          component={HomeScreen}\n          options={{ title: 'Home' }}\n        \u002F>\n        \u003CStack.Screen\n          name=\"Detail\"\n          component={DetailScreen}\n          options={({ route }) => ({\n            title: `Item ${route.params.itemId}`,\n          })}\n        \u002F>\n        \u003CStack.Screen name=\"Settings\" component={SettingsScreen} \u002F>\n      \u003C\u002FStack.Navigator>\n    \u003C\u002FNavigationContainer>\n  );\n}\n```\n\n**Tab Navigator:**\n\n```typescript\nimport { createBottomTabNavigator } from '@react-navigation\u002Fbottom-tabs';\nimport { Ionicons } from '@expo\u002Fvector-icons';\n\ntype TabParamList = {\n  Home: undefined;\n  Search: undefined;\n  Profile: undefined;\n};\n\nconst Tab = createBottomTabNavigator\u003CTabParamList>();\n\nfunction TabNavigator() {\n  return (\n    \u003CTab.Navigator\n      screenOptions={({ route }) => ({\n        tabBarIcon: ({ focused, color, size }) => {\n          const icons: Record\u003Cstring, keyof typeof Ionicons.glyphMap> = {\n            Home: focused ? 'home' : 'home-outline',\n            Search: focused ? 'search' : 'search-outline',\n            Profile: focused ? 'person' : 'person-outline',\n          };\n          return \u003CIonicons name={icons[route.name]} size={size} color={color} \u002F>;\n        },\n        tabBarActiveTintColor: '#6366f1',\n        tabBarInactiveTintColor: '#9ca3af',\n      })}\n    >\n      \u003CTab.Screen name=\"Home\" component={HomeScreen} \u002F>\n      \u003CTab.Screen name=\"Search\" component={SearchScreen} \u002F>\n      \u003CTab.Screen name=\"Profile\" component={ProfileScreen} \u002F>\n    \u003C\u002FTab.Navigator>\n  );\n}\n```\n\n### 4. Reanimated 3 Basics\n\n**Animated Values:**\n\n```typescript\nimport Animated, {\n  useSharedValue,\n  useAnimatedStyle,\n  withSpring,\n  withTiming,\n} from 'react-native-reanimated';\n\nfunction AnimatedBox() {\n  const scale = useSharedValue(1);\n  const opacity = useSharedValue(1);\n\n  const animatedStyle = useAnimatedStyle(() => ({\n    transform: [{ scale: scale.value }],\n    opacity: opacity.value,\n  }));\n\n  const handlePress = () => {\n    scale.value = withSpring(1.2, {}, () => {\n      scale.value = withSpring(1);\n    });\n  };\n\n  return (\n    \u003CPressable onPress={handlePress}>\n      \u003CAnimated.View style={[styles.box, animatedStyle]} \u002F>\n    \u003C\u002FPressable>\n  );\n}\n```\n\n**Gesture Handler Integration:**\n\n```typescript\nimport { Gesture, GestureDetector } from 'react-native-gesture-handler';\nimport Animated, {\n  useSharedValue,\n  useAnimatedStyle,\n  withSpring,\n} from 'react-native-reanimated';\n\nfunction DraggableCard() {\n  const translateX = useSharedValue(0);\n  const translateY = useSharedValue(0);\n\n  const gesture = Gesture.Pan()\n    .onUpdate((event) => {\n      translateX.value = event.translationX;\n      translateY.value = event.translationY;\n    })\n    .onEnd(() => {\n      translateX.value = withSpring(0);\n      translateY.value = withSpring(0);\n    });\n\n  const animatedStyle = useAnimatedStyle(() => ({\n    transform: [\n      { translateX: translateX.value },\n      { translateY: translateY.value },\n    ],\n  }));\n\n  return (\n    \u003CGestureDetector gesture={gesture}>\n      \u003CAnimated.View style={[styles.card, animatedStyle]}>\n        \u003CText>Drag me!\u003C\u002FText>\n      \u003C\u002FAnimated.View>\n    \u003C\u002FGestureDetector>\n  );\n}\n```\n\n### 5. Platform-Specific Styling\n\n```typescript\nimport { Platform, StyleSheet } from \"react-native\";\n\nconst styles = StyleSheet.create({\n  container: {\n    padding: 16,\n    ...Platform.select({\n      ios: {\n        shadowColor: \"#000\",\n        shadowOffset: { width: 0, height: 2 },\n        shadowOpacity: 0.1,\n        shadowRadius: 4,\n      },\n      android: {\n        elevation: 4,\n      },\n    }),\n  },\n  text: {\n    fontFamily: Platform.OS === \"ios\" ? \"SF Pro Text\" : \"Roboto\",\n    fontSize: 16,\n  },\n});\n\n\u002F\u002F Platform-specific components\nimport { Platform } from \"react-native\";\nconst StatusBarHeight = Platform.OS === \"ios\" ? 44 : 0;\n```\n\n## Quick Start Component\n\n```typescript\nimport React from 'react';\nimport {\n  View,\n  Text,\n  StyleSheet,\n  Pressable,\n  Image,\n} from 'react-native';\nimport Animated, {\n  useSharedValue,\n  useAnimatedStyle,\n  withSpring,\n} from 'react-native-reanimated';\n\ninterface ItemCardProps {\n  title: string;\n  subtitle: string;\n  imageUrl: string;\n  onPress: () => void;\n}\n\nconst AnimatedPressable = Animated.createAnimatedComponent(Pressable);\n\nexport function ItemCard({ title, subtitle, imageUrl, onPress }: ItemCardProps) {\n  const scale = useSharedValue(1);\n\n  const animatedStyle = useAnimatedStyle(() => ({\n    transform: [{ scale: scale.value }],\n  }));\n\n  return (\n    \u003CAnimatedPressable\n      style={[styles.card, animatedStyle]}\n      onPress={onPress}\n      onPressIn={() => { scale.value = withSpring(0.97); }}\n      onPressOut={() => { scale.value = withSpring(1); }}\n    >\n      \u003CImage source={{ uri: imageUrl }} style={styles.image} \u002F>\n      \u003CView style={styles.content}>\n        \u003CText style={styles.title} numberOfLines={1}>\n          {title}\n        \u003C\u002FText>\n        \u003CText style={styles.subtitle} numberOfLines={2}>\n          {subtitle}\n        \u003C\u002FText>\n      \u003C\u002FView>\n    \u003C\u002FAnimatedPressable>\n  );\n}\n\nconst styles = StyleSheet.create({\n  card: {\n    backgroundColor: '#ffffff',\n    borderRadius: 16,\n    overflow: 'hidden',\n    shadowColor: '#000',\n    shadowOffset: { width: 0, height: 2 },\n    shadowOpacity: 0.1,\n    shadowRadius: 8,\n    elevation: 4,\n  },\n  image: {\n    width: '100%',\n    height: 160,\n    backgroundColor: '#f3f4f6',\n  },\n  content: {\n    padding: 16,\n    gap: 4,\n  },\n  title: {\n    fontSize: 18,\n    fontWeight: '600',\n    color: '#1f2937',\n  },\n  subtitle: {\n    fontSize: 14,\n    color: '#6b7280',\n    lineHeight: 20,\n  },\n});\n```\n\n## Best Practices\n\n1. **Use TypeScript**: Define navigation and prop types for type safety\n2. **Memoize Components**: Use `React.memo` and `useCallback` to prevent unnecessary rerenders\n3. **Run Animations on UI Thread**: Use Reanimated worklets for 60fps animations\n4. **Avoid Inline Styles**: Use StyleSheet.create for performance\n5. **Handle Safe Areas**: Use `SafeAreaView` or `useSafeAreaInsets`\n6. **Test on Real Devices**: Simulator\u002Femulator performance differs from real devices\n7. **Use FlatList for Lists**: Never use ScrollView with map for long lists\n8. **Platform-Specific Code**: Use Platform.select for iOS\u002FAndroid differences\n\n## Common Issues\n\n- **Gesture Conflicts**: Wrap gestures with `GestureDetector` and use `simultaneousHandlers`\n- **Navigation Type Errors**: Define `ParamList` types for all navigators\n- **Animation Jank**: Move animations to UI thread with `runOnUI` worklets\n- **Memory Leaks**: Cancel animations and cleanup in useEffect\n- **Font Loading**: Use `expo-font` or `react-native-asset` for custom fonts\n- **Safe Area Issues**: Test on notched devices (iPhone, Android with cutouts)\n",{"name":5,"description":7},"main","900bb95bbe72cdb94af6f5a620aa5081264b7b6d",".claude\u002Fmarketplaces\u002Fwshobson\u002Fplugins\u002Fui-design\u002Fskills\u002Freact-native-design",0,"https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up#readme","https:\u002F\u002Fgithub.com\u002Fsteph-frtech","2026-05-16 00:03:30",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add steph-frtech\u002Fclaude-code-up --skill react-native-design",{"tool":37,"command":38},"bunx","bunx skills add steph-frtech\u002Fclaude-code-up --skill react-native-design",{"tool":40,"command":41},"pnpm","pnpm dlx skills add steph-frtech\u002Fclaude-code-up --skill react-native-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fmarketplaces\u002Fwshobson\u002Fplugins\u002Fui-design\u002Fskills\u002Freact-native-design\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fnavigation-patterns.md","REFERENCE","参考文档",20184,"https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fmarketplaces\u002Fwshobson\u002Fplugins\u002Fui-design\u002Fskills\u002Freact-native-design\u002Freferences\u002Fnavigation-patterns.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Freanimated-patterns.md",17423,"https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fmarketplaces\u002Fwshobson\u002Fplugins\u002Fui-design\u002Fskills\u002Freact-native-design\u002Freferences\u002Freanimated-patterns.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fstyling-patterns.md",18876,"https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fmarketplaces\u002Fwshobson\u002Fplugins\u002Fui-design\u002Fskills\u002Freact-native-design\u002Freferences\u002Fstyling-patterns.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M72Y1BY6X8TX3DS19Y04NEBQ","example","One-line summary of what this skill does","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002Fskills\u002Fexample\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M72Y1A38EYR8S9P1MBYDAQTW","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsuperpowers__writing-plans\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M72Y174QSV1B5NV1E4KWHQBR","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsuperpowers__using-git-worktrees\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M72Y14SQRHHMKG316HGB2CGK","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsuperpowers__test-driven-development\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M72Y127BCPRH3BRKPJC3Q3G2","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsuperpowers__systematic-debugging\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M72Y1090GJA6B67KPD60WPHH","subagent-driven-development","Use when executing implementation plans with independent tasks in the current session","https:\u002F\u002Fgithub.com\u002Fsteph-frtech\u002Fclaude-code-up\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsuperpowers__subagent-driven-development\u002FSKILL.md",[],[]]