Skip to content
Back to skills

Feature Flag Rollouts

ASecurity

Ship risky changes behind feature flags with staged rollout, kill switches, metrics and flag cleanup

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsdatabase

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill feature-flag-rollouts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feature Flag Rollouts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Feature Flag Rollouts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-feature-flag-rollouts/badge)](https://www.skillsdirectory.com/skills/ansh44233-feature-flag-rollouts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Ship risky changes behind feature flags with staged rollout, kill switches, metrics and flag cleanup
profile: standard
tags: release, operations
---

# Feature flag rollouts

Use for changes that are risky, large, or need to be turned off quickly without a deploy.

## Design the flag
- One flag per change, with an owner, a purpose and an expected removal date in its description.
- Default to **off**. Fail safe: if the flag service is unreachable, use the default.
- Evaluate the flag once per request at the edge of the feature and pass the result down; do not scatter checks.
- Keep both code paths working and tested while the flag exists.

## Roll out
1. Internal users only.
2. A small percentage (1–5%), sticky per user or account, not per request.
3. Watch error rate, latency and the business metric the change should move. Define the rollback threshold before starting.
4. Increase in steps; hold at each step long enough to see real traffic patterns.
5. 100%, then keep the flag as a kill switch for a short, agreed period.

## Clean up
Remove the flag and the old path as a follow-up change. Stale flags are a source of bugs. Search for the flag key in code and configuration when you remove it.

## Data changes
Flags do not make database migrations reversible. Use expand/contract migrations so both code paths work with the schema at every step.

## Verify
Tests run with the flag on and off and both pass; the kill switch has been flipped in a non-production environment and takes effect without a deploy.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.