mizazhaider-ceh/agentarsenal/feature-flags
Claude Code and agent skill by mizazhaider-ceh/agentarsenal
- community
Checking that the SKILL.md file is still in the repository.
Use when implementing or reviewing feature flags. Covers
Install
npx vskill@latest install mizazhaider-ceh/agentarsenal/feature-flagsSKILL.md
The same SKILL.md was published earlier as mizazhaider-ceh/agentarsenal/feature-flags.
Feature flags separate deploy from release: code ships dark, then a flag turns it on for a percentage, a cohort, or everyone. This skill covers doing it safely: flag types, targeting, kill switches, and the hygiene that prevents flag sprawl. Done well, flags are the fastest rollback you have; done badly, they are hidden complexity.
Quick Workflow
- Choose flag types: release flags (temporary), experiment flags,
ops flags (kill switches, permanent), and permission flags.
- Design targeting: percentage rollout, cohorts, and allowlists,
evaluated consistently.
- Make every flag have an owner and a planned removal date, except
true ops flags.
- Test both states: flag on and flag off are both production code
paths.
- Monitor flag evaluations: who sees what, and error rates per
cohort.
- Use flags as kill switches for risky features: one click off.
- Clean up: remove the flag and the dead code path after full
rollout.
- Audit flag changes: who flipped what, when, and why.
1. Implementation basics
2. Kill switch pattern
Edge cases
- Flag evaluation in the client can be tampered with. Security
decisions stay server side; client flags are UX only.
- Percentage rollouts with sticky sessions: bucket by user ID, not
by request, or users flap between versions.
- Flag systems go down. Define the default (usually off/safe) and
cache evaluations briefly.
Escalation
- Flag sprawl out of control: run a cleanup sprint with the rule
"every temporary flag older than 90 days gets a removal PR".
- Incident needs instant rollback: flip the flag, then investigate;
the deploy rollback can follow.
Detection and defender view
Flag misuse looks like unauthorized flag flips, flags left at partial rollout forever, and security sensitive behavior gated only by a client side flag. Defenders (the engineering org) monitor flag change audit logs and alert on flips outside change windows. The durable practice is treating flags as production config: reviewed, audited, and cleaned up.
Key references
- Feature flag best practice literature (Martin Fowler's bliki).
- Related skills: testing-strategies, devsecops-pipeline.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/engineering/feature-flags/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mizazhaider-ceh/agentarsenal/feature-flags)