P
đź’»DeveloppementIntermediateAll AIs

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

Build feature flag infrastructure

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • 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.

Go further

Similar Prompts

đź’»DeveloppementBeginnerAll AIs

Implement OWASP security headers

Add security headers

0101
đź’»DeveloppementIntermediateAll AIs

Implement secrets management

Secure credentials management

0111
đź’»DeveloppementIntermediateAll AIs

Multi-Level Testing Pipeline

Structuring tests in the pipeline

086
đź’»DeveloppementIntermediateAll AIs

Transform JSON data with business logic

Transform data between different API formats

0104