Safely removing a feature flag from your code is important after a rollout is complete. This process helps you keep your code clean and maintainable while preserving the current production behavior. You need to know the correct forward value and remove all flag references without breaking anything.
First, explore your codebase to understand how the flag is used. Then run a readiness check using LaunchDarkly to see if it is safe to remove. The tool will tell you if there are any blockers or warnings. Finally, determine the winning variation and replace the flag code with that value.
This skill guides you through each step to ensure a safe and clean flag removal. It uses the LaunchDarkly MCP server to fetch flag configuration and check for dependencies. Always follow the core principles of safety, using LaunchDarkly as the source of truth, and making minimal changes.
Global
mkdir -p ~/.claude/skills/launchdarkly-flag-cleanupProject
mkdir -p .claude/skills/launchdarkly-flag-cleanupSource Repository
Web Design Guidelinesvercel-labs/agent-skills
Review your UI code for compliance with web interface guidelines
Improve Codebase Architecturemattpocock/skills
Scan your codebase for architecture improvements with visual reports and pick one to refactor
Zoom Outmattpocock/skills
Get a big picture view of your code with a simple map of modules and callers
Caveman Reviewjuliusbrussee/caveman
Ultra-compressed one-line code review comments that cut noise
Requesting Code Reviewobra/superpowers
Catch code issues early with focused automated reviews before every merge
Receiving Code Reviewobra/superpowers
Think first, then code. Verify feedback before making changes. Stay objective
Auditpbakaus/impeccable
Audit your code for accessibility performance theming and anti-patterns
Request Refactor Planmattpocock/skills
Plan safe code refactors with tiny commits and clear GitHub issues