Skip to main content
skill CX Codex

add-feature-flag — Claude Code skill: what it does, how to install

add-feature-flag is a Claude Code skill that integrates feature flags into the Warp codebase. It isolates experimental code and manages rollouts across release channels.

AGPL-3.0 ★ 720 updated 2026-11-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dominikmartn/harp --skill add-feature-flag -a claude-code
Open on GitHub

What add-feature-flag does

This skill guides the agent through gating code changes inside the Warp terminal repository. It adds variants to the FeatureFlag enum in warp_core/src/features.rs and configures feature entries inside app/Cargo.toml. To test features early, developers register them inside the DOGFOOD_FLAGS array.

The FeatureFlag enum and runtime is_enabled() checks operate across both the desktop GUI and the headless TUI. Edits in app/Cargo.toml and app/src/lib.rs affect only the graphical client. If the terminal TUI requires a compile-time Cargo feature, it must be declared separately in crates/warp_tui/Cargo.toml and verified via ./script/run-tui.

The skill prioritizes runtime toggles over conditional compilation attributes. This reduces recompilation cycles and simplifies cleanup after launch. When attaching keyboard shortcuts via EditableBinding, adding an active check ensures hidden actions stay out of user settings while deactivated.

What it helps with

  • declare a new feature flag within warp_core/src/features.rs
  • gate unfinished changes behind runtime status checks
  • enable pre-release features in dogfood builds
  • hide custom keybindings when a feature remains disabled

Example prompts for the agent

  • Add a feature flag for the new terminal block in the Warp repository
  • Register my_experiment in DOGFOOD_FLAGS for internal testing
  • Configure a keybinding check using the runtime feature flag status

How to install add-feature-flag

1Skills CLI (Vercel)

npx skills add dominikmartn/harp --skill add-feature-flag -a claude-code

2Manually: put the files in place

~/.claude/skills/add-feature-flag/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/add-feature-flag/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about add-feature-flag

How to install add-feature-flag in Claude Code?

Run npx skills add dominikmartn/harp --skill add-feature-flag -a claude-code. Alternatively, place the file at ~/.claude/skills/add-feature-flag/SKILL.md.

What does add-feature-flag do?

The skill instructs the coding agent on introducing feature flags into the Warp repository. It outlines updates to Cargo manifests, enum declarations, and runtime check enforcement.

How are feature flags tested inside the Warp TUI?

The FeatureFlag enum is shared across both front-ends, but TUI compile-time features need explicit declaration in crates/warp_tui/Cargo.toml. You can test this headless environment using ./script/run-tui.

Similar skills

All skills for Programming languages →

From the same set62

The whole set →
create-tab-config The create-tab-config skill for Claude Code generates TOML configuration files for Warp terminal layouts. It triggers when a user requests a new tab configuration or layout. CX Codex +1 ★ 720repo stars dedupe-issue-local dedupe-issue-local is a Claude Code skill that refines issue deduplication for the Warp repository. It adds repository rules for terminal, agent, MCP, and UI reports. CX Codex +1 ★ 720repo stars modify-settings modify-settings is a Claude Code skill that inspects and edits Warp terminal preferences using JSON Schema. It updates the user TOML configuration without breaking nested sections. CX Codex +1 ★ 720repo stars agent-add-mcp agent-add-mcp is a Claude Code skill that adds MCP servers to Warp configuration. It handles global or project scope and local or URL-based servers. CX Codex +1 ★ 720repo stars gui-ui-guidelines gui-ui-guidelines is a Claude Code skill for Warp’s graphical UI. It is read before UI changes in the repository so its rules guide the implementation. CX Codex +1 ★ 720repo stars test-warp-ui The test-warp-ui skill for Claude Code automates visual testing of Warp interface features. It is used with the computer_use tool to launch the app and verify UI behavior. CX Codex +1 ★ 720repo stars remove-feature-flag 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. CX Codex +1 ★ 720repo stars classify-changelog-pr The classify-changelog-pr skill for Claude Code automates PR categorization for changelogs. It runs as an internal guide for the changelog-draft agent to classify unmarked pull requests. CX Codex +1 ★ 720repo stars

Project sponsors

Companies that keep this analytics open