launchdarkly-flag-cleanup - Safely remove LaunchDarkly feature flags from codebase
Safely removes feature flags from codebase while preserving production behavior and archiving flags in LaunchDarkly.
Tags
Updated: 2026-09-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Explore codebase for flag references
- Check flag removal readiness
- Fetch flag configurations from LaunchDarkly
- Determine forward variation value
- Remove flag code and dead branches
- Create pull request for cleanup
- Archive flags in LaunchDarkly
Inputs
- Flag key
- Source codebase
- LaunchDarkly environment configuration
Outputs
- Cleanup plan summary
- Modified source code files
- Pull request description
- Archived flag status
Requirements
- Remotely hosted LaunchDarkly MCP server
- LaunchDarkly check-removal-readiness tool
- LaunchDarkly get-flag tool
