- Home
- Skills
- Agents & Orchestration
- Queue Retry Contract Repair
More screenshots
Works with the AI Agents you already use
Queue Retry Contract Repair
Repair background-job retry drift in a repository using Cursor.
$1
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
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.