iging/agent-spec/react-native-best-practices

Claude Code and agent skill by iging/agent-spec

Trust tier 3
  • community
Source check pending

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-practices

SKILL.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

  1. Task: Route complex mobile tasks to domain sub-skills.
  2. Target Tool: React Native / Expo New Architecture.
  3. Output Format: Solution matching the routed sub-skill guidelines.
  4. Constraints: Read sub-skills in references/ before writing or reviewing code.

2. Trigger Matrix

ScenarioDecisionAction
Complex React Native / Expo code taskYESRoute to reference sub-skill
Changing text color / basic editNODirect execution

3. Execution Workflow

  1. Analyze Request: Determine the domain of the React Native task (e.g. animation, gesture, SVG, audio, AI, JSI).
  2. 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.
  1. 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.json with react-native, expo, or expo-router.

7. Anti-Pattern Compliance

Anti-PatternPrevention
AP-41Forces reading reference sub-skills before writing C++/native code

8. Versioning

  • v1.0.0 (2026-08-30): Initial release.

9. Portability Matrix

RuntimeStatus
React Native / ExpoVerified

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/iging/agent-spec/react-native-best-practices/badge)](https://verified-skill.com/skills/iging/agent-spec/react-native-best-practices)

Something wrong with this skill or its page? Tell us.