More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Feature Flag Lifecycle Repair

    1

    Repair feature-flag lifecycle drift in a repository using Cursor.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Feature Flag Lifecycle Repair

    Feature Flag Lifecycle Repair

    Example session with this skill installed

    Review our feature flags in the Next.js app and Node API. We have inconsistent fallbacks for 'new-checkout' and stale mocks in our Vitest suite. Prepare a safe repair patch.

    • Read your context and instructions
    • Compiled the feature flag lifecycle

    1. Repair decision

    Decision: FEATURE FLAG LIFECYCLE DRIFT FOUND.
    Found conflicting fallbacks (Server: false, Client: true) and raw string keys in middleware.

    5. Drift findings

    • F1: Fallback mismatch in checkout-registry.ts.
    • F2: Mock drift in checkout.test.ts.

    6. Safe patch plan

    • Unify fallbacks in a shared config.
    • Replace raw strings with typed constants.
    • Update Vitest fixtures to use variant objects.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Feature flag behavior often drifts between registries, provider adapters, and across the stack from API to browser. Inconsistent fallbacks, orphaned keys, and duplicated string literals lead to unpredictable production behavior and risky code cleanup.

    What it does

    • Inspects flag definitions to identify mismatched fallbacks between server, client, and worker processes.
    • Traces flag evaluation paths to find dead branches, stale aliases, and multivariate flags incorrectly treated as booleans.
    • Centralizes typed flag definitions and aligns server-client evaluation contracts for consistent targeting context.
    • Prepares bounded repository patches and deterministic local tests to repair lifecycle metadata and cleanup paths.
    • Detects exposure analytics drift where events fire on component render instead of behavior decision boundaries.

    Why this beats prompting it yourself

    General prompts often suggest deleting flags without checking cross-process dependencies like queued jobs or mobile client compatibility. This skill enforces a strict lifecycle protocol, identifying "authority" sources and preserving kill switches that shouldn't be retired.

    Use cases

    • Aligning browser and server fallback values to prevent hydration errors during provider outages.
    • Refactoring raw flag-key strings into a central, typed registry with explicit variant mapping.
    • Repairing API-to-worker decision paths to ensure queued jobs respect the original flag context.
    • Establishing a deterministic retirement plan for 100% rolled-out features without breaking legacy client support.

    Known limitations

    Does not connect to live providers like LaunchDarkly or Unleash. It cannot verify remote targeting rules, segment membership, or production telemetry.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Cannot connect to live control planes (LD, Unleash, etc.). Cannot verify real targeting rules or delete remote flags. Requires local repository evidence for all findings.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 months ago

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Permissions are limited to the active local workspace and are used to inspect user-supplied or local workspace files; create or modify bounded local fixes, tests, documentation, or review artifacts; run repository-supported local tests, checks, builds, or parsing commands. The skill package does not require bundled credentials, unrestricted external network access, or automatic production changes.

    Listed3 months ago
    Updated8 days ago

    What's inside

    Frequently Asked Questions

    The skill identifies cross-process evaluation gaps, such as mismatched fallbacks between your API and frontend, and repairs orphaned flag keys or dead code branches that result from incomplete feature rollouts.

    This skill is compatible with any AI agent capable of repository-level file operations and is optimized for environments using TypeScript, JavaScript, or Go.

    No, this skill focuses strictly on repository-level code health and lifecycle metadata; it does not require access to your production provider's API or sensitive targeting segments.

    You receive the production-ready skill file containing the logic for flag lifecycle repair, along with documentation on how to integrate it into your agent's workflow.

    Unlike general prompts, this skill enforces a strict lifecycle protocol that prevents the accidental deletion of flags still required by legacy mobile clients or long-running background jobs.

    Setup is minimal: simply import the skill into your agent's workspace and provide the path to your flag definitions and service adapters to begin the analysis.

    New in Agents & Orchestration