本文へ移動
cccskills
無料GitHub で公開

feature-flags

Feature flag strategy: types, provider selection, lifecycle, naming, rollout, cleanup

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcaneスター 3(GitHub 3 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

feature-flags — Feature Flags & Rollouts

Separate deploy from release. Enable gradual rollouts, kill switches, and experiments.

When to use

  • Risky feature needing rollback safety
  • Gradual rollout (1% -> 10% -> 50% -> 100%)
  • Kill switch for incident response
  • A/B experiments with segments
  • Dark launches (code in prod, not visible)

When NOT to use

  • Runtime config (use env vars / ConfigMap)
  • Permissions / RBAC (use auth system)
  • Permanent per-user personalization (not a flag)

Flag types

TypePurposeLifetimeExample
ReleaseSeparate deploy from releaseDays-weeksdashboard-new-layout
ExperimentA/B testWeeksexp-onboarding-v2
OpsKill switch / circuit breakerMonths-permanentops-disable-heavy-query
PermissionEntitlements by plan/rolePermanentfeature-x-pro-plan

Release flags MUST have an expiration date. Ops flags may be permanent.

Provider selection

ProviderWhen to use
GrowthBookDefault — open source, self-hosted, A/B integrated
UnleashMature OSS alternative, strong multi-language SDK
LaunchDarklySaaS, best UX, budget available, no self-host desire
Env vars / DB rowAVOID — reinvents the wheel, no audit trail

Naming convention

  • kebab-case: <area>-<what>[-<version>]
  • Prefix by type: exp- (experiment), ops- (ops), no prefix for release
  • Include domain area, avoid ambiguous names like test or new-feature

Evaluation patterns

  • Backend: server-side eval, resolved before response
  • Frontend: hydrate from backend or SDK with local cache
  • Mobile: local cache + refresh on foreground, fallback to defaults offline

Targeting & rollout

  • Gradual: 0% -> 1% (canary) -> 5% -> 25% -> 50% -> 100%, 24-48h between steps
  • Cohort: plan, country, creation date, internal emails (dogfooding)
  • Sticky hashing on userId for consistent UX
  • Kill switch: flag always ON, turn OFF during incidents

Lifecycle management

Every flag at creation MUST have:

  • Owner (person responsible)
  • Type (release / experiment / ops / permission)
  • Expiration (release: 30-60d; experiment: end of test; ops: permanent)
  • Cleanup ticket linked in tracker

Cleanup process

  1. Detect stale flags (100% ON or OFF for >30 days)
  2. Remove SDK calls, keep winning branch only
  3. Delete dead code from losing branch
  4. Archive flag in provider (preserve audit trail)

Checklist

  • SDK client keys (read-only) in client, admin API keys server-only
  • Sensitive flags (billing, permissions) evaluated server-side only
  • Audit logging enabled on flag changes
  • Admin console requires 2FA

Anti-patterns

  • Flag without owner/expiration — becomes permanent zombie
  • Evaluating flag on every code line — evaluate once per request, pass result
  • Using flags for runtime config — use env vars
  • Complex targeting with sensitive data on client — move server-side
  • Deleting flag without code cleanup — dead branch forever
  • Flag without success metric — cannot measure impact
  • Multiple interacting flags without documented matrix — combinatorial bugs
  • Rollout 0->100% directly — defeats the purpose of gradual rollout

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

SebastianLuser のスキルをすべて見る

このスキルの問題を報告する