feature-flag-patterns
Installation
SKILL.md
Feature Flag Patterns
Feature flag strategies for safe deployments, experimentation, and operational control.
Flag Types and Structure
interface FeatureFlag {
key: string
type: 'boolean' | 'percentage' | 'variant' | 'segment'
enabled: boolean
description: string
owner: string // Team/person responsible
createdAt: Date
expiresAt?: Date // Auto-cleanup reminder
tags: string[] // 'release', 'experiment', 'ops', 'permission'
}