bidah/react-native-hifi/gestures
Claude Code and agent skill by bidah/react-native-hifi
- community
Checking that the SKILL.md file is still in the repository.
Software Mansion's best practices for gestures in React Native apps using React Native Gesture Handler. Use when implementing tap, pan, pinch, rotation, swipe, long press, or any touch interaction. Trigger on: 'gesture handler', 'GestureDetector', 'tap gesture', 'pan gesture', 'swipe', 'pinch to zoom', 'drag', 'touch handling', or any request to handle user touch input in a React Native app.
Install
npx vskill@latest install bidah/react-native-hifi/gesturesSKILL.md
React Native Gesture Handler
Software Mansion's production gesture patterns for React Native using Gesture Handler. Never suggest PanResponder when RNGH is available — it runs on the JS thread and is effectively deprecated.
Version Decision Tree
Setup
- Wrap app in
<GestureHandlerRootView>. With navigation libraries (React Navigation, Expo Router, react-native-navigation), wrap each screen at registration time.
Critical Rules
useMemo every gesture - without it, gesture objects recreate on every render, causing recognizers to re-attach and lose state:
Scroll containers — use RectButton (not TouchableOpacity or Pressable). Also import ScrollView/FlatList from react-native-gesture-handler, not react-native:
References
Load at most one - the most directly relevant. Stop after loading it.
| File | Load when question is about | |
|---|---|---|
tap-handling.md | RectButton, tappable items in scroll containers, tap gestures | |
reanimated-patterns.md | Drag, pan, pinch-to-zoom, fling, Reanimated integration | |
gesture-composition.md | Combining gestures, Simultaneous/Race/Exclusive, cross-component |
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 repositoryCheckingskills/software-mansion-best-practices/gestures/SKILL.md
Popularity
- Repository stars
- 30
- Repository forks
- 2
- 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/bidah/react-native-hifi/gestures)