promote-feature
Installation
SKILL.md
promote-feature
Guides the staged promotion of a gated FeatureFlag variant to Dogfood, Preview, or Stable, and schedules the follow-up cleanup.
Overview
Feature flags have two interacting layers:
- Runtime (
warp_core/src/features.rs):DOGFOOD_FLAGS,PREVIEW_FLAGS,RELEASE_FLAGS— enabled per-channel at startup. - Compile-time (
app/Cargo.toml+app/src/lib.rs): Cargo features in[features]. Thedefault = [...]array enables a feature for all builds.enabled_features()inapp/src/lib.rsbridges each Cargo feature to itsFeatureFlagvariant via#[cfg(feature = "...")].
Do not remove the flag immediately after promoting to Stable. Keep it for at least 1–2 release cycles so a rollback is a one-line PR (remove the entry from default). Use the remove-feature-flag skill for the cleanup step later.
Promote to Dogfood
Add the flag to DOGFOOD_FLAGS in warp_core/src/features.rs: