/install feature-flags
Feature Flags
Flags decouple deploy from release—and become debt if never removed. Taxonomy, ownership, and retirement matter as much as targeting.
When to Offer This Workflow
Trigger conditions:
- Gradual rollouts, kill switches, or experiments behind flags
- Flag sprawl and unknown defaults
- Client vs server evaluation and hydration flicker
Initial offer:
Use six stages: (1) taxonomy, (2) targeting rules, (3) evaluation & consistency, (4) safety & ops, (5) lifecycle & cleanup, (6) governance). Confirm provider (LaunchDarkly, Unleash, ConfigCat, homegrown).
Stage 1: Taxonomy
Goal: Separate short-lived release flags, long-lived config flags, and experiment flags tied to analytics.
Exit condition: Naming convention and expected TTL per type.
Stage 2: Targeting Rules
Goal: Percentage rollouts, segments (tenant, plan, region), deterministic bucketing (stable user key).
Stage 3: Evaluation & Consistency
Goal: Server-side authoritative for security and billing; client flags for UX only; avoid UI flicker on hydration (SSR/CSR agreement).
Stage 4: Safety & Ops
Goal: Kill-switch runbook; audit trail for changes; safe defaults when provider unavailable (often “off”).
Stage 5: Lifecycle & Cleanup
Goal: Tickets to remove flags after full rollout; periodic audits; metric for stale flags.
Stage 6: Governance
Goal: Approvals for broadening exposure; promotion across environments; break-glass access for incidents.
Final Review Checklist
- Flag types and naming documented
- Targeting and bucketing deterministic
- Server vs client boundaries clear
- Kill switches and defaults documented
- Cleanup process and ownership
Tips for Effective Guidance
- Never put security-only gates solely in client-side flags.
- Pair with ab-testing when experiment analysis is primary.
Handling Deviations
- Align with release-management for communication cadence.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feature-flags - 安装完成后,直接呼叫该 Skill 的名称或使用
/feature-flags触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Feature Flags 是什么?
Deep feature flag workflow—taxonomy, targeting, lifecycle, safety and kill switches, cleanup, and governance. Use when shipping gradually, experimenting, or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 142 次。
如何安装 Feature Flags?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feature-flags」即可一键安装,无需额外配置。
Feature Flags 是免费的吗?
是的,Feature Flags 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Feature Flags 支持哪些平台?
Feature Flags 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Feature Flags?
由 mike47512(@mike47512)开发并维护,当前版本 v1.0.0。