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

Discovery

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 capabilities (APIs, version differences), explicit trigger guidance with both a 'Use when' and 'Triggers on' clause, and natural keywords users would actually use. The description is concise yet comprehensive, and its narrow focus on RNTL makes it highly distinctive.

DimensionReasoningScore

Specificity

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

3 / 3

Completeness

Clearly answers both 'what' (write tests using RNTL, covering specific APIs and version differences) 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 the package name '@testing-library/react-native'.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive — narrowly scoped to React Native Testing Library specifically, with version numbers and package name. Unlikely to conflict with general testing skills, web React testing skills, or other React Native skills.

3 / 3

Total

12

/

12

Passed

Implementation

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 provides exactly the information Claude needs to write RNTL tests correctly—query priority, interaction patterns, assertion matchers, common rules—without over-explaining. The version detection workflow and progressive disclosure to version-specific references are particularly well done.

DimensionReasoningScore

Conciseness

The content is lean and efficient. Every section provides actionable tables, code snippets, or rules without explaining concepts Claude already knows. The opening caveat about outdated training data is justified and earns its tokens. No filler or unnecessary explanations of what React Native or testing libraries are.

3 / 3

Actionability

Fully executable code examples for userEvent, fireEvent, waitFor, custom render, and fake timers. Query priority is explicit and ordered. The rules section provides specific, concrete do/don't guidance. Tables give precise return types and async behavior.

3 / 3

Workflow Clarity

The workflow is clear: detect version → load correct reference → use query priority → apply interaction patterns → follow rules. The version detection step is an explicit first action. The rules section provides clear sequencing guidance (e.g., 'action first, then wait for result'). For a non-destructive task like writing tests, this level of workflow clarity is appropriate.

3 / 3

Progressive Disclosure

Excellent progressive disclosure: the SKILL.md serves as a concise overview with version-specific API references, anti-patterns, and detailed docs linked as one-level-deep references. The version detection section clearly directs to the appropriate reference file. Content is appropriately split between the overview and detailed reference files.

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.