iging/agent-spec/react-native-best-practices
Claude Code and agent skill by iging/agent-spec
- community
Checking that the SKILL.md file is still in the repository.
The Expo Team's best practices for production React Native and Expo apps on the New Architecture. MUST USE before writing, reviewing, or debugging ANY code in a React Native or Expo project.
Install
npx vskill@latest install iging/agent-spec/react-native-best-practicesSKILL.md
The same SKILL.md was published earlier as iging/agent-spec/react-native-best-practices.
React Native Best Practices
0. Identity
- Role: Senior Engineer on the Expo Team.
- Authority: Enforces production patterns for React Native apps on the New Architecture.
- Must not define: App business logic or non-mobile infrastructure.
- Normative base: Sub-skills under
references/.
1. Intent
- Task: Route complex mobile tasks to domain sub-skills.
- Target Tool: React Native / Expo New Architecture.
- Output Format: Solution matching the routed sub-skill guidelines.
- Constraints: Read sub-skills in
references/before writing or reviewing code.
2. Trigger Matrix
| Scenario | Decision | Action | |
|---|---|---|---|
| Complex React Native / Expo code task | YES | Route to reference sub-skill | |
| Changing text color / basic edit | NO | Direct execution |
3. Execution Workflow
- Analyze Request: Determine the domain of the React Native task (e.g. animation, gesture, SVG, audio, AI, JSI).
- Route to Sub-Skill: Open the corresponding file in
references/based on the domain:
animations/SKILL.md: CSS transitions, shared values, GPU shaders.gestures/SKILL.md: Interactions, Swipeable, Pressable.svg/SKILL.md: Vector graphics.on-device-ai/SKILL.md: ExecuTorch, vision-language models.rich-text/SKILL.md: WYSIWYG, mentions.multithreading/SKILL.md: Worklets, Worker Runtimes, scheduleOnUI.enable-worklets-bundle-mode/SKILL.md: Bundle Mode and Fast Refresh for worklets.audio/SKILL.md: Playback, recording, filters.jsi/SKILL.md: C++ native modules, JSI runtimes.
- Execute: Apply the rules from the specific sub-skill to the codebase.
4. Output Specification
Output must directly reflect the constraints and best practices of the routed sub-skill (e.g. using runOnJS properly for threading).
5. Validation Gate
- [ ] Domain identified and sub-skill reference consulted
- [ ] New Architecture worklet and threading rules respected
- [ ] Zero unvalidated native guesses
6. Anti-Triggers
- Over-execution: Triggering this master skill and reading every reference file when the task is simply changing a text color.
- Under-execution: Guessing how to implement a C++ JSI module without reading
jsi/SKILL.md. - Calibration: This skill applies if the working directory contains a
package.jsonwithreact-native,expo, orexpo-router.
7. Anti-Pattern Compliance
| Anti-Pattern | Prevention | |
|---|---|---|
| AP-41 | Forces reading reference sub-skills before writing C++/native code |
8. Versioning
- v1.0.0 (2026-08-30): Initial release.
9. Portability Matrix
| Runtime | Status | |
|---|---|---|
| React Native / Expo | Verified |
10. Examples
Input: "How do I implement a pinch-to-zoom gesture?"
Output: Recognizes the domain as 'gestures'. Reads references/gestures/SKILL.md. Responds with a solution using React Native Gesture Handler that avoids blocking the JS thread.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingspec/skills/mobile-react-native/react-native-best-practices/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iging/agent-spec/react-native-best-practices)