Agent skill · Workflow & Productivity

feature-flags-architect

Use when adding, retiring, or auditing feature flags. Triggers on "add a flag", "ship behind a flag", "rollout plan", "kill switch", "stale flags", "flag debt", "LaunchDarkly", "GrowthBook", "Statsig", "Unleash", "Flipt", or any progressive-delivery question. Ships flag debt scanner, rollout planner, and kill-switch auditor (all stdlib Python), 4 references on flag taxonomy + provider trade-offs + rollout strategies + lifecycle, plus a /flag-cleanup slash command.

Alireza Rezvani23,369★ · +428/wk · 1 repos on radarProfile →
claude-codecodexcursorships scriptsMIT
Install
npx skills add alirezarezvani/claude-skills --skill feature-flags-architect --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 9 KB
Bundled scripts: yes
Version: 2.9.0
Declared author: claude-code-skills
Path: engineering/skills/feature-flags-architect/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 23,791 · +422 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Feature Flags Architect End-to-end discipline for feature flags: classify them, ship them, ramp them, and retire them. Most teams treat flags as throwaway `if`-statements; this skill treats them as a controlled lifecycle with measurable debt. ## When to use - Adding a new flag and need a rollout plan - Auditing a codebase for stale or orphaned flags - Choosing a flag provider (LaunchDarkly vs GrowthBook vs Statsig vs Unleash vs Flipt vs build-your-own) - Designing a kill-switch path for a risky launch - Cleaning up flag debt before a release freeze - Reviewing whether a feature should ship behind a flag at all ## Core principle: flags are a lifecycle, not an `if` ``` request → design → ship → ramp → cleanup → archive ``` Flags that skip cleanup become debt: dead branches, stale defaults, untested code paths, unbounded blast radius. The three scripts in this skill enforce the lifecycle. ## Quick start ```bash # 1. Audit the repo for flag debt python scripts/flag_debt_scanner.py --repo . --max-age-days 90 # 2. Plan a progressive rollout for a new flag python scripts/rollout_planner.py --population 100000 --target-percent 100 --duration-days 14 --strategy ring # 3. Verify every flag

What's inside
Steps it walks through
  1. When to use
  2. Core principle: flags are a lifecycle, not an if
  3. Quick start
  4. The 4 flag types (taxonomy)
  5. The 3 Python tools
  6. flagdebtscanner.py
  7. rolloutplanner.py
  8. killswitchaudit.py
  9. Provider chooser (5 + DIY)
  10. Workflows
  11. Workflow 1: Ship a new feature behind a flag
  12. Workflow 2: Quarterly flag cleanup
  13. Workflow 3: Choose a provider
  14. Workflow 4: Design a kill switch
Ships with 8 files
  • assets/flag_request_template.md
  • references/flag_lifecycle.md
  • references/flag_taxonomy.md
  • references/provider_comparison.md
  • references/rollout_strategies.md
  • scripts/flag_debt_scanner.py
  • scripts/kill_switch_audit.py
  • scripts/rollout_planner.py
Commands it runs
python scripts/flag_debt_scanner.py --repo . --max-age-days 90
python scripts/rollout_planner.py --population 100000 --target-percent 100 --duration-days 14 --strategy ring
python scripts/kill_switch_audit.py --repo . --flag-doc docs/feature-flags.md
python scripts/flag_debt_scanner.py --repo . --max-age-days 90 --format text
python scripts/flag_debt_scanner.py --repo . --max-age-days 60 --format json > debt.json
python scripts/rollout_planner.py --population 50000 --target-percent 25 --duration-days 7 --strategy linear
python scripts/rollout_planner.py --population 1000000 --target-percent 100 --duration-days 30 --strategy log
python scripts/kill_switch_audit.py --repo . --flag-doc runbooks/flags.md --format json
More from claude-skills
All skills →
About this skill
What does the feature-flags-architect skill do?

Use when adding, retiring, or auditing feature flags. Triggers on "add a flag", "ship behind a flag", "rollout plan", "kill switch", "stale flags", "flag debt", "LaunchDarkly", "GrowthBook", "Statsig", "Unleash", "Flipt", or any progressive-delivery question. Ships flag debt scanner, rollout planner, and kill-switch auditor (all stdlib Python), 4 references on flag taxonomy + provider trade-offs + rollout strategies + lifecycle, plus a /flag-cleanup slash command.

How do I install it?

Run `npx skills add alirezarezvani/claude-skills --skill feature-flags-architect --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From alirezarezvani/claude-skills, a repository with 23,791 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going