# promote-feature

promote-feature is a Claude Code skill that moves a Warp feature flag to Dogfood, Preview, or Stable and schedules later flag cleanup.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/.agents/skills/promote-feature/SKILL.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/promote-feature

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill promote-feature -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/promote-feature/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/promote-feature/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill promote-feature -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/promote-feature/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill promote-feature -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/promote-feature/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dominikmartn/harp .agents/skills/promote-feature
```

2. **Manually: put the files in place**
- File: `.github/skills/promote-feature/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill promote-feature -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dominikmartn/harp --path .agents/skills/promote-feature
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/promote-feature/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/.agents/skills/promote-feature/SKILL.md

## When to use it
- 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
- Move `FeatureFlag::YourFeature` to Dogfood.
- Promote `FeatureFlag::YourFeature` from 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.

## Similar
- [dx-devops-promote](https://affpapa.org/en/nevibecode/skills/dx-devops-promote.md) — skill · 2400 installs
- [promote](https://affpapa.org/en/nevibecode/skills/promote.md) — skill · 1597 installs
- [ce-promote](https://affpapa.org/en/nevibecode/skills/ce-promote.md) — skill · 1200 installs
- [jetson-promote-image](https://affpapa.org/en/nevibecode/skills/jetson-promote-image.md) — skill · 1100 installs
- [promote-post](https://affpapa.org/en/nevibecode/skills/promote-post.md) — skill · 277 installs
- [promote-idea](https://affpapa.org/en/nevibecode/skills/promote-idea.md) — skill · 188 installs

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
