What problem does it solve?
This Skill prevents feature flags from turning into permanent technical debt by enforcing a disciplined, time-bounded lifecycle with safe defaults and reliable rollback behavior.
Core Features & Use Cases
- Feature-flag lifecycle rules: Require an owner and a scheduled removal date so flags don’t linger.
- Safe rollout behavior: Enforce default-off in production, positive naming, and gradual percentage-based targeting.
- Correct implementation patterns: Promote flag services over env vars and require request-scoped snapshotting for performance and consistency.
- Reliability via testing: Mandate tests for both branches so the “off” path stays healthy and the “on” path is verified.
- Operational correctness: Encourage kill-switch ops flags for incident response while distinguishing flags from authorization/permissions.
Quick Start
Use the forge-feature-flags skill when you need to introduce a new rollout-controlled feature, so you can add the flag, implement both branches, and plan its deletion date up front.