2

    feature-flag-manager

    by Markus Isaksson

    Audit, document, and clean up stale feature flags across your entire codebase with automated removal patches.

    Updated May 2026
    Security scanned
    One-time purchase

    $5

    One-time purchase

    ⚡ Also available via Agensi MCP — your AI agent can load this skill on demand via MCP. Learn more →

    Included in download

    • Identify "dead" feature flags that are no longer used in code but exist in UI
    • Generate a Markdown registry of all active flags with owners and ages
    • file_read, file_write automation included
    • Includes example output and usage patterns
    • Instant install

    See it in action

    ### Finding #3 — flag `new-checkout-flow`
    - Severity: High | Verdict: Stale
    - Why: 100% on for 217 days; no code changes since rollout.
    - Action: Created removal patch in `cleanup-patches/remove-flag-new-checkout-flow.patch`.
    - Locations: `src/checkout/router.ts:18`, `src/cart.ts:67`

    About This Skill

    Automated Feature Flag Lifecycle Management

    The Feature Flag Manager is a developer-centric tool designed to combat "toggle debt." It systematically audits your codebase to identify stale, abandoned, or forgotten feature flags across multiple providers, including LaunchDarkly, Unleash, Flagsmith, Split, ConfigCat, and OpenFeature.

    Manually tracking down every if (flags.isEnabled('new-ui')) block is error-prone and tedious. This skill automates the discovery process using static analysis and cross-references finding with git history and flag-service APIs to determine exactly which flags are safe to remove.

    What it does

    • Flag Discovery: Automatically detects SDK usage and extracts flag keys from your source code.
    • Staleness Auditing: Evaluates flags based on age, rollout percentage (100% on/off), and recent commit activity.
    • Registry Generation: Produces a living identity of your flags in Markdown and JSON, including ownership data from CODEOWNERS.
    • Automated Cleanup: Generates precise .patch files that inline the winning code branch and remove the conditional logic.

    Why use this skill

    Unlike simple search-and-replace, this skill understands the context of the flag's state. It produces isolated, review-ready patches that ensure dead code paths are safely deleted while preserving the logic currently serving your users in production.

    📖 Learn more: Best DevOps & Deployment Skills for Claude Code →

    Use Cases

    • Identify "dead" feature flags that are no longer used in code but exist in UI
    • Generate a Markdown registry of all active flags with owners and ages
    • Produce git-ready patches to safely remove stale C-style toggle branches
    • Sync codebase flags with LaunchDarkly or Unleash API data for rollout status

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Read Files
    Write Files

    Reads source for flag usage discovery and git history for flag age. Generates the registry and cleanup patches as files; the user reviews and opens the PRs through their normal workflow. Does not call flag-service APIs — when state metadata is needed beyond what code reveals, the user provides an export.

    Cross-references with the flag service's API for rollout state and last-evaluation timestamps when API access is available; without it, falls back to age + commit-history signals only.

    Frequently Asked Questions

    Similar Skills

    $5

    One-time