
Flags
If you've ever wondered why a React feature works differently between Canary and Experimental, or why your RN build behaves oddly compared to www-modern, this is your answer. It runs `yarn flags` to show you feature flag states across all React release channels, with a clean legend showing what's enabled, disabled, or set to special variants. The diff mode is especially handy for comparing two channels side by side. One thing to watch: flags marked as `__VARIANT__` get tested both ways in Meta's internal builds, so you need to check both states. It's straightforward tooling for a specific debugging scenario that comes up more often than you'd think if you work close to React internals.
- skills.sh installs
- 942
- GitHub stars
- 246.5K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add facebook/react --skill flags --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/facebook/react
- Category
- Frontend Development