Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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-analyst for 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-cro for 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.py vs rollout_simulator.py vs kill_switch_runbook.py).
  • Blast radius / population: user count and ramp profile, or the dependency a kill switch guards (drives --users/--profile and 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

  1. 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.
  2. Plan the ramp with rollout_simulator.py for the user count and risk profile; each step needs the metric that would stop it.
  3. 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.
  4. Audit debt quarterly with flag_audit.py against a control-plane export: delete dead flags, remove stranded 100% release flags and their dead branches, investigate orphan references.
  5. Verify that the kill switch actually flips in staging (or under fault injection) and that the audit's debt list shrinks qu
Полный SKILL.md на GitHub

Установить feature-flags-architect в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/sample_checkout.tsassets/sample_flag_export.jsonreferences/flag-debt-and-cleanup.mdreferences/flag-types-and-patterns.mdreferences/operations-governance-and-workflows.mdreferences/rollout-and-kill-switch-playbook.mdscripts/flag_audit.pyscripts/kill_switch_runbook.pyscripts/rollout_simulator.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить feature-flags-architect с