mcpField
F
flags

flags

github.com/reactDevelopment251.8k1.1k installsUpdated today
Repository

About flags

A repository skill for listing and comparing feature flags across channels. It supports cleanup grouping and CSV output through the yarn flags command.

Key features

  1. 01List flags across channels
  2. 02Compare flags between channels
  3. 03Group flags by cleanup status
  4. 04Export results as CSV

Use cases

  1. 01Inspect enabled and disabled flags
  2. 02Find differences between release channels
  3. 03Review flags by cleanup status

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/react/react --skill flags

After installing, type/flagsin Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported