首页/ AI 技能 / @skilllib/skill-2117939930272420449
Skill站外收录 @skilllib/skill-2117939930272420449

flags

用于查看功能开关状态、对比不同发布渠道差异,或排查功能在各渠道表现不一致的原因。

0.0 (0) 20 次安装 原作者 编程导航
收录于 2026-04-22
AI 技能

Skills.MD

# 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

评论 0

还没有评论,来抢沙发。