- Home
- Skills
- Agents & Orchestration
- Queue Retry Contract Repair
Works with the AI tools you already use
Queue Retry Contract Repair
Repair background-job retry drift in a repository using Cursor.
$6.99
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.
What you get
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.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 27 days ago
- Passed all security checks, Safe to install