设计与 UI
name: frontend-rn-expo
description: |
OPTIONAL, stack-specific: React Native + Expo (prebuild). Mobile RN projects only; the generic principles
live in the
DoD (in addition to the generic
frontend-rn-expo
OPTIONAL, stack-specific: React Native + Expo (prebuild). Mobile RN projects only; the generic principles live in the `frontend` skill.
byerlikaya · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add byerlikaya/claude-starter-kit --skill frontend-rn-expo技能说明
name: frontend-rn-expo
description: |
OPTIONAL, stack-specific: React Native + Expo (prebuild). Mobile RN projects only; the generic principles
live in the frontend skill.
React Native + Expo (stack-specific layer)
Trigger phrases: "expo", "react native", "native bridge", "expo router", "rn screen", "prebuild"
For generic frontend discipline, applies the frontend skill; this file only covers the RN+Expo-specific additions.
Not used in web/desktop projects (delete it if needed).
RN + Expo specifics
- Navigation: expo-router (file-based) or react-navigation — follow whichever the project uses.
- Lists:
FlatList/FlashList+keyExtractor; virtualization for heavy lists. - Native bridge: only when needed; the JS side is typed, error paths are explicit (what the UI does if native rejects). Via Expo prebuild / config plugin; mind the platform difference (iOS/Android).
- Render by capability: do not promise in the UI a capability the device lacks; show it conditionally.
- Assets: image size/resolution,
expo-imagecache, splash/icon prebuild compatibility.
DoD (in addition to the generic frontend DoD)
- Works across the target iOS/Android version matrix; native bridge error paths are tested.