.claude/skills/animate/SKILL.md
Implement animations using the ui-designer agent with Reanimated and Gesture Handler
npx skillsauth add JubaKitiashvili/everything-react-native-expo animateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are executing the /animate command. Use the ui-designer agent to implement animations.
Understand the animation goal — What should animate? Transition, gesture, layout change, micro-interaction?
Choose the right tool:
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) }],
}));
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
const pan = Gesture.Pan()
.onUpdate((e) => {
offset.value = e.translationX;
})
.onEnd(() => {
offset.value = withSpring(0);
});
useFrameCallback or FPS monitor to confirm 60fps| Pattern | Tool | Example |
|---------|------|---------|
| Fade in/out | withTiming + opacity | Screen transitions |
| Spring bounce | withSpring | Button press feedback |
| Gesture drag | Gesture.Pan + useAnimatedStyle | Swipeable cards |
| Shared element | expo-router layout animations | Photo gallery to detail |
| Staggered list | entering/exiting props | List item appearance |
| Scroll-linked | useAnimatedScrollHandler | Parallax, collapsing headers |
development
Guided version migration for React Native and Expo SDK upgrades
development
Test-driven development workflow for React Native — Jest, React Native Testing Library, and Detox
development
Mobile security audit for React Native applications
development
Step-by-step performance diagnosis and optimization for React Native apps