feature-flags-architect
БесплатноЗапускает вложенные скриптыНе проверенFeature flag strategy, lifecycle, and operations. Use when designing a flag taxonomy, planning a gradual rollout, building kill switches, auditing flag debt…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Feature Flags Architect
End-to-end feature flag design, rollout, and lifecycle management. Covers flag taxonomy (release vs ops vs experiment vs permission), gradual rollout patterns with blast-radius math, kill-switch runbooks, governance (who can flip what), and the flag-debt cleanup loop that keeps a codebase from drowning in stale flags.
This skill is provider-agnostic: the patterns work whether you run LaunchDarkly, Statsig, Unleash, Flagsmith, ConfigCat, GrowthBook, OpenFeature, or a homegrown system backed by Redis/DynamoDB/Postgres.
Core Capabilities
- Flag taxonomy — classify every flag as one of four types (release, ops, experiment, permission); the type sets lifetime, who flips it, and auto-expiry.
- Rollout ramps — dogfood → canary → 100% schedules with per-step blast-radius math and ramp templates by change type.
- Kill switches — ops-flag pattern with fail-open/closed decisions, runbooks, and alerting for risky dependencies or code paths.
- Governance — role-based who-can-flip-what matrix plus audit-log/retention requirements, mappable onto any flag system.
- Flag debt cleanup — quarterly inventory → classify → decide → execute → measure loop to keep flag count flat or shrinking.
- End-to-end workflows — add a release flag, build a kill switch, audit flag debt, flag-based rollback after a bad release.
Flag taxonomy — the four types
Every flag belongs to exactly one of these four types. The type determines the lifecycle, who can flip it, and whether it should auto-expire. Mixing types in one flag is a root cause of flag debt.
| Type | Purpose | Lifetime | Who flips | Auto-expire? |
|---|---|---|---|---|
| Release | Decouple deploy from release. Ship code dark, ramp to users. | Days to weeks | Engineer who owns the feature | Yes — remove after 100% rollout + 1 release |
| Ops | Kill switches, circuit breakers, throttles. Turn off risky behavior fast. | Permanent or long-lived | Oncall / SRE / platform team | No — but review quarterly |
| Experiment | A/B test, multi-arm bandit, hold-out group. Measure causal impact. | Weeks to months (test duration) | Product / data / growth | Yes — remove after winner is shipped |
| Permission | Entitle users to features based on plan, role, beta-list. | Permanent | Product / billing | No — but consolidate into entitlement system |
Decision rule when adding a flag: name the type. If you can't, the flag shouldn't exist yet — clarify intent first.
When to Use
- Designing a flag system from scratch — start with the flag taxonomy.
- Planning a risky release (DB migration, payment-provider swap, framework upgrade) — use the rollout ramp + kill switch.
- Auditing a codebase with hundreds of growing flags — use flag debt cleanup +
scripts/flag_audit.py. - Setting up an A/B test or hold-out — covers the flag side; use
data-analytics/statistical-analystfor sample size and significance. - Building a kill switch for a third-party dependency outage — use the kill switch runbook generator.
- Defining who in the org can flip production flags — use the governance matrix.
- Building entitlements / paid-tier gating — use this for flag mechanics;
business-growth/paywall-upgrade-crofor the UX.
Clarify First
Before designing or operating flags, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Flag type: release, ops, experiment, or permission (sets the lifecycle, who can flip it, and auto-expiry — the root decision).
- Task: design a taxonomy, simulate a rollout ramp, generate a kill-switch runbook, or audit flag debt (selects
flag_audit.pyvsrollout_simulator.pyvskill_switch_runbook.py). - Blast radius / population: user count and ramp profile, or the dependency a kill switch guards (drives
--users/--profileand the runbook content).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Workflow
- Name the type of every new flag (release, ops, experiment, permission) and give it an owner and, for release and experiment flags, a removal date.
- Plan the ramp with
rollout_simulator.pyfor the user count and risk profile; each step needs the metric that would stop it. - Build the kill switch for risky dependencies with
kill_switch_runbook.py, passing the real owner team, oncall rotation and flag-console URL so the runbook has no placeholders. - Audit debt quarterly with
flag_audit.pyagainst a control-plane export: delete dead flags, remove stranded 100% release flags and their dead branches, investigate orphan references. - Verify that the kill switch actually flips in staging (or under fault injection) and that the audit's debt list shrinks qu
Установить feature-flags-architect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл feature-flags-architect?
Feature flag strategy, lifecycle, and operations. Use when designing a flag taxonomy, planning a gradual rollout, building kill switches, auditing flag debt, defining governance, running progressive delivery, or rolling back via flags.
Как установить скилл feature-flags-architect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-flags-architect запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic