Borrowing it
Nothing to install: this file belongs to 2SSK/dot-files. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/2SSK/dot-files/main/.claude/skills/react-native-best-practices/SKILL.mdgit clone --depth 1 https://github.com/2SSK/dot-filesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/2ssk/dot-files/react-native-best-practices)<a href="https://agentmods.dev/skills/2ssk/dot-files/react-native-best-practices"><img src="https://agentmods.dev/badge/skills/2ssk/dot-files/react-native-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/2ssk/dot-files/react-native-best-practices"><img src="https://agentmods.dev/badge/skills/2ssk/dot-files/react-native-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.00561 |
| Opus 5.5 | $0.00010 | $0.00224 |
| Sonnet 5.5 | $0.00005 | $0.00112 |
| Haiku 4.5 | $0.00003 | $0.00056 |
Grade A, and why
react-native-best-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
React Native Best Practices
Cross-platform mobile development with React Native.
Core Principles
- Cross-platform first: 80%+ shared code
- Native when needed: Platform-specific modules
- Performance: Cold start < 1.5s, memory < 120MB
- Offline-first: Local data, sync later
Cross-Platform Code
// Platform.select for different implementations
import { Platform } from 'react-native';
const styles = Platform.select({
ios: { paddingTop: 48 },
android: { paddingTop: 24 },
});
Navigation
// React Navigation
import { NavigationContainer } from '@react-navigation/native';
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={HomeScreen} />
</Stack.Navigator>
</NavigationContainer>
State Management
// Zustand for simple state
import { create } from 'zustand';
const useStore = create((set) => ({
count: 0,
increment: () => set((s) => ({ count: s.count + 1 })),
}));
Offline Storage
// WatermelonDB for offline-first
import { Database } from '@nozbe/watermelondb';
const database = new Database({
schema: appSchema,
modelClasses: [User, Post],
});
Native Modules
// TurboModule for New Architecture
import type { TurboModule } from 'react-native';
import { TurboModuleRegistry } from 'react-native';
export interface Spec extends TurboModule {
startActivity(options: string): Promise<void>;
}
export default TurboModuleRegistry.getEnforcing<Spec>('CameraModule');
Push Notifications
// @notifee/react-native
import messaging from '@react-native-firebase/messaging';
await messaging().requestPermission();
const token = await messaging().getToken();
Build Commands
# iOS
cd ios && pod install && cd ..
npm run build:ios
# Android
cd android && ./gradlew assembleRelease
Quality Gates
- 80%+ cross-platform code
- Cold start < 1.5s
- Memory baseline < 120MB
- Battery drain < 4%/hour
- 60+ FPS (120 for ProMotion)
- Crash rate < 0.1%
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 108 lines · 26 tokens per session scan A 6129be5fd2e3
react-native-best-practices is a skill published in the GitHub repository 2SSK/dot-files (258 stars, last pushed 9d ago), licensed MIT. It adds 26 tokens to every session and 561 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
react-native-best-practices compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-native-best-practices2SSK/dot-files | Skill | 258 | 9d ago | MIT | A | 26 | Claude Code |
| react-native-devMiniMax-AI/skills | Skill | 14k | 20d ago | MIT | A | 102 | Claude Code |
| expo-native-uiexpo/skills | Skill | 4.3k | today | MIT | A | 63 | Claude Code, Codex |
| vercel-react-native-skillsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 57 | Claude Code |
| android-navigation-3HoangNguyen0403/agent-skills-standard | Skill | 598 | today | MIT | A | 52 | Claude Code, Codex |
| mobiai-react-nativeArisGuimera/MobiAI-Core | Skill | 496 | today | MIT | A | 26 | Claude Code |
| taro-ui-guidejd-opensource/taro-ui | Skill | 4.7k | 2mo ago | MIT | A | 66 | Claude Code, Codex |