---
name: react-flags
description: "Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels."
license: "MIT"
metadata:
  decimalai-skill-id: "40aa04d7-7458-43c6-a459-63a5d512bb65"
  decimalai-version-id: "1a8f1267-33da-413f-be77-9a6a31dbdd0e"
  decimalai-version: "1"
  decimalai-body-sha256: "b0281a911fe1d2610f6b4e41235c370961a672c3f55dc79837d4dbe9aef61af2"
  decimalai-name: "react/flags"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "devops"
  decimalai-source: "https://app.decimal.ai/s/react-flags@1/SKILL.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 internal
- `canary`, `next`, `experimental` - OSS channels
- `rn`, `rn-fb`, `rn-next` - React Native

## Legend

✅ enabled, ❌ disabled, 🧪 `__VARIANT__`, 📊 profiling-only

## Instructions

1. Run `yarn flags $ARGUMENTS`
2. Explain the output to the user
3. For --diff, highlight meaningful differences

## Common Mistakes

- **Forgetting `__VARIANT__` flags** - These are tested both ways in www; check both variants
- **Comparing wrong channels** - Use `--diff` to see exact differences
