| name | critical-rules |
| description | Non-negotiable React Native rules that prevent crashes, data loss, security breaches, and compliance violations. Use on every change as a baseline safety check, regardless of the task. |
| version | 1.0.1 |
| platforms | ["ios","android"] |
| react-native-version | 0.76+ |
| tags | ["react-native","safety","crashes","security","compliance"] |
Critical Rules
Applicability
- Platforms: iOS and Android
- React Native: 0.76+ (New Architecture interop assumed unless a checklist item says otherwise)
When to Use
- On every React Native change, as a baseline safety check
- Before merging any code that touches rendering, data, auth, or storage
- When reviewing a change for crash, data-loss, security, or compliance risk
These rules are intended to apply broadly rather than to one activity. The detailed guidance behind them lives in the related skills: architecture, state-and-data, and security.
Guidance
Crashes
Data Loss
Security
Compliance
Network
Dates
Pitfalls
- These are baseline rules, not the full picture — the focused skills (
architecture, state-and-data, security) explain the why and show correct/incorrect examples.
- A rule that "usually" holds is still worth checking every time; crashes and leaks come from the one case that was skipped.