promote-feature — Claude Code skill: rollout and install
promote-feature is a Claude Code skill that moves a Warp feature flag to Dogfood, Preview, or Stable and schedules later flag cleanup.
AGPL-3.0 ★ 720 updated 2026-11-10
npx skills add dominikmartn/harp --skill promote-feature -a claude-codeWhat promote-feature does
This skill guides a staged rollout of a FeatureFlag variant in the Warp codebase. Dogfood uses DOGFOOD_FLAGS; Preview moves the variant into PREVIEW_FLAGS and removes it from Dogfood. Stable changes app/Cargo.toml, app/src/lib.rs, and warp_core/src/features.rs, linking the Cargo feature to the flag through enabled_features().
The validation path uses cargo clippy for warp_core, with extra checks for warp or warp_tui when their files change, followed by ./script/format. The runtime flag arrays are shared by the GUI and headless TUI, while the compile-time bridge in app serves the GUI. A TUI feature may also need enabling in crates/warp_tui/Cargo.toml.
A Stable flag stays in place for 1–2 release cycles so rollback remains a one-line removal from default. Later cleanup uses remove-feature-flag, and the follow-up issue is created with the Linear MCP tool.
What it helps with
- move a feature flag into Dogfood
- advance a flag from Dogfood to Preview
- wire a Stable feature through Cargo and runtime code
- run the right checks for the GUI or TUI
- create a follow-up issue for flag removal
Example prompts for the agent
- Move
FeatureFlag::YourFeatureto Dogfood. - Promote
FeatureFlag::YourFeaturefrom Preview to Stable and update the compile-time bridge. - Check the TUI path and prepare the follow-up issue for removal after 1–2 release cycles.
How to install promote-feature
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill promote-feature -a claude-code2Manually: put the files in place
~/.claude/skills/promote-feature/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/promote-feature/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill promote-feature -a codex2Manually: put the files in place
.agents/skills/promote-feature/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill promote-feature -a cursor2Manually: put the files in place
.cursor/skills/promote-feature/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dominikmartn/harp .agents/skills/promote-feature2Manually: put the files in place
.github/skills/promote-feature/SKILL.md1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill promote-feature -a gemini-cli2Platform CLI
gemini skills install https://github.com/dominikmartn/harp --path .agents/skills/promote-featureManually: put the files in place
.devin/skills/promote-feature/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about promote-feature
How do I install promote-feature in Claude Code?
Run npx skills add dominikmartn/harp --skill promote-feature -a claude-code, then open ~/.claude/skills/promote-feature/SKILL.md.
What does promote-feature do?
It guides FeatureFlag through Dogfood, Preview, or Stable. The workflow covers runtime flag arrays, Cargo features, the enabled_features() bridge, validation, and later cleanup.
What does promote-feature need to run?
The workflow works in the Warp codebase and uses cargo clippy plus ./script/format for validation. Creating the post-Stable issue requires the Linear MCP tool; a TUI feature may also need an entry in crates/warp_tui/Cargo.toml.