Design a feature flag system
Build feature flag infrastructure
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Design a feature flag system for [application type] that supports percentage rollouts, user segment targeting, and A/B testing. Define the data model, evaluation logic, SDK interface, admin API, and how to safely clean up old flags without breaking production.
Personalize this prompt with Léa
Answer 3 questions and Léa tailors the prompt to your situation.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Intégrez une période de « gel » (par ex. 30 jours) après désactivation d'un flag avant sa suppression définitive. Pendant cette fenêtre, loggez toute tentative d'accès résiduelle pour détecter des références oubliées dans le code ou les configurations. Le SDK doit lever une exception contrôlée ou retourner une valeur par défaut si le flag est absent, évitant les crashs silencieux.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.