Muse
Directory
Connectors
Prompts
Method
Submit
Prompts
/
Developer Tools
Prompt · Developer Tools
Flag Cleanup Finder
Finds stale feature flags and gives a safe removal order.
Have ready:
Paste your flag list or config
Fill in · 3 fields
PASTE YOUR FLAG LIST / CONFIG, NAME, STATUS, OWNER IF KNOWN
PASTE grep RESULTS FOR FLAG USAGE OR "NOT AVAILABLE"
LAUNCHDARKLY / UNLEASH / HOMEGROWN / CONFIG FILE
Your prompt
Help me clean up feature flags. Find the dead ones and tell me the safe removal order. Flags: [PASTE YOUR FLAG LIST / CONFIG, NAME, STATUS, OWNER IF KNOWN] Codebase references (if you can grep): [PASTE grep RESULTS FOR FLAG USAGE OR "NOT AVAILABLE"] Flag system: [LAUNCHDARKLY / UNLEASH / HOMEGROWN / CONFIG FILE] For each flag, determine: 1. Status: LIVE (still gating) / ROLLED OUT 100% (safe to remove) / DEAD EXPERIMENT (remove + delete code) / UNKNOWN (needs owner confirmation). 2. For removable flags: the exact removal order, flag check first or code first?, and what breaks if done backwards. 3. Any flag guarding a code path with no tests: flag it as risky to remove blindly. Deliver a ranked removal list (easiest/safest first) with the PR-sized steps for the first three. End with a flag-hygiene rule (naming, expiry dates, ownership) that prevents this mess recurring.
Help me clean up feature flags. Find the dead ones and tell me the safe removal order. Flags: [PASTE YOUR FLAG LIST / CONFIG, NAME, STATUS, OWNER IF KNOWN] Codebase references (if you can grep): [PASTE grep RESULTS FOR FLAG USAGE OR "NOT AVAILABLE"] Flag system: [LAUNCHDARKLY / UNLEASH / HOMEGROWN / CONFIG FILE] For each flag, determine: 1. Status: LIVE (still gating) / ROLLED OUT 100% (safe to remove) / DEAD EXPERIMENT (remove + delete code) / UNKNOWN (needs owner confirmation). 2. For removable flags: the exact removal order, flag check first or code first?, and what breaks if done backwards. 3. Any flag guarding a code path with no tests: flag it as risky to remove blindly. Deliver a ranked removal list (easiest/safest first) with the PR-sized steps for the first three. End with a flag-hygiene rule (naming, expiry dates, ownership) that prevents this mess recurring.
Copy prompt
Paste it into Muse or any assistant. Blank fields stay as [brackets].
More like this
Changelog Writer
Setup Runbook Writer
Complexity Estimator
Postmortem Draft
Race Condition Hunt
Query Plan Explainer