flags

Inspect and compare feature flag states across React release channels. View all flags across channels (www, www-modern, canary, next, experimental, rn variants) or compare specific channels with --diff Output formats include default table view, CSV export, and cleanup status grouping Flag states indicated by symbols: enabled (βœ…), disabled (❌), variant testing (πŸ§ͺ), profiling-only (πŸ“Š) Common pitfall: __VARIANT__ flags are tested in both states on www; use --diff to spot meaningful...

npx skills add https://github.com/facebook/react --skill flags

Feature Flags

Arguments:

  • $ARGUMENTS: Optional flags

Options

OptionPurpose
(none)Show all flags across all channels
--diff <ch1> <ch2>Compare flags between channels
--cleanupShow flags grouped by cleanup status
--csvOutput in CSV format

Channels

  • www, www-modern - Meta internal
  • canary, next, experimental - OSS channels
  • rn, rn-fb, rn-next - React Native

Legend

βœ… enabled, ❌ disabled, πŸ§ͺ __VARIANT__, πŸ“Š profiling-only

Instructions

  1. Run yarn flags $ARGUMENTS
  2. Explain the output to the user
  3. For --diff, highlight meaningful differences

Common Mistakes

  • Forgetting __VARIANT__ flags - These are tested both ways in www; check both variants
  • Comparing wrong channels - Use --diff to see exact differences

More skills from facebook

add-ir-instruction
facebook
When adding a new IR instruction, you must touch a specific set of files. This skill describes each file, the pattern to follow, and important conventions.
add-shape-types-to-torch-model
facebook
Port a PyTorch model to use pyrefly's tensor shape type system (Tensor[B, C, H, W], Dim[T]). Use this skill whenever the user wants to add shape annotations to…
add-torch-shapes-example
facebook
Use when adding a new PyTorch model to Pyrefly's shape-tracking example corpus under tensor-shapes/pyrefly-torch-stubs/examples β€” i.e. importing a model as a…
api-health
facebook
Monitor API health for a Meta app β€” check rate limits, call volume, and API deprecations. Use to diagnose throttling, plan capacity, or prepare for API version…
api-integration
facebook
Guide a developer through setting up a Meta API integration from scratch β€” discovers the right APIs, fetches setup guides, authentication requirements,…
app-health-check
facebook
Run a comprehensive health check on a Meta app β€” audits settings, security, compliance, app review status, rate limits, and API deprecations in one pass. Use…
app-review-prep
facebook
Prepare a Meta app for App Review β€” checks current status, outstanding requirements, granted privileges, and submission history. Use before submitting an app…
binary-size-analysis
facebook
Analyze per-commit binary size changes of the hermesvm shared library across a git commit range. Produces a markdown report with per-commit sizes and summary tables of significant increases and decreases.