launchdarkly-flag-cleanup

Installation
SKILL.md

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

Related skills
Installs
6
GitHub Stars
10
First Seen
Apr 17, 2026