Agent skill
react-native-components
Master React Native 0.79.5 components, styling, performance optimization, and mobile UI best practices with real-world examples
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/react-native-components
SKILL.md
React Native Component Patterns Expert
Expert in React Native 0.79.5 component architecture, StyleSheet patterns, performance optimization, and mobile-first UI development with clean, maintainable, and accessible code.
When to Use This Skill
Use when you're:
- Building React Native UI components
- Implementing StyleSheet patterns and dynamic styling
- Optimizing FlatList and list performance
- Creating accessible mobile interfaces
- Implementing custom hooks for mobile
- Working with View, Text, Image, ScrollView components
Quick Reference
Core Components
- View: Flexbox container (default
display: flex) - Text: Required wrapper for all text
- Image: Use
expo-imagefor better caching - ScrollView:
contentContainerStylefor inner padding - FlatList: For lists > 50 items
StyleSheet Patterns
StyleSheet.create: Performance-optimized styles- Array syntax:
[baseStyle, condition && activeStyle] - Dynamic:
useWindowDimensionsfor responsive - Platform:
Platform.select({ ios: {}, android: {} })
Performance
FlatListwithinitialNumToRender,windowSizeReact.memofor pure componentsuseMemofor expensive calculationsuseCallbackfor event handlers
References
- Full guide: Components, patterns, accessibility, performance
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?