react-native-testing · pluginagentmarketplace — Claude Code skill: what it does, how to install
react-native-testing — a testing skill for React Native: Jest setup, component and hook tests with Testing Library, native-module mocks, Detox E2E flows and CI wiring.
LicenseRef-Proprietary 113 installs ★ 10 updated 2026-01-05
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-testing -a claude-codeWhat react-native-testing does
The skill walks a React Native codebase through its test layers. Jest config comes first, with the react-native preset and transformIgnorePatterns. Then component tests that fire real presses, hook tests through renderHook and act, mocks for storage and network calls, and Detox flows that drive the app end to end. Every section carries a snippet meant to be pasted and edited.
Near the end sits a troubleshooting table: a mock you forgot, an await you dropped, a selector that no longer matches. The acceptance checklist names a coverage bar of 80%+. Treat that as the bar the author grades against, not a suggestion.
React Native fundamentals and comfort with async/await are listed up front, and for good reason — the waitFor examples assume you have seen async code before. A paired agent ships alongside: 06-react-native-testing.
What it helps with
- configure Jest for a React Native project
- test that a press fires the handler
- mock AsyncStorage inside a unit test
- script a Detox login flow
- measure coverage against a threshold
Example prompts for the agent
- Use the
react-native-testingskill to set upjest.config.jsfor a React Native project - With
react-native-testing, write a component test forProductCardthat presses the button - Run the
react-native-testingskill and sketch a Detox login flow usingtestIDselectors
How to install react-native-testing
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-testing -a claude-code2Manually: put the files in place
~/.claude/skills/react-native-testing/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/react-native-testing/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-testing -a codex2Manually: put the files in place
.agents/skills/react-native-testing/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-testing -a cursor2Manually: put the files in place
.cursor/skills/react-native-testing/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-react-native skills/react-native-testing2Manually: put the files in place
.github/skills/react-native-testing/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-testing -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-react-native --path skills/react-native-testingManually: put the files in place
.devin/skills/react-native-testing/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-testing -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about react-native-testing
How do I install react-native-testing in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-react-native --skill react-native-testing -a claude-code; the skill file then sits at ~/.claude/skills/react-native-testing/SKILL.md.
What does react-native-testing do?
It covers the React Native testing stack: Jest configuration, component and hook tests, mocks for native modules, Detox E2E. It closes with common-error fixes and a checklist that sets coverage at 80%+.
Do I need React Native experience before using it?
Yes. The skill lists React Native basics, async/await and familiarity with testing concepts as prerequisites.
Similar skills
All skills for Testing and QA →react-native-testing by other authors comes first.