KS
Killer-Skills

test — how to use test for React how to use test for React, what is test skill, test alternative for React testing, test vs Jest, test install guide, test setup for React developers, React testing best practices, automated testing for React core

v1.0.0
GitHub

About this Skill

Perfect for React Development Agents needing automated testing capabilities for React core test is a skill that automates testing for React core, allowing developers to run tests with various channels and flags

Features

Supports multiple channels, including source, www, stable, and experimental
Allows custom test patterns using flags and arguments
Enables testing with specific variants, such as __VARIANT__=false
Runs tests with different React versions, including www-modern and www-classic
Executes tests using specific commands, such as `/test ReactFiberHooks`

# Core Topics

facebook facebook
[243.6k]
[50653]
Updated: 3/6/2026

Quality Score

Top 5%
64
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add facebook/react/test

Agent Capability Analysis

The test MCP Server by facebook is an open-source Categories.official integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use test for React, what is test skill, test alternative for React testing.

Ideal Agent Persona

Perfect for React Development Agents needing automated testing capabilities for React core

Core Value

Empowers agents to run comprehensive tests for the React codebase using source, www, stable, and experimental channels, supporting flags and test patterns with ReactFiberHooks

Capabilities Granted for test MCP Server

Running tests for React core with specific channels
Debugging ReactFiberHooks with variant flags
Validating test patterns across different React channels

! Prerequisites & Limits

  • Requires React core setup
  • Limited to React codebase testing
  • Supports specific channels only (source, www, stable, experimental)
Project
SKILL.md
1.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8
SKILL.md
Readonly

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 defaults
  • experimental - Source/experimental channel with EXPERIMENTAL flags = true
  • www - www-modern channel with VARIANT flags = true
  • www variant false - www channel with VARIANT flags = false
  • stable - What ships to npm
  • classic - Legacy www-classic (rarely needed)

Instructions:

  1. Parse channel from arguments (default: source)
  2. Map to yarn command:
    • (default) → yarn test --silent --no-watchman <pattern>
    • experimental → yarn test -r=experimental --silent --no-watchman <pattern>
    • stable → yarn test-stable --silent --no-watchman <pattern>
    • classic → yarn test-classic --silent --no-watchman <pattern>
    • www → yarn test-www --silent --no-watchman <pattern>
    • www variant false → yarn test-www --variant=false --silent --no-watchman <pattern>
  3. Report test results and any failures

Hard Rules:

  1. Use --silent to see failures - This limits the test output to only failures.
  2. Use --no-watchman - This is a common failure in sandboxing.

Common Mistakes:

  • Running without a pattern - Runs ALL tests, very slow. Always specify a pattern.
  • Forgetting both www variants - Test www AND www variant false for __VARIANT__ flags.
  • Test skipped unexpectedly - Check for @gate pragma; see feature-flags skill.

Related Skills

Looking for an alternative to test or building a Categories.official AI Agent? Explore these related open-source MCP Servers.

View All

flags

Logo of facebook
facebook

flags is a feature flag management system that enables developers to check flag states, compare channels, and debug feature behavior differences across release channels.

243.6k
0
Design

extract-errors

Logo of facebook
facebook

extract-errors is a skill that assists in extracting and managing error codes in React applications using yarn extract-errors command.

243.6k
0
Design

fix

Logo of facebook
facebook

fix is a technical skill that resolves lint errors, formatting issues, and ensures code quality in declarative, frontend, and UI projects

243.6k
0
Design

flow

Logo of facebook
facebook

Flow is a type checking system for JavaScript, used to validate React code and ensure consistency across applications

243.6k
0
Design