feature-flagging

Design and audit production feature flags with targeting, telemetry, and retirement plans.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ohsonerdy/openclaw-frontier-stack --skill feature-flagging
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: feature-flagging
Source: https://github.com/ohsonerdy/openclaw-frontier-stack/tree/main/skills/feature-flagging
Command: npx skills add https://github.com/ohsonerdy/openclaw-frontier-stack --skill feature-flagging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Feature-flagging reduces incident risk by ensuring every rollout has an intentional default, safe targeting, measurable telemetry, disciplined rollback behavior, and a clean removal plan that prevents flag debt.

Core Features & Use Cases

  • Flag taxonomy & lifecycle: Classify flags as release toggles, experiment toggles, ops kill-switches, or permission flags so the correct lifespan, governance, and cleanup strategy apply.
  • Default-state & targeting correctness: Choose off-default-safe vs on-default-fast and use stable bucketing (e.g., sticky-bucket) to avoid oscillation and broken experiments.
  • Telemetry, testing, and retirement: Specify required metrics (bucket percentages, sticky leaks, effect metrics, flag-service health), test both branches, and retire safely (including handling mixed traffic and excluded cohorts).

Quick Start

Tell the skill: "Help me design a feature flag for a risky payment change with an internal-only first rollout, including default state, targeting, telemetry, kill-switch requirements if needed, and a safe removal plan."

Frequently Asked Questions about feature-flagging

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

FAQPage Schema
How do I design a feature flag rollout strategy to reduce incident risk?▼

A safe feature flag rollout strategy requires classifying the flag type, choosing an intentional default state, defining deliberate targeting like sticky bucketing, and planning telemetry to reduce incident risk and prevent flag debt.

What is flag debt and how do I retire stale feature flags safely?▼

Flag debt occurs when stale feature flags remain in code with unknown usage. Retire stale feature flags safely by auditing lifecycle ownership, validating mixed traffic and excluded cohorts, testing both code branches, and executing a clean removal plan.

Why does my percentage rollout have drift or sticky-bucket issues?▼

Percentage rollout drift and sticky-bucket issues happen when stable bucketing is not applied correctly, causing user oscillation and broken experiments. Diagnose drift by auditing your telemetry plan for fallback behavior and sticky leaks.

How do I implement a kill switch with operational guardrails for production?▼

Implement a production kill switch by classifying it as an ops toggle, ensuring an off-default-safe state, defining operational guardrails, establishing telemetry for flag-service health, and documenting a runbook entry for immediate rollback.

What is the best way to target feature flags for experimentation without breaking metrics?▼

The best way to target feature flags for experimentation is using deliberate strategies like percentage rollouts, cohort attributes, and sticky bucketing to avoid oscillation, ensuring both-branches test discipline to measure effect metrics accurately.

When should I use off-default-safe versus on-default-fast for a release toggle?▼

Use off-default-safe for risky release toggles requiring controlled rollouts and immediate fallback, while on-default-fast applies when new functionality is low-risk and needs rapid exposure, balancing rollout strategy against operational safety.