Flags 代码排查
- 作者仓库星标 245,422
- 作者仓库 react
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 internalcanary,next,experimental- OSS channelsrn,rn-fb,rn-next- React Native
Legend
✅ enabled, ❌ disabled, 🧪 __VARIANT__, 📊 profiling-only
Instructions
- Run
yarn flags $ARGUMENTS - Explain the output to the user
- For --diff, highlight meaningful differences
Common Mistakes
- Forgetting
__VARIANT__flags - These are tested both ways in www; check both variants - Comparing wrong channels - Use
--diffto see exact differences
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @facebook · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Options
Option · Purpose (none) · Show all flags across all channels --diff <ch1> <ch2> · Compare flags between channels
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
Run yarn flags $ARGUMENTS Explain the output to the user 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
# 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 证据边界与执行链路
作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Options → Channels → Legend → Instructions → Common Mistakes
要点 -> Forgetting VARIANT flags · Comparing wrong channels · 1. Run yarn flags $ARGUMENTS 2.
文件/命令 -> --diff <ch1> <ch2> · --cleanup · --csv · www · www-modern · canary · next · experimental
内容 SHA-256 -> aa9201b11eb3
原文结构
适用与边界
原文中的明确线索
--diff <ch1> <ch2>、--cleanup、--csv、www、www-modern、canary、next、experimental