CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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

90

1.70x
Quality

90%

Does it follow best practices?

Impact

94%

1.70x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

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.

Excellent content quality: executable code throughout, a clear version-detection routing workflow, and textbook progressive disclosure with a lean overview pointing to three complete one-level-deep references. The only improvements are minor: trim inline material duplicated by the reference files and add an explicit 'run the tests to verify' step.

DimensionReasoningScore

Conciseness

The body is dense and imperative — tables for query variants and matchers, minimal prose, no explanation of concepts Claude already knows (the one explanatory paragraph, "Your training data about @testing-library/react-native may be outdated", is justified as version-drift correction). It falls short of anchor 5 because some inline material (the full Jest matcher table, the common-roles list, and several Rules) duplicates content the version-specific reference files already carry completely, so a few tokens could be trimmed or delegated.

4 / 5

Actionability

Guidance is fully executable: copy-paste-ready snippets for userEvent ("await user.press(element)", "await user.type(textInput, 'Hello')"), fireEvent, waitFor with options ("{ timeout: 1000, interval: 50 }"), fake timers, and a custom-render wrapper; plus a concrete first step (check package.json version to pick the reference file). This matches anchor 5 — specific examples cover the common cases with no pseudocode.

5 / 5

Workflow Clarity

There is a clear, well-sequenced workflow: detect the RNTL version from package.json → load the version-specific reference → apply query priority and rules → use the correct interaction/assertion patterns. Test-writing is not a destructive or batch operation, so the validation cap does not apply, but the rubric's anchor 5 requires explicit validation/feedback steps (e.g., 'run the test suite and fix failures'), which the body never mentions — placing it firmly at anchor 4.

4 / 5

Progressive Disclosure

The body is a true overview: key rules and examples inline, bulk detail delegated to three real, one-level-deep reference files that are well-signaled twice — in the version-detection routing ("v14.x → load references/api-reference-v14.md") and in a closing References section with per-file descriptions. All referenced paths exist on disk, no reference nests further, and navigation is easy, matching anchor 5.

5 / 5

Total

18

/

20

Passed

Description

91%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 description: it names the library and versions, lists concrete API coverage, and provides an explicit 'Use when' clause plus a separate 'Triggers on' list with natural synonyms. The only weaknesses are mild action-verb homogeneity and slight trigger overlap with web Testing Library skills.

DimensionReasoningScore

Specificity

The description states concrete actions ("Write tests using React Native Testing Library (RNTL) v13 and v14", "Use when writing, reviewing, or fixing React Native component tests") and enumerates specific API coverage ("render, screen, queries... Jest matchers, userEvent, fireEvent, waitFor"). It sits between anchor 4 (several specific actions, minor gaps — setup/config and matcher-installation guidance are only implied) and anchor 5; the action verbs are fewer and more homogeneous than the multi-action anchor-5 example, so 4 is the best fit.

4 / 5

Completeness

Both "what" ("Write tests using React Native Testing Library (RNTL) v13 and v14... Covers: render, screen, queries...") and "when" ("Use when writing, reviewing, or fixing React Native component tests" plus an explicit "Triggers on:" list) are clearly and explicitly answered with concrete trigger phrases, exactly matching the anchor-5 example pattern. It is not anchor 4 because the "when" is fully explicit rather than improvable.

5 / 5

Trigger Term Quality

Trigger terms are comprehensive and natural: "test files for React Native components", "RNTL imports", mentions of "testing library", "write tests", "component tests", or "RNTL" — covering the package name, its common abbreviation/synonym, and phrases a user would naturally say. It also disambiguates version support ("v13 (React 18, sync render) and v14 (React 19+, async render)"). Anchor 5 (comprehensive natural terms including synonyms) is the closest match; anchor 4 would require noticeable missing variations, and none are apparent.

5 / 5

Distinctiveness Conflict Risk

The skill occupies a clear niche (React Native component testing with a named library and version ranges), but the generic trigger phrases "testing library" and "write tests" could also fire for web React Testing Library or general test-writing requests, creating minor overlap with closely related skills. This matches anchor 4 (mostly distinct, minor overlap risk) rather than anchor 5, which would require trigger terms with essentially no cross-skill ambiguity.

4 / 5

Total

18

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

callstack/react-native-testing-library

Path

skills/react-native-testing/SKILL.md

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.