How to install flags
npx skills add https://github.com/facebook/react --skill flagsFull instructions (SKILL.md)
Source of truth, from facebook/react.
name: flags description: 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
Related skills
More from facebook/react and the wider catalog.
fix
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.
test
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
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.
flow
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.