# react-native-animations

Teaches coding assistants to build smooth 60fps animations with Reanimated 3 and Gesture Handler in React Native apps.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 663 installs · ★ 10
- Author: pluginagentmarketplace
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pluginagentmarketplace/custom-plugin-react-native/tree/HEAD/skills/react-native-animations/SKILL.md
- Updated: 2026-01-05
- HTML: https://affpapa.org/en/nevibecode/skills/react-native-animations

## What it does

This skill guides AI models through writing motion code for React Native. It covers state tracking with `useSharedValue`, style bindings via `useAnimatedStyle`, and physics-based transitions like `withSpring` or `withDecay`.

The instruction set includes patterns for touch tracking with `GestureDetector`, entering and exiting layout transitions, and coordinate interpolation. It also fixes typical pitfalls, such as missing `runOnJS` wraps for UI-to-JS calls and forgotten `worklet` directives. Your project must include `react-native-reanimated/plugin` in `babel.config.js` for these animation worklets to execute.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-animations -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/react-native-animations/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/react-native-animations/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-animations -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/react-native-animations/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-animations -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/react-native-animations/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pluginagentmarketplace/custom-plugin-react-native react-native-animations
```

2. **Manually: put the files in place**
- File: `.github/skills/react-native-animations/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-animations -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-react-native --path skills/react-native-animations
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/react-native-animations/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-animations -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pluginagentmarketplace/custom-plugin-react-native/tree/HEAD/skills/react-native-animations/SKILL.md

## When to use it
- Build swipeable cards with rotation and spring physics
- Add enter and exit transitions to list items using layout animations
- Resolve thread execution errors with missing `runOnJS` or `worklet` directives
- Chain multi-step animation sequences using `withSequence` and `withRepeat`

## Example prompts
- Create a draggable card component with `Gesture.Pan()` and spring return logic
- Add staggered fade-in animations for an item list using Reanimated layout helpers
- Fix an Attempted to call from worklet error in my gesture handler callback

## Similar
- [vercel-react-native-skills](https://affpapa.org/en/nevibecode/skills/vercel-react-native-skills.md) — skill · 255200 installs
- [animate-expo](https://affpapa.org/en/nevibecode/skills/animate-expo.md) — skill · 137900 installs
- [mobile-native](https://affpapa.org/en/nevibecode/skills/mobile-native.md) — skill · 86600 installs
- [aso](https://affpapa.org/en/nevibecode/skills/aso.md) — skill · 75400 installs
- [swiftui-pro](https://affpapa.org/en/nevibecode/skills/swiftui-pro.md) — skill · 35200 installs
- [orca-emulator](https://affpapa.org/en/nevibecode/skills/orca-emulator.md) — skill · 5800 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
