Dev & Engineering react-native-testingreact-native-testing-libraryrntljestcomponent-testinguser-eventasync-testing

React Native Test Guide

Helps AI write dependable React Native component tests

FollowSkills review · FSRS-2.0
Not recommended
54/ 100 5-point scale 2.7 / 5
Trust18 / 25 · 3.6/5

The skill only provides test-writing guidance; it requests no permissions, performs no external actions, and handles no credentials or sensitive data, so its risk surface is low. Points are deducted because data flows, dependency security, user confirmation, rollback, and source verification are not specified; publisher identity is also unverified.

Reliability8 / 20 · 2.0/5

Version detection, v13/v14 routing, query guidance, and async rules are relatively coherent and supported by multiple reference files. Points are deducted because this static review did not execute tests, and the skill lacks project-level reproduction, abnormal-input handling, and diagnosable failure feedback; some behavior depends on actual project configuration.

Adaptability11 / 15 · 3.7/5

The audience, React Native component-testing scenarios, trigger terms, and broad coverage are clear, with separate RNTL v13 and v14 guidance. Points are deducted because non-fit scenarios, input/output boundaries, and Chinese-language guidance are not explicit. Core functionality does not depend on unreachable overseas services, so no additional mainland-network deduction is warranted.

Convention8 / 15 · 2.7/5

The documentation uses a useful layered structure of main guidance, version-specific references, and anti-patterns, with many examples, limitation notes, and MIT license context. Points are deducted because the skill itself lacks installation notes, version history, changelog, named maintenance responsibility, and a clear update path.

Effectiveness6 / 15 · 2.0/5

It covers common queries, interactions, assertions, async patterns, and custom rendering, with examples that are directly adaptable to tests and therefore provide clear practical value. Points are deducted because there is no committed representative test suite or execution evidence, and version or project-configuration differences still require manual checking.

Verifiability3 / 10 · 1.5/5

Versioned reference files and concrete API signatures make key recommendations somewhat auditable. Points are deducted because there are no third-party sources, CI results, committed tests, or independent reproduction evidence, so static review cannot confirm the accuracy of the API and migration claims.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision f6b87e35a35c
Before you use it
  • No code or tests were executed; the score does not independently validate the documented RNTL APIs.
  • Before use, verify the project's actual package.json, React version, test renderer, and installed RNTL version.
  • Add source citations, maintenance ownership, a changelog, and CI tests covering the key v13/v14 paths.
Review evidence [1][2][3][4][5][6][7]
See the full review method →

What does this skill do, and when should you use it?

This Agent Skill guides React Native component testing with React Native Testing Library (RNTL) v13 and v14. It covers rendering, screen queries, Jest matchers, userEvent, fireEvent, waitFor, and async testing patterns. It detects the RNTL version from package.json and routes work to the matching reference material. It is suited to developers writing, reviewing, or fixing React Native component tests.

Reads the project package.json to identify @testing-library/react-native v13 or v14, then loads the version-specific API reference; guides AI in producing or editing tests with render, screen queries, userEvent, fireEvent, waitFor, custom wrappers, and RNTL Jest matchers; and flags query-priority rules, async behavior, and common anti-patterns.

  1. A React Native developer adding component tests can use it to choose version-correct rendering and query patterns.
  2. A team maintaining a React 18 and RNTL v13 project can use it for synchronous API guidance.
  3. A team migrating to React 19 and RNTL v14 can use it to handle async rendering and migration differences.
  4. A reviewer checking files with RNTL imports can use it to assess queries, events, and waitFor usage.
  5. A developer testing buttons, text inputs, accessibility states, or async results can use it to select suitable queries and Jest matchers.

What are this skill's strengths and limitations?

Pros
  • Clearly separates RNTL v13 and v14 guidance, including React 18 and React 19+ differences.
  • Provides concrete rules for query priority, interactions, async testing, and waitFor.
  • Includes reference examples for userEvent, waitFor, custom rendering, and Jest matchers.
  • Favors accessibility queries and RNTL matchers over brittle raw prop assertions.
Limitations
  • Covers React Native component testing, not a complete end-to-end or native-module testing strategy.
  • The source provides no dedicated test suite, platform support matrix, or list of tested projects for this skill.
  • Usage depends on version-specific reference files whose full contents are not included in the supplied material.

How do you install this skill?

The skill is located at https://github.com/callstackincubator/agent-skills in plugins/vendored/.agents/skills/react-native-testing/SKILL.md. The README says the repository supports Codex bundled plugins through .agents/plugins/marketplace.json, but it does not provide a standalone installation command for this skill.

How do you use this skill?

Install or place the skill in a compatible Agent Skills directory, then invoke it for React Native component-testing tasks. Example prompts: "Use RNTL v14 to write tests for this React Native component" or "Review this RNTL test and fix its async query usage." The project should declare @testing-library/react-native v13 or v14 in package.json.

FAQ

Does this skill cost extra?
The source does not state an additional cost; the repository is licensed under MIT.
Which RNTL versions does it support?
It explicitly supports @testing-library/react-native v13 and v14; v13 is paired with React 18, while v14 is paired with React 19+.
Does it install testing dependencies automatically?
No such behavior is documented. The material says it reads package.json and loads version-specific references, but does not describe dependency installation.
Why prefer findBy* over waitFor with getBy*?
For elements that appear asynchronously, the skill explicitly recommends findBy*. waitFor should wait for results and should not contain side effects.

More skills from this repository

All from callstackincubator/agent-skills

Dev & Engineering

React Native Library Builder

Scaffold publishable React Native libraries or local native modules with a guided workflow.

Dev & Engineering

Mobile App Dogfood Tester

Systematically explore iOS and Android apps and produce bug reports backed by screenshots and reproducible steps.

Dev & Engineering

React Native Performance Guide

Diagnose and improve React Native performance with measured, evidence-based guidance.

Dev & Engineering

React Native Upgrade Assistant

A guided workflow for upgrading React Native apps through template diffs, dependency migration, and native configuration changes.

Dev & Engineering

React Native Migration Assessor

Evidence-led decisions for React Native migration readiness

Dev & Engineering

React Navigation UI Guide

Practical React Navigation 7 patterns for building and configuring React Native navigation interfaces.

Dev & Engineering

React Native TV Review Guide

Systematically review TV-specific focus, playback, performance, and accessibility issues in React Native apps.

Dev & Engineering

React Native Brownfield Migration

Guides incremental React Native or Expo adoption inside existing native iOS and Android apps.

Dev & Engineering

React Native Performance Playbook

Actionable rules for building faster, more reliable React Native and Expo apps.

Automation & Ops

React Native GitHub Actions Artifacts

Build React Native simulator artifacts in the cloud and retrieve them from GitHub.

Dev & Engineering

Cross-Platform Device Operator

Enables AI coding assistants to inspect and operate Apple-platform and Android apps.

Dev & Engineering

Skill Spec Validator

Checks Agent Skills against the agentskills.io spec and Claude Code best practices.

Dev & Engineering

GitHub PR Workflow Assistant

Manage pull requests, stacked branches, and merges through the gh CLI.

Related skills