01
It starts by itself
a component changes. Runs in Claude Code routine.
- ↻ a component changes
pull request changes React Native component files
Keep React Native components covered.
Install the React Native Testing skill and make it a habit: follow https://gethabit.dev/skills/callstack/react-native-testing.md
5K installs3K starsMIT licenceSource on GitHub ↗

React Native Testing
by callstack · 5K installs
The skill
The react native testing skill writes and fixes component tests with React Native Testing Library v13 and v14: render and screen, query priority, Jest matchers, userEvent, fireEvent, waitFor and async patterns.
Only when you ask.
The habit
Keep React Native components covered.
↻ Runs by itselfa component changes
When does it start? How does it check its work? What does it remember?
Stops after the changed components and 2 fix rounds per run.
Your agent reads @testing-library/react-native from package.json.
It loads references/api-reference-v14.md or references/api-reference-v13.md.
It uses screen with getByRole first and getByTestId last.
It uses userEvent, with fireEvent only for unsupported events and fake timers for presses.
It compares the tests to references/anti-patterns.md.
It runs the tests and fixes failures.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the React Native Testing skill helps.
In v14 it is async; in v13 it is sync.
A View needs accessible set to true, or use Pressable.
Copy the prompt at the top into your agent. It installs the skill from callstack/react-native-testing-library and sets up the habit. Or run npx skills add callstack/react-native-testing-library --skill react-native-testing.
Yes. It is published under MIT. Habit is free too.
Install the React Native Testing skill and make it a habit: follow https://gethabit.dev/skills/callstack/react-native-testing.md
All callstack skills →More code skills →
Works in
Made by callstack, published under MIT. Habit links to the original and never changes it. Is this your skill?