/awesome-react-native-skills:react-native-testingfrom awesome-react-native-skills
Deep reference for React Native Testing Library v13 (React 18 sync) and v14 (React 19 async). Covers queries, userEvent, matchers, anti-patterns, and migration between versions.
Ships in awesome-react-native-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Deep API reference for
@testing-library/react-nativev13 and v14.Scope: unit + component tests with Jest + RNTL. For end-to-end UI flows on real devices/simulators, use Maestro — declarative YAML flows, no code, runs against the built app. RNTL and Maestro are complementary, not alternatives.
IMPORTANT: API signatures, sync/async behavior, and available functions differ between v13 and v14. Always check the project's package.json and load the matching version reference rather than relying on memorized patterns.
Check @testing-library/react-native in package.json:
test-renderer)react-test-renderer)| Topic | Description | Reference |
|---|---|---|
| Core patterns | Query priority, render/screen, userEvent vs fireEvent, waitFor, 11 core rules | core-patterns |
| v13 API (React 18) | Sync render, full method tables, fireEvent sync, React 19 compat shims | reference-v13-api |
| v14 API (React 19) | Async render, await-based APIs, removed APIs, v13→v14 migration codemods | reference-v14-api |
| Anti-patterns | Wrong queries, waitFor misuse, unnecessary act, destructuring, missing await | best-practices-anti-patterns |
screen for queries — never destructure from render()getByRole first with { name: '...' } option (most accessibility-aware)findBy* for async elements — not waitFor + getBy*userEvent over fireEvent — more realistic interaction simulationqueryBy* only for non-existence assertions (.not.toBeOnTheScreen())await every API (including render, fireEvent, act)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub maikotrindade/awesome-react-native-skills --plugin awesome-react-native-skills14 skills in this plugin
/githubGitHub patterns using gh CLI for pull requests, stacked PRs, code review, branching strategies, and repository automation. Use when working with GitHub PRs, merging strategies, or repository management tasks./github-actionsGitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up CI build pipelines or downloading GitHub Actions artifacts via gh CLI and GitHub API./react-native-brownfield-migrationProvides an incremental adoption strategy to migrate native iOS or Android apps to React Native or Expo using @callstack/react-native-brownfield for initial setup. Use when planning migration steps, packaging XCFramework/AAR artifacts, and integrating them into host apps.Other plugins' skills for the same job