Flags

react/react/.claude/skills/flags

by reactb618bbb44226No license250K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated yesterday

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

Instructions onlySoftware Development
AI-generated overview

Checks feature flag states across release channels, compares channels, and explains differences.

What it does
Explains how to run the yarn flags command with optional arguments to list all flags across channels, diff flags between two channels, group flags by cleanup status, or output CSV. It documents the available channels, a status legend, and common pitfalls such as forgetting VARIANT flags. The agent runs the command and explains the output to the user, highlighting meaningful differences for diffs.
When to use it
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
Requirements
Requires the yarn package manager and a project where the yarn flags command is available; no scripts are shipped with the skill.

Feature Flags

Arguments:

  • $ARGUMENTS: Optional flags

Options

OptionPurpose
(none)Show all flags across all channels
--diff <ch1> <ch2>Compare flags between channels
--cleanupShow flags grouped by cleanup status
--csvOutput 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

Source and attribution

Source:react/reactin.claude/skills/flagsat commitb618bbb

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

Flags · .claude/skills/flags Agent Skill | SourceWeft