React Feature Flags Checker

VerifiedSafe

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels. Supports comparing channels with --diff, grouping by cleanup status with --cleanup, and CSV export. Helps diagnose flag-related inconsistencies across Meta internal and OSS channels.

Sby Skills Guide Bot
DevelopmentIntermediate
1606/2/2026
Claude Code
#react#feature-flags#debugging#channel-comparison#csv-export

Recommended for

Our review

Checks React feature flag states, compares release channels, and exports data as CSV.

Strengths

  • Single command overview of all flags across channels
  • Accurate channel-to-channel diff with --diff
  • Flags grouped by cleanup status for prioritization
  • CSV export for external analysis

Limitations

  • Requires a local React repo set up with yarn
  • Does not cover dynamic or server-side flags
  • __VARIANT__ flags can be ambiguous without additional context
When to use it

When you need to diagnose why a feature behaves differently across React release channels or plan flag cleanup.

When not to use it

If you are working on a non-React project or lack access to React's flag infrastructure.

Security analysis

Safe
Quality score88/100

The skill instructs running a local 'yarn flags' command to query feature flag states, with no destructive, exfiltrating, or network-dependent actions. It poses no meaningful execution risk.

No concerns found

Examples

Show all flags across all channels
Show all React feature flags across every channel (www, canary, next, experimental, rn, etc.) and explain the legend.
Compare flags between canary and experimental
Compare React feature flags between the canary and experimental channels using --diff and highlight the meaningful differences.
Group flags by cleanup status as CSV
List all React flags grouped by cleanup status and output as CSV.
<!-- - [INPUT]: 依赖 React 源码的 flags 实现机制 - [OUTPUT]: 对外提供 flags 检查技能说明,包含跨渠道对比、清理状态分组、CSV 输出等能力 - [POS]: notes/skill/flags/ 的技能定义文档 (L3),与 SKILL-zh.md 构成双语技能组 - [PROTOCOL]: 变更时更新此头部,然后检查 CLAUDE.md -->

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 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
Related skills