Implement feature flags: boolean flags, percentage rollouts, user targeting, A/B testing, and cleanup strategies. Covers LaunchDarkly, Unleash, and custom solutions.
When to use this skill
- Implementing feature flags
- Setting up a percentage rollout
- Running an A/B test
Core concepts
This skill provides guidance on feature flags best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/architecture/feature-flags.zip
unzip feature-flags.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- implementing feature flags
- setting up a percentage rollout
- running an A/B test