More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Queue Retry Contract Repair

    1

    Repair background-job retry drift in a repository using Cursor.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Queue Retry Contract Repair

    Queue Retry Contract Repair

    Example session with this skill installed

    Analyze our BullMQ workers and fix the drift where the docs say 3 retries but the code uses 5. Ensure the email worker doesn't send duplicates on retry. Use fake timers for the tests.

    • Read your context and instructions
    • Compiled the queue retry contract

    Decision: QUEUE RETRY CONTRACT DRIFT FOUND. I have centralized the retry policy in config/jobs.ts, removed manual re-enqueues in workers/email.ts, and added a stable operation key to prevent duplicate sends. I've also added 8 deterministic tests using fake timers.

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

    About this skill

    The problem

    Background job behavior often drifts across queue configurations, worker code, and documentation, leading to silent failures or expensive duplicate side effects. Manually tracing retry logic through producers, consumers, and dead-letter queues is error-prone and risks triggering production side effects during testing.

    What it does

    • Analyzes repository files to map background job contracts across producers, workers, and configs.
    • Identifies drift between executable code, documented policies, and test fixtures.
    • Standardizes time units, backoff rules, and attempt counts using repository-supported patterns.
    • Drafts safe repository patches to centralize retry policies and idempotent completion logic.
    • Generates deterministic local tests using fake timers and mocks to verify fixes without production access.

    Frameworks & tools

    Works with any repository containing background job logic, including tools like BullMQ, Celery, Sidekiq, RabbitMQ, and Kafka. Uses Read, Edit, and Bash tools to interact with local codebases.

    Why this beats prompting it yourself

    This skill enforces a strict safety boundary, ensuring you never accidentally trigger production side effects like duplicate payments or emails. It automates the tedious logical tracing of job lifecycles, separating transient retries from terminal failures more reliably than a general-purpose prompt.

    Use cases

    • Fixing mismatched retry counts between workers and queue configurations.
    • Converting inconsistent delay units into a single standardized duration format.
    • Adding idempotency guards to workers to prevent duplicate side effects after crashes.
    • Aligning job-status APIs so retrying tasks aren't reported as terminal failures.

    Known limitations

    Cannot connect to live brokers, production databases, or cloud dashboards. It does not verify in-flight jobs or prove exactly-once delivery in production environments.

    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 access live brokers (Redis/SQS/Kafka) or customer payloads. Does not deploy code or manage infrastructure. Limited to repository materials.

    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

    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
    Updated9 days ago

    What's inside

    Frequently Asked Questions

    The skill performs a holistic analysis of your codebase to identify discrepancies between how jobs are produced, how workers handle them, and the retry policies defined in your configuration files. It then suggests patches to unify these behaviors and prevent silent failures.

    No, this skill operates purely on a local level by analyzing and patching your source code. It uses mock environments and fake timers to verify retry logic, ensuring you never accidentally trigger real emails, payments, or API calls during the repair process.

    It is compatible with any repository using major task queues like BullMQ, Sidekiq, Celery, or Kafka. As long as the logic is defined within your codebase, the skill can map the contract regardless of the specific language or framework.

    Beyond fixing retry logic, the skill identifies areas where workers lack idempotency guards and drafts code to ensure that repeated executions of the same job don't result in duplicate side effects.

    You receive the full AI agent skill definition, including the logic for repository mapping and deterministic test generation. Updates are provided via the marketplace to ensure compatibility with evolving agent environments and new queueing patterns.

    The skill requires an AI agent with filesystem access (Read, Edit, and Bash tools) to scan your repository. It works best with agents like Claude Dev or AutoGPT that can interact directly with your local development environment.

    New in Agents & Orchestration