CtrlK
BlogDocsLog inGet started
Tessl Logo

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React 18, sync render) and v14 (React 19+, async render). Triggers on: test files for React Native components, RNTL imports, mentions of "testing library", "write tests", "component tests", or "RNTL".

93

1.70x
Quality

91%

Does it follow best practices?

Impact

94%

1.70x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is react-native-testing in callstack/react-native-testing-library

SKILL.md
Quality
Evals
Security

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, actionable test-writing guide with excellent progressive disclosure and concise tables. Its main gap is the absence of an explicit test-verification checkpoint in the workflow.

Suggestions

Add a final workflow step instructing Claude to run the test (e.g., `jest <path>`) and confirm it passes for the right reason / fails for the right reason, to close the verification gap.

In the Version Detection section, show the exact package.json field check (e.g., grep `@testing-library/react-native` version) so the branching step is fully executable.

Tighten the opening italic disclaimer to one line so it stays lean while retaining the don't-trust-memorized-APIs warning.

DimensionReasoningScore

Conciseness

Mostly lean tables, terse rules, and minimal prose with no generic concept padding; the opening version-accuracy disclaimer is slightly more than minimal but is load-bearing for this API-version-sensitive skill, so it sits just below a 5.

4.5 / 5

Actionability

Copy-paste-ready code blocks for userEvent, fireEvent, render wrappers, waitFor, and fake timers, plus concrete tables of matcher and role signatures, match the fully-executable anchor.

5 / 5

Workflow Clarity

Version Detection and Query Priority give a clear sequence, but there is no explicit verification checkpoint (e.g., run the test and confirm it passes/fails for the right reason), leaving a validation gap between anchors 3 and 4.

3.5 / 5

Progressive Disclosure

The body is an overview pointing to one-level-deep, clearly signaled reference files (v13, v14, anti-patterns) that all exist on disk, with easy navigation via the Version Detection and References sections.

5 / 5

Total

18

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, specific description that explicitly covers capabilities, versions, and triggers. Only minor overlap risk exists with the React web Testing Library skill due to the shared 'testing library' phrase.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities (render, screen, queries, matchers, userEvent, fireEvent, waitFor, async patterns) across both v13 and v14 with version-specific behavior, matching the comprehensive-coverage anchor.

5 / 5

Completeness

Clearly answers both 'what' (write tests with RNTL v13/v14 covering listed capabilities) and 'when' (explicit 'Use when' and 'Triggers on' trigger phrases), matching the top anchor.

5 / 5

Trigger Term Quality

An explicit 'Triggers on' clause plus a 'Use when' clause provide natural user phrases ('write tests', 'component tests', 'testing library') with synonyms (RNTL), matching the comprehensive-coverage anchor.

5 / 5

Distinctiveness Conflict Risk

Niche is clearly React Native Testing Library with version pinning, but 'testing library' alone is ambiguous with the web variant, leaving minor overlap risk rather than minimal.

4 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
callstackincubator/agent-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.