Write tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React 18, sync render) and v14 (React 19+, async render).
安装
npx skills add callstackincubator/agent-skills --skill react-native-testingnpx skills add callstackincubator/agent-skills --skill react-native-testing -a claude-code -gnpx skills add callstackincubator/agent-skills --skill react-native-testing -a codex -ggemini skills install https://github.com/callstackincubator/agent-skills.git --path plugins/vendored/.agents/skills/react-native-testinggh skill install callstackincubator/agent-skills react-native-testinggit clone --depth 1 https://github.com/callstackincubator/agent-skills /tmp/callstackincubator__agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/callstackincubator__agent-skills/plugins/vendored/.agents/skills/react-native-testing ~/.claude/skills/react-native-testing # Claude Code
cp -R /tmp/callstackincubator__agent-skills/plugins/vendored/.agents/skills/react-native-testing ~/.agents/skills/react-native-testing # Codex, Cursor, Gemini CLI, Copilot, OpenCode