callstackcallstackOfficialยท4 Agent Skills Included

react-native-testing-library

Write reliable React Native component tests with user-focused patterns

Writes and fixes React Native component tests using Testing Library patterns for versions 13 and 14. Eliminates brittle tests tied to implementation details, wrong query usage, and outdated API assumptions. Guides AI agents to pick correct queries, simulate real user interactions, and handle async rendering automatically.
npx skills add callstack/react-native-testing-library --all -g -y
Available:

Tells the AI agent which yarn commands to run, forbids git history changes, and routes it to task-specific guidance files for testing, architecture, and code style.

All Skills in This Repository (4)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install React Native Testing Library skills?โ–ผ

Run `npx skills add callstack/react-native-testing-library --all -g -y` in your terminal to install all skills in this suite globally.

How to test React Native components with AI?โ–ผ

The skill teaches your AI agent to render components, query elements by role, and simulate real user interactions like presses and typing using RNTL best practices.

Does it support both RNTL v13 and v14?โ–ผ

Yes. The skill detects your installed version and loads the correct API reference, since v13 uses sync rendering and v14 requires awaiting async APIs.

What testing mistakes does this skill prevent?โ–ผ

It prevents common anti-patterns like querying by testID instead of role, misusing waitFor, skipping await on async APIs, and asserting on props instead of user-visible behavior.

Does it work with Claude Code and other AI agents?โ–ผ

Yes. The skills follow the universal SKILL.md standard and work in Claude Code, Cursor, Codex, and other compatible AI coding agents.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’