flags
π―Skillfrom facebook/react
Checks and compares feature flag states across different release channels with detailed visualization and debugging capabilities.
Installation
npx skills add https://github.com/facebook/react --skill flagsSkill Details
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
Overview
# Feature Flags
Arguments:
- $ARGUMENTS: Optional flags
Options
| Option | Purpose |
|--------|---------|
| (none) | Show all flags across all channels |
| --diff | 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
More from this repository6
Automatically fixes code formatting and linting issues to ensure clean, compliant code before committing.
Validates code changes by running formatting, linting, type checking, and testing across source and www directories.
Runs React codebase tests across different release channels with configurable flags and test patterns.
Extracts and manages error codes for React, helping developers identify and assign unique codes to new error messages.
Manages React feature flags across channels, enabling targeted testing, gating, and debugging of experimental features with precise control.
Runs Flow type checking for React code, detecting type errors across different renderers like DOM, browser, and React Native.