Agent Skills
If you use Codex or another coding agent that supports the Vercel skills CLI, you can install the react-native-harness skill so the agent can author Harness tests more effectively.
The skill gives the agent the expected React Native Harness workflow for writing tests, using module mocks, working with render(...), and using the optional @react-native-harness/ui package correctly.
The skill complements the react-native-harness package, it does not replace it. Your project still needs react-native-harness installed because the agent is ultimately writing and running real Harness tests in your app.
Install with the Vercel skills CLI
Install the skill from this repository using the repo URL and the skill name:
By default, the skills CLI installs project-local skills for the agents it supports in your project.
To install it globally for all projects instead, use:
After installation, ask your agent to use react-native-harness whenever it needs to write or debug Harness tests.
Next Steps
- Go back to Quick Start.
- Read the Configuration guide.
- Browse the API docs for the public testing surface.
