/major-ai-skills:react-nativefrom major-ai-skills
Build React Native interfaces and navigation, integrate native modules, and prepare platform release builds.
Ships in major-ai-skills. 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.
None: SKILL.md is the whole skill.
React Native renders React component trees to native views (via the bridge or the New Architecture/JSI). Styling uses a Flexbox-like StyleSheet subset - not full browser CSS. Agents stick to platform-safe APIs, isolate native module usage, prefer well-maintained navigation (React Navigation), and clarify Expo managed vs bare workflow before adding native code.
JS/TS React tree
|
Fabric / Bridge
|
Native views (UIKit / Android Views)
View, Text, Pressable) - not DOM tags.FlatList / FlashList) for long data.__DEV__-only debug tools or hardcoded API secrets in release.import { useState } from "react";
import { View, Text, Pressable, StyleSheet, ActivityIndicator } from "react-native";
export function AddItem({ onAdd }: { onAdd: () => Promise<void> }) {
const [busy, setBusy] = useState(false);
async function handlePress() {
if (busy) return;
setBusy(true);
try {
await onAdd();
} finally {
setBusy(false);
}
}
return (
<View style={styles.row}>
<Pressable onPress={handlePress} disabled={busy} style={styles.btn}>
{busy ? <ActivityIndicator /> : <Text style={styles.label}>Add item</Text>}
</Pressable>
</View>
);
}
const styles = StyleSheet.create({
row: { padding: 16 },
btn: { paddingVertical: 12, paddingHorizontal: 16, backgroundColor: "#222" },
label: { color: "#fff", fontWeight: "600" },
});
npx create-expo-app@latest
npx expo start
npx react-native run-android
npx react-native run-ios
cd android && ./gradlew assembleRelease
| Pitfall | Why it hurts | Fix |
|---|---|---|
| Using web-only APIs | Runtime crashes | Platform checks / RN APIs |
| Unvirtualized long maps | Jank | FlatList/FlashList |
| Ignoring safe areas | Notch clipping | SafeAreaProvider |
| Mismatched native versions | Build failures | Align RN + pod/gradle |
@react - component and hooks fundamentals@android-studio / @xcode-ios - native build tooling@firebase - auth/push/analytics backendsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization.Other plugins' skills for the same job
/act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.