rn-testing

rn-testing is a skill for Claude Code, Codex from almasumdev/awesome-react-native-agent-skills. It costs 44 tokens per session (1,316 once invoked), scanned A, original, no licence file.

A testing guide for React Native applications, which use JavaScript or TypeScript to build mobile apps. It covers unit tests, component tests, hooks, mocks, and snapshots using Jest and React Native Testing Library.

In plain words
What is it for?
Use it to write tests for functions, React Native components, and hooks, and to decide when to use mocks or snapshots.
Why use it?
It helps you check app logic and screen behaviour without manually testing every case on a device.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/almasumdev/awesome-react-native-agent-skills/rn-testing
Any agent
npx skills add almasumdev/awesome-react-native-agent-skills --skill rn-testing
Clone the repo
git clone --depth 1 https://github.com/almasumdev/awesome-react-native-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rn-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/almasumdev/awesome-react-native-agent-skills/rn-testing.svg)](https://agentmods.dev/skills/almasumdev/awesome-react-native-agent-skills/rn-testing)
Your own site
<a href="https://agentmods.dev/skills/almasumdev/awesome-react-native-agent-skills/rn-testing"><img src="https://agentmods.dev/badge/skills/almasumdev/awesome-react-native-agent-skills/rn-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,316 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00044 $0.01316
Opus 5 $0.00022 $0.00658
Sonnet 5 $0.00009 $0.00263
Haiku 4.5 $0.00004 $0.00132

Measured 4d ago against content hash 34f2bb18a7fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rn-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/testing_and_automation/rn-testing/SKILL.md · 163 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 163 lines · 44 tokens per session scan A 34f2bb18a7fe

Subscribe to this mod's changes

rn-testing is a skill published in the GitHub repository almasumdev/awesome-react-native-agent-skills (1 stars, last pushed 4mo ago), with no licence file. It adds 44 tokens to every session and 1,316 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ios-testing

Expert guidance on iOS unit and snapshot testing with XCTest, the new Swift Testing framework, and swift-snapshot-testing. Use when writing or auditing tests.

almasumdev/awesome-ios-agent-skills · 34 tokens

kmp-testing

Testing strategy for KMP — commonTest with kotlin.test, expect/actual test doubles, Turbine for Flow assertions, Ktor MockEngine, and in-memory SQLDelight drivers. Use when writing tests for shared code.

almasumdev/awesome-kotlin-multiplatform-agent-skills · 58 tokens

flutter-testing

Setup and patterns for Unit, Widget, and Golden testing in Flutter using fluttertest, mocktail, and alchemist/goldentoolkit. Use this when writing or reviewing tests.

almasumdev/awesome-flutter-agent-skills · 39 tokens

mobile-unit-testing

Expert guidance on writing fast, deterministic unit tests for mobile codebases across Kotlin, Swift, Dart, and TypeScript. Use when asked to structure unit tests, pick a runner, or apply the AAA pattern.

almasumdev/awesome-mobile-testing-agent-skills · 46 tokens

rn-write-tests

Use to write tests for an Expo + RN app: Jest + React Native Testing Library for unit/integration (components, hooks, queries, mutations) and Maestro for end-to-end flows (sign-in, navigation, forms). Sets up the testing stack on first call (jest-expo preset, RNTL, jest config) and writes a focused test next to the…

lukedj78/dev-flow · 142 tokens

react-native-docs

Comprehensive React Native reference covering core components, APIs, styling, flexbox, navigation, networking, animations, platform-specific code, debugging, performance, TypeScript integration, Fast Refresh, environment setup, React fundamentals, running on devices, and the New Architecture (Fabric, JSI…

pledgeandgrow/pledge-skills · 97 tokens