
flags
PopülerUse when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
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
You Might Also Like
Related Skills

verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
facebook
test
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
facebook
feature-flags
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
facebook
extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.
facebook