More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair Feature Flag Targeting Bugs

    1

    Repair feature-flag targeting bugs where percentage buckets reshuffle, rule precedence differs across SDKs, missing attributes change defaults, or stale configuration produces inconsistent rollout decisions.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Feature Flag Targeting Bugs

    Repair Feature Flag Targeting Bugs

    Example session with this skill installed

    A 20% rollout uses email as the hash key in one service and user ID in another, so the same user sees different behavior. Reordering targeting rules also changes decisions unexpectedly. Repair without changing who the product team intended to target.

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

    Evaluation semantics are not canonical across services. The repair defines one normalized subject/attribute contract, one rule precedence order, and one stable bucket key/hash implementation, then adds cross-SDK golden fixtures for targeting, missing attributes, percentage edges, stale configs, and kill-switch behavior.

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

    About this skill

    The problem

    Feature flag inconsistencies often lead to broken rollouts, non-deterministic targeting, or race conditions during flag evaluation. Debugging why a specific user bypassed a rule or why a percentage rollout is skewed across different SDKs is time-consuming and error-prone.

    What it does

    • Normalizes evaluation inputs to ensure stable subject and bucket keys across components.
    • Fixes broken rule precedence and percentage hashing logic for deterministic rollouts.
    • Ensures parity between multi-SDK implementations and offline cache behaviors.
    • Establishes canonical contracts for identity, trust boundaries, and state ownership.
    • Implements deterministic local fixtures and regression tests to verify targeting logic.

    Why this beats prompting it yourself

    General LLMs often suggest broad retries or weakening validation to "fix" targeting bugs, which can cause production outages. This skill strictly preserves rollout percentages and kill-switch policies while enforcing validation before state mutation, preventing the introduction of new security or consistency risks.

    Use cases

    • Fixing drifting percentage rollouts where users get different results on different devices.
    • Repairing race conditions in concurrent flag evaluations or state transitions.
    • Aligning rule precedence logic between a backend service and a frontend SDK.
    • Adding redacted observability to flag evaluation paths for easier production debugging.

    Known limitations

    Cannot contact live production services or read actual customer secrets. It operates strictly on repository files and local test fixtures.

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

    Cannot redesign flag definitions, rollout percentages, targeting policy, kill-switch behavior, tenant boundaries, and public errors; cannot verify production infrastructure or prove every runtime, proxy, network, storage, clock, or scheduler ordering.

    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 2 months ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Run on a clean branch with repository files and disposable local fixtures. Review patches and validation before merge. Keep production services, real credentials, customer payloads, and deployment out of scope.

    Listed2 months ago
    Updated9 days ago

    What's inside

    Frequently Asked Questions

    This skill fixes inconsistencies in feature flag logic, such as drifting percentage rollouts across different SDKs, race conditions in evaluations, and incorrect rule precedence that causes users to see the wrong features.

    It supports any AI agent capable of file-system operations and code analysis, particularly those optimized for TypeScript and distributed system architectures.

    The skill operates locally on your repository and test fixtures; it never accesses live production environments, customer secrets, or your flag management dashboard.

    You receive the core logic for normalizing evaluation inputs, deterministic hashing fixes, and a suite of regression tests to ensure your targeting remains stable after the repair.

    Unlike general prompts, this skill enforces strict validation and canonical contracts to ensure that fixing a bug doesn't accidentally trigger a 'kill-switch' or shift existing rollout percentages for other users.

    Setup is minimal; you simply need to provide the agent access to your flag configuration files and any existing SDK implementation code within your local development environment.

    New in Testing & Debugging