feature-flags

Gates experimental Sidecar functionality behind feature flags with runtime checks and CLI/config overrides.

1.0k|79|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/marcus/sidecar --skill feature-flags-marcus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-flags
Source: https://github.com/marcus/sidecar/tree/main/.claude/skills/feature-flags
Command: npx skills add https://github.com/marcus/sidecar --skill feature-flags-marcus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gates experimental functionality in Sidecar behind feature flags to prevent risky deployments.

Core Features & Use Cases

  • Register and define features with clear default states and descriptions.
  • Evaluate feature state in code paths using runtime checks and config/CLI overrides.
  • Use cases include gating new UI, experiments, and incremental rollouts with quick rollbacks.

Quick Start

Enable a feature flag from the CLI or config to observe controlled rollout.

Frequently Asked Questions about feature-flags

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I gate experimental Go features with feature flags to prevent risky deployments?

Gate experimental features by registering them in a central features registry with defined defaults and runtime override support. This controls rollout safety by evaluating feature state in code paths to reliably enable or disable functionality.

How do feature flag overrides resolve priority across CLI, config, and defaults?

Feature flag priority resolution checks CLI, config, and defaults to determine the active feature state. This layered override mechanism ensures diverse workflows can reliably enable or disable features at runtime without code changes.

What is the best way to manage incremental rollouts and quick rollbacks for new UI experiments?

Incremental rollouts and quick rollbacks are managed by evaluating feature flags in code paths. You register features with clear default states and descriptions, then use config or CLI overrides to control the rollout scope.

Do I need a central features registry to use feature flags for runtime evaluation?

Yes, a central features registry is required to use feature flags for runtime evaluation. It defines clear default states and descriptions, allowing code paths to reliably evaluate feature state and support config overrides.

Can I enable a feature flag from the CLI to observe a controlled rollout?

Yes, you can enable a feature flag from the CLI or config to observe a controlled rollout. The system supports CLI overrides that take priority over default configurations to safely gate experimental functionality.

Why use feature flags instead of direct code deployment for new functionality?

Feature flags prevent risky deployments by gating experimental functionality behind runtime checks. Unlike direct deployment, they allow you to quickly disable features via config or CLI overrides if issues emerge during incremental rollouts.