Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
Install
npx skills add https://github.com/react/react --skill flagsSKILL.md
Feature Flags
Arguments:
- $ARGUMENTS: Optional flags
Options
| Option | Purpose |
|---|---|
| (none) | Show all flags across all channels |
--diff <ch1> <ch2> |
Compare flags between channels |
--cleanup |
Show flags grouped by cleanup status |
--csv |
Output in CSV format |
Channels
www,www-modern- Meta internalcanary,next,experimental- OSS channelsrn,rn-fb,rn-next- React Native
Legend
โ
enabled, โ disabled, ๐งช __VARIANT__, ๐ profiling-only
Instructions
- Run
yarn flags $ARGUMENTS - Explain the output to the user
- For --diff, highlight meaningful differences
Common Mistakes
- Forgetting
__VARIANT__flags - These are tested both ways in www; check both variants - Comparing wrong channels - Use
--diffto see exact differences
Related skills
fixreact2.3KUse when you have lint errors, formatting issues, or before committing code to ensure it passes CI.extract-errorsreact1.3KUse when adding new error messages to React, or seeing "unknown error code" warnings.testreact1.2KUse when you need to run tests for React core. Supports source, www, stable, and experimental channels.feature-flagsreactUse when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.