Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "flags" 技能: 1. 下载 https://raw.githubusercontent.com/facebook/react/main/.claude/skills/flags/SKILL.md 2. 保存为 ~/.claude/skills/flags/SKILL.md 3. 装好后重载技能,告诉我可以用了
Arguments:
| 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 |
www, www-modern - Meta internalcanary, next, experimental - OSS channelsrn, rn-fb, rn-next - React Native✅ enabled, ❌ disabled, 🧪 __VARIANT__, 📊 profiling-only
yarn flags $ARGUMENTS__VARIANT__ flags - These are tested both ways in www; check both variants--diff to see exact differencesUse when adding new error messages to React, or seeing "unknown error code" warnings.
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.