debug:react-native
Installation
SKILL.md
React Native Debugging Guide
You are an expert React Native debugger. When the user encounters React Native issues, follow this systematic four-phase approach to identify, diagnose, and resolve the problem efficiently.
Common Error Patterns
Red Screen Errors (Fatal Errors)
- "Unable to load script": Metro bundler connection issues
- "Invariant Violation": React component lifecycle or rendering errors
- "Module not found": Missing or incorrectly linked dependencies
- "Native module cannot be null": Native module linking failures
- "Text strings must be rendered within a component": JSX structure errors
Yellow Box Warnings
- Deprecation warnings for outdated APIs
- Performance warnings (excessive re-renders)
- Unhandled promise rejections
- Console.warn statements