Safely remove a feature flag from code while preserving production behavior. Use when the user wants to remove a flag from code, delete flag references, or…
LaunchDarkly Flag Cleanup You're using a skill that will guide you through safely removing a feature flag from a codebase while preserving production behavior. Your job is to explore the codebase to understand how the flag is used, query LaunchDarkly to determine the correct forward value, remove the flag code cleanly, and verify the result. If you haven't already identified which flag to clean up, use the flag discovery skill first to audit the landscape and find candidates. Prerequisites This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment. Required MCP tools: check-removal-readiness: detailed safety check (orchestrates flag config, cross-env status, dependencies, code references, and expiring targets in parallel) get-flag: fetch flag configuration for a specific environment Optional MCP tools: archive-flag: archive the flag in LaunchDarkly after code removal delete-flag: permanently delete the flag (irreversible, prefer archive) Core Principles
don't have the plugin yet? install it then click "run inline in claude" again.