remove-feature-flag — Claude Code skill: remove flags
remove-feature-flag is a Claude Code skill that removes a stabilized feature flag from Warp code. It runs after the feature reaches all users and production is stable.
AGPL-3.0 ★ 720 updated 2026-11-10
npx skills add dominikmartn/harp --skill remove-feature-flag -a claude-codeWhat remove-feature-flag does
The remove-feature-flag skill removes a feature flag from the Warp codebase once the feature is enabled for every user and has settled in production. It edits app/Cargo.toml, removes the matching FeatureFlag variant from warp_core/src/features.rs, and clears the conditional entry in app/src/lib.rs.
It also searches flag lists, runtime checks, keybinding predicates, and branches for the former behavior. The search includes crates/warp_tui/, since the shared FeatureFlag can be referenced by the headless TUI. Validation uses cargo nextest, cargo clippy with -D warnings, and ./script/format; the procedure excludes the full workspace suite and launching the GUI or TUI.
What it helps with
- remove a permanent feature flag from
app/Cargo.toml - trace flag references across
app/,warp_core/, andcrates/warp_tui/ - clear keybinding predicates and obsolete disabled-feature branches
- validate affected packages with
cargo nextestandcargo clippy
Example prompts for the agent
- Remove
YourFeatureNamefrom the Warp codebase and trace every remaining reference. - Inspect
app/Cargo.toml,warp_core/src/features.rs, andapp/src/lib.rs, then delete the related conditional paths. - Run tests for the affected package,
cargo clippywith-D warnings, and./script/formatafter the removal.
How to install remove-feature-flag
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill remove-feature-flag -a claude-code2Manually: put the files in place
~/.claude/skills/remove-feature-flag/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/remove-feature-flag/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill remove-feature-flag -a codex2Manually: put the files in place
.agents/skills/remove-feature-flag/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill remove-feature-flag -a cursor2Manually: put the files in place
.cursor/skills/remove-feature-flag/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dominikmartn/harp .agents/skills/remove-feature-flag2Manually: put the files in place
.github/skills/remove-feature-flag/SKILL.md1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill remove-feature-flag -a gemini-cli2Platform CLI
gemini skills install https://github.com/dominikmartn/harp --path .agents/skills/remove-feature-flagManually: put the files in place
.devin/skills/remove-feature-flag/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 remove-feature-flag
How do I install remove-feature-flag in Claude Code?
Run npx skills add dominikmartn/harp --skill remove-feature-flag -a claude-code. The skill file will be available at ~/.claude/skills/remove-feature-flag/SKILL.md.
What does remove-feature-flag do?
It removes a stabilized feature flag from Warp's Cargo and Rust code, including runtime checks, keybinding predicates, and obsolete branches. It also lays out validation for affected packages.
What does remove-feature-flag need to work?
It works against a Warp codebase containing app/Cargo.toml, warp_core/src/features.rs, and app/src/lib.rs. Its workflow uses rg, cargo nextest, cargo clippy, and ./script/format.