返回 Skill 列表
extension
分类: 开发与工程无需 API Key

flags

当您需要检查功能标志状态、比较渠道或调试为什么某个功能在不同发布渠道中的行为不同时使用。

person作者: jakexiaohubgithub

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