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".

98

1.70x
Quality

100%

Does it follow best practices?

Impact

94%

1.70x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

100%

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

This is an excellent skill file that is concise, highly actionable, and well-structured. It efficiently covers version detection, query selection, interactions, assertions, and common patterns with executable code examples and clear tables. The progressive disclosure to version-specific references is well-designed, and the rules section provides unambiguous constraints that prevent common mistakes.

DimensionReasoningScore

Conciseness

The content is lean and efficient. Every section provides only what Claude needs — tables for quick lookup, concise code examples, and no unnecessary explanations of basic concepts. The opening caveat about outdated training data is justified and actionable.

3 / 3

Actionability

Provides fully executable code examples for userEvent, fireEvent, waitFor, fake timers, and custom render. Query priority, variant tables, and matcher tables give concrete, copy-paste-ready guidance. The rules section is specific and directly actionable.

3 / 3

Workflow Clarity

The workflow is clear: detect version → load correct reference → use query priority → apply interaction patterns → assert with matchers. The numbered rules provide unambiguous constraints. For a non-destructive testing skill, the sequence and validation guidance (e.g., 'use findBy* instead of waitFor + getBy*') is sufficient.

3 / 3

Progressive Disclosure

The SKILL.md serves as a well-structured overview with clear references to version-specific API references (v13, v14) and an anti-patterns file. References are one level deep and clearly signaled. The main file contains enough to work with while pointing to detailed docs for version-specific behavior.

3 / 3

Total

12

/

12

Passed

Description

100%

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

This is an excellent skill description that hits all the marks. It provides specific concrete capabilities, comprehensive trigger terms that users would naturally use, explicit 'Use when' and 'Triggers on' clauses, and is clearly distinguishable from related skills (e.g., web React testing, general Jest testing). The description is concise yet thorough, using proper third-person voice throughout.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions and concepts: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, async patterns, and version-specific behaviors (sync vs async render).

3 / 3

Completeness

Clearly answers both 'what' (write tests using RNTL v13/v14, covering specific APIs and patterns) and 'when' (explicit 'Use when' clause for writing/reviewing/fixing tests, plus a 'Triggers on' clause listing specific trigger conditions).

3 / 3

Trigger Term Quality

Excellent coverage of natural trigger terms users would say: 'testing library', 'write tests', 'component tests', 'RNTL', 'test files for React Native components', 'RNTL imports', plus specific API names like userEvent, fireEvent, waitFor that users would reference.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive — specifically scoped to React Native Testing Library (not React Testing Library for web, not other test frameworks), with version-specific details (v13/v14) and the specific package name (@testing-library/react-native) that clearly distinguish it from general testing or web testing skills.

3 / 3

Total

12

/

12

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
callstack/react-native-testing-library
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.