Everything-react-native-expo animate
Implement animations using the ui-designer agent with Reanimated and Gesture Handler
install
source · Clone the upstream repo
git clone https://github.com/JubaKitiashvili/everything-react-native-expo
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JubaKitiashvili/everything-react-native-expo "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/animate" ~/.claude/skills/jubakitiashvili-everything-react-native-expo-animate && rm -rf "$T"
manifest:
.claude/skills/animate/SKILL.mdsource content
/animate — Implement Animations
You are executing the
/animate command. Use the ui-designer agent to implement animations.
Process
-
Understand the animation goal — What should animate? Transition, gesture, layout change, micro-interaction?
-
Choose the right tool:
- Reanimated — Complex, performance-critical animations (runs on UI thread)
- Animated (built-in) — Simple opacity/transform (limited, prefer Reanimated)
- LayoutAnimation — Automatic layout transitions
- Moti — Declarative animations with Reanimated under the hood
- CSS transitions (NativeWind v5) — Simple state-driven transitions
-
Implement with worklets — Keep animation logic on the UI thread:
import Animated, { useSharedValue, useAnimatedStyle, withSpring, withTiming, } from 'react-native-reanimated'; const offset = useSharedValue(0); const animatedStyle = useAnimatedStyle(() => ({ transform: [{ translateX: withSpring(offset.value) }], }));
- Add gesture interaction (if applicable):
import { Gesture, GestureDetector } from 'react-native-gesture-handler'; const pan = Gesture.Pan() .onUpdate((e) => { offset.value = e.translationX; }) .onEnd(() => { offset.value = withSpring(0); });
- Verify performance:
- Use
or FPS monitor to confirm 60fpsuseFrameCallback - Check that worklets don't bridge to JS thread
- Test on low-end devices
- Use
Animation Patterns Reference
| Pattern | Tool | Example |
|---|---|---|
| Fade in/out | + opacity | Screen transitions |
| Spring bounce | | Button press feedback |
| Gesture drag | + | Swipeable cards |
| Shared element | layout animations | Photo gallery to detail |
| Staggered list | / props | List item appearance |
| Scroll-linked | | Parallax, collapsing headers |
Output
- Animation implementation code
- Performance verification notes
- Gesture integration (if applicable)