All skills
facebook avatar

/flags

@a056625 official
by Metafacebook/react251k stars
51,417

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

Use this Skill: https://skilld.dev/gh/facebook/react/flags

This session only. Nothing lands on disk.

SKILL.md

≈35 tokens always: the name and description. ≈212 when used: this file.

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

Source: SKILL.md on GitHub

No alerts3mo5 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides a utility for developers to inspect and compare feature flag configurations within a codebase using the 'yarn flags' command. It supports multiple release channels and formatting options.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

  • Runlayer7mo

    1 file scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at a056625. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 8 months ago

README badge

README badge for facebook/react/flags

Inspects React feature flag states across release channels (www, canary, experimental, React Native) and compares flag configurations between channels. Useful for debugging why a feature behaves differently in canary versus next, or understanding which flags are enabled in internal versus open-source builds.

Generated from the current SKILL.md.

What React channels does this skill cover?
It covers Meta internal channels (www, www-modern), open-source channels (canary, next, experimental), and React Native channels (rn, rn-fb, rn-next).
Can I compare feature flags between two channels?
Yes, use the `--diff <ch1> <ch2>` option to compare flags between any two channels.
What does the __VARIANT__ flag symbol mean?
__VARIANT__ flags are tested in both enabled and disabled states in www; you should check both variants when debugging behavior.
What output formats are available?
The skill supports plain text output by default, or CSV format with the `--csv` option.

Generated from the current SKILL.md. These answers refresh after source changes.