Feature Flag Plan
Plans a flag with a removal date, because flags are permanent by default and a codebase of them is unmaintainable.
Free — no card needed
Create a free account
to open Feature Flag Plan — and the other 364 prompts across 21 categories.
Already have an account?
Running it, start to finish
- Classify the flag and set its removal date in the ticket.
- Check it in one place as high up as you can.
- Write the removal plan before you write the feature.
What you get back
The output this produces, every time.
- Classifies the flag by lifespan, since release, experiment and operational flags have different rules.
- Sets the removal date at creation, without which the flag is permanent.
- Writes the removal plan up front, turning a later archaeology exercise into a small task.
Getting better results
Where this usually goes wrong, and how to avoid it.
- Check as high up as possible. One branch at a boundary is removable. Twelve scattered conditionals are twelve chances to leave one behind.
- Fail towards the old behaviour. When the flag service is unreachable, the safe default is what was working yesterday.
- Remove an old flag while you are in there. Section 8 costs almost nothing when you are already in that code and is never scheduled on its own.
More Coding prompts
All Coding →- Coding
Review for the Bug, Not the Style
A code review that hunts correctness failures and states the exact input that breaks each one, instead of listing naming preferences.
ClaudeChatGPTGemini000Open → - Coding
Database Migration Plan
Plans a schema change that ships without downtime, in steps that are each independently safe and reversible.
ClaudeChatGPT000Open → - Coding
Refactor With a Safety Net
Plans a refactor as a sequence of individually safe, individually shippable steps, with the characterisation tests that make each one verifiable.
ClaudeChatGPT000Open →
Written for The AI University. Every prompt in this library is original work — authored, tested and revised here, not collected from elsewhere. 365 of them, free with an account.
