add-feature-flag

Add feature flags to gate code paths in Warp across Dev, dogfood, and Stable channels.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/89jobrien/warpx --skill add-feature-flag-89jobrien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-feature-flag
Source: https://github.com/89jobrien/warpx/tree/main/.agents/skills/add-feature-flag
Command: npx skills add https://github.com/89jobrien/warpx --skill add-feature-flag-89jobrien

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates safe feature rollout by introducing and managing feature flags that gate code paths in Warp.

Core Features & Use Cases

  • Runtime gating: conditionally enable features without redeploys.
  • Enum-driven configuration: update FeatureFlag enum and cargo configuration to reflect new flags.
  • Controlled rollouts: enable features for Dev/dogfood and selectively roll out to Stable channels.

Quick Start

Add a new feature flag by updating Cargo.toml, extend the FeatureFlag enum, and wrap code with a runtime check.

Frequently Asked Questions about add-feature-flag

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I gate Warp features with runtime flags?

To gate Warp features with runtime flags, you update Cargo.toml, extend the FeatureFlag enum, and wrap application code paths with runtime gating checks.

What is the best way to manage feature rollout across Dev, dogfood, and Stable channels?

Managing feature rollout across Dev, dogfood, and Stable channels requires enum-driven configuration and runtime gating to selectively enable features without triggering redeploys.

How do I add a new feature flag to my Cargo.toml and Rust enum?

Adding a new feature flag involves updating the Cargo.toml configuration file and extending the FeatureFlag enum to reflect the new build-time and runtime flag.

Can I conditionally enable Warp features without redeploying?

Yes, runtime gating allows you to conditionally enable Warp features without redeploys by wrapping specific code paths with feature flag checks.

Does feature flag gating apply to both build-time and runtime configurations?

Feature flag gating applies to both build-time configuration and runtime gating, ensuring controlled rollouts across different release channels.

Why do I need to extend the FeatureFlag enum for controlled rollouts?

Extending the FeatureFlag enum is required for controlled rollouts because it drives the enum-driven configuration needed to execute runtime gating checks across Dev, dogfood, and Stable channels.