react-native-cursor-rules
Installation
SKILL.md
React Native Cursor Rules
Expert guidelines for React Native development by Will Sims, focusing on type-safe TypeScript code, performance optimization, and maintainable component architecture.
Code Style and Structure
- Write concise, type-safe TypeScript code
- Use functional components and hooks instead of class components
- Ensure components are modular, reusable, and maintainable
- Organize files by feature, grouping related components, hooks, and styles
Naming Conventions
- Use camelCase for variables and functions (e.g.,
isFetchingData,handleUserInput) - Use PascalCase for components (e.g.,
UserProfile,ChatScreen) - Directory names should be lowercase and hyphenated (e.g.,
user-profile,chat-screen)