flags

flags

熱門

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

243K星標
50K分支
更新於 1/26/2026
SKILL.md
readonlyread-only
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

You Might Also Like

Related Skills

verify

verify

243K

Use when you want to validate changes before committing, or when you need to check all React contribution requirements.

facebook avatarfacebook
獲取
test

test

243K

Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.

facebook avatarfacebook
獲取

Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.

facebook avatarfacebook
獲取

Use when adding new error messages to React, or seeing "unknown error code" warnings.

facebook avatarfacebook
獲取
flow

flow

243K

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

facebook avatarfacebook
獲取
fix

fix

243Kdev-testing

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

facebook avatarfacebook
獲取