feature-flags
Installation
SKILL.md
Feature Flags
RedisInsight has its own feature flag system. Flags are defined in a remote JSON config, fetched by the backend, and served to the frontend via API. This skill covers how to add, promote, and remove flags.
Flag Types
| Type | Naming | flag value |
Strategy | Purpose |
|---|---|---|---|---|
| Dev flag | dev-<name> (e.g. dev-browser) |
false |
CommonFlagStrategy |
Hide incomplete features during development |
| Regular flag | camelCase (e.g. azureEntraId) |
true |
CommonFlagStrategy |
Standard on/off toggle |
| Regular with data | camelCase |
true |
WithDataFlagStrategy |
Flag + extra config payload in data |
| Switchable (overridable) | camelCase |
true |
SwitchableFlagStrategy |
User can override locally via ~/.redis-insight/config.json |
Files to Change
Every new flag touches these files (in order):
Backend (required)
Related skills