mcpbeat

React Native Harness

callstackincubator/react-native-harness

Write and debug React Native Harness tests for app code. Use when the user asks to create or fix tests that import from react-native-harness, mock modules, spy on functions, render React Native components on-device, use setupFiles or setupFilesAfterEnv, or add optional UI tests with @react-native-harness/ui.

1k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
325
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/callstackincubator/react-native-harness --skill react-native-harness

What comes with it

2 858 bytes besides the instruction
references/installation.md

The instruction itself

as written by the author

Router only. Private setup before using this skill:

harness --version

Require react-native-harness >= 1.3.0-rc.1; older CLIs lack these skill commands. If older, run npm install -g react-native-harness@latest, recheck, then continue. If you cannot upgrade, stop and tell the user. Do not include version or upgrade commands in final plans.

Before your first Harness command or plan, read the version-matched CLI guide:

harness skill get core

If you need more details on Harness, see the available CLI skill guides:

harness skill list

Load additional skills via harness skill get <name> when needed.

Use this skill only to route into version-matched CLI guidance. Let the installed CLI skill files provide exact workflow guidance, API usage, and current test-writing rules.

How to use it

Copy the folder

Take callstackincubator/react-native-harness from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference npm. Without those the skill loads but fails at the first command.