
Test
This handles React's multi-channel testing setup so you don't have to remember which yarn command maps to which release channel. You can run tests against source, experimental, stable, www-modern, or www-classic with simple arguments like `/test experimental ReactFiberHooks`. The skill enforces the --silent and --no-watchman flags that prevent common sandboxing issues. It also reminds you about the two www variants when testing __VARIANT__ flags, which is easy to forget. If you're working on React core and need to verify behavior across different build configurations, this saves you from context-switching to documentation every time you want to run a test suite.
- skills.sh installs
- 1.1K
- GitHub stars
- 246.5K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add facebook/react --skill test --agent claude-codeInstalls into .claude/skills of the current project.
Files
Run tests for the React codebase.
Arguments:
- $ARGUMENTS: Channel, flags, and test pattern
Usage Examples:
/test ReactFiberHooks- Run with source channel (default)/test experimental ReactFiberHooks- Run with experimental channel/test www ReactFiberHooks- Run with www-modern channel/test www variant false ReactFiberHooks- Test VARIANT=false/test stable ReactFiberHooks- Run with stable channel/test classic ReactFiberHooks- Run with www-classic channel/test watch ReactFiberHooks- Run in watch mode (TDD)
Release Channels:
(default)- Source/canary channel, uses ReactFeatureFlags.js defaultsexperimental- Source/experimental channel with EXPERIMENTAL flags = truewww- www-modern channel with VARIANT flags = truewww variant false- www channel with VARIANT flags = falsestable- What ships to npmclassic- Legacy www-classic (rarely needed)
Sponsors
Details
- Repository
- github.com/facebook/react
- Categories
- Frontend Development, Testing & QA