feature-flags

Manage feature toggles for progressive rollouts, kill switches, and A/B testing.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/hung-phan/system-skills --skill feature-flags-hung-phan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-flags
Source: https://github.com/hung-phan/system-skills/tree/main/skills/system-review/references/reliability/feature-flags
Command: npx skills add https://github.com/hung-phan/system-skills --skill feature-flags-hung-phan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires feature-toggle-library, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of managing feature toggles and decouples the deployment of features from their release. It allows for a safer, more controlled approach to feature delivery, enabling gradual rollouts, A/B testing, and kill switches.

Core Features & Use Cases

  • Feature Toggles: Create and manage feature toggles for A/B testing, canary releases, and gradual rollouts.
  • Kill Switches: Implement kill switches to disable features immediately if issues arise post-release.
  • Experimentation Flags: Run experiments and A/B tests to validate new features before full-scale deployment.
  • Use Case: When you need to deploy a new payment provider, use this Skill to create a feature toggle for the new provider and a kill switch to disable it quickly if any issues arise.

Quick Start

Create a new feature toggle for the 'new-payment-provider' feature using the 'feature-flags' skill.

Frequently Asked Questions about feature-flags

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

FAQPage Schema
How do I use feature toggles to decouple code deployment from feature release?

Feature toggles decouple code deployment from release by managing flag configurations locally, allowing you to deploy code inactive and enable features progressively when ready. This approach separates deployment timing from user visibility.

How do I set up a kill switch to disable a feature immediately after deployment?

A kill switch provides immediate feature deactivation by toggling the associated flag configuration off. If post-release issues arise, changing the flag state disables the problematic functionality instantly without requiring a code rollback or redeployment.

Can I run A/B testing and gradual rollouts using feature flags?

Yes, you can run A/B testing and gradual rollouts using experimentation flags. These flags manage feature visibility for specific user segments, allowing you to validate new features experimentally before full-scale deployment.

What's the best way to manage feature toggles for a new payment provider integration?

The best way to manage a new payment provider integration is creating a specific feature toggle for the provider alongside a kill switch. This allows controlled rollout and instant disabling if transaction issues arise during deployment.

Do I need a specific feature-toggle-library to manage canary releases and experimentation flags?

Yes, the feature-toggle-library is required as a dependency to manage canary releases and experimentation flags. It provides the foundational functions needed to operate flag states and configurations on your local machine or server.

When should I not use feature flags for deployment control?

You should avoid using feature flags when managing simple, static configurations that do not require runtime toggling or when your environment lacks the capacity to maintain local flag state configurations for deployment control.