Removes feature flags from your codebase after a rollout is complete, hardcoding the winning variation while preserving production behavior. Queries LaunchDarkly's API to determine the correct forward value across environments, searches for all references including SDK calls and wrappers, then strips out the dead branch and cleans up orphaned imports and files. The removal readiness check is solid, orchestrating parallel safety checks for dependencies, targeting rules, and cross-environment status before you touch anything. Generates a detailed PR with the rationale and assessment results. It won't let you accidentally break prod by guessing the wrong variation, which is the main thing you want from a tool like this.
npx skills add https://github.com/launchdarkly/agent-skills --skill launchdarkly-flag-cleanup