Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Feature Flag Rollouts?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adityaaatiwari-feature-flag-rollouts)
---
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.