# react-native-skia

react-native-skia — a skill that walks an agent through Skia work in React Native: drawing, animating, profiling, and reading the visual bugs that come out of a canvas.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 133 installs · ★ 4 repo stars
- Author: tristanmanchester
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/tristanmanchester/agent-skills/tree/HEAD/react-native-skia/SKILL.md
- Updated: 2026-09-14
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/react-native-skia

## What it does

The skill steers an agent through Skia work in a React Native app: canvases, paths, shaders, images and animated graphics, plus debugging and profiling whatever lands on screen. Normal screens stay as native views. A canvas shows up only where custom drawing is the actual job, and the skill says so plainly: don't add one just to make ordinary UI look smoother.

It ships as a set of reference files the agent pulls in per task: setup and version contracts, a tree for picking drawing primitives, material on motion and performance, a symptom-first debugging matrix, animation recipes, a template index. Those templates sit in the skill folder rather than your project, and they are starting points to adapt against real imports and component lifecycle.

Two requirements come first: React Native 0.79+ with React 19+ for current native Skia, and Reanimated 4 when you animate on Skia 2.10+. What actually compiles depends on the versions locked in your app, so read the lockfile before touching dependencies. Worklets still eat frame time, and mocks or CanvasKit tests say nothing about how a native build draws — that takes a release-like build on a device.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add tristanmanchester/agent-skills --skill react-native-skia -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add tristanmanchester/agent-skills --skill react-native-skia -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add tristanmanchester/agent-skills --skill react-native-skia -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install tristanmanchester/agent-skills react-native-skia
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add tristanmanchester/agent-skills --skill react-native-skia -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/tristanmanchester/agent-skills --path react-native-skia
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tristanmanchester/agent-skills --skill react-native-skia -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/tristanmanchester/agent-skills/tree/HEAD/react-native-skia/SKILL.md

## When to use it
- draw a shader-driven canvas without guessing at the setup
- pick between Picture, Atlas and plain shapes for a scene
- trace a stutter in a release build
- snapshot a texture and wait for assets instead of a timer
- check Skia, Reanimated and Worklets versions before an upgrade

## Example prompts
- Build a Skia canvas screen with a gradient shader and two animated circles, dragged with Gesture Handler.
- The Skia animation stutters on Android in release builds. Look at my drawing primitives and tell me which ones cost the most.
- Read the Skia, React Native and Reanimated versions in `package-lock.json` before you change anything.

## Similar
- [reanimated-skia-performance](https://affpapa.org/en/nevibecode/skills/reanimated-skia-performance.md) — skill · 988 installs
- [react-native-vision-camera-realtime](https://affpapa.org/en/nevibecode/skills/react-native-vision-camera-realtime.md) — skill · 147 installs
- [vercel-react-native-skills](https://affpapa.org/en/nevibecode/skills/vercel-react-native-skills.md) — skill · 283800 installs
- [react-native-expert](https://affpapa.org/en/nevibecode/skills/react-native-expert.md) — skill · 5300 installs
- [expo-react-native-typescript](https://affpapa.org/en/nevibecode/skills/expo-react-native-typescript.md) — skill · 2300 installs
- [react-native-dev](https://affpapa.org/en/nevibecode/skills/react-native-dev.md) — skill · 2000 installs

From the same set: [tristanmanchester/agent-skills](https://affpapa.org/en/nevibecode/by/tristanmanchester/agent-skills.md) — 9 cards

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