What problem does it solve?
This Skill helps you build dependable background job processing on Node.js by covering the full BullMQ workflow—queues, workers, events, retries, scheduling, and production hardening—so jobs don’t get stuck, silently fail, or overload Redis.
Core Features & Use Cases
- Queue & Worker design: Set up
Queue, Worker, and QueueEvents correctly for cross-process observability and predictable job lifecycle handling.
- Job reliability controls: Configure
attempts, backoff, delay, priority, lifo, jobId idempotency, and safe cleanup via removeOnComplete / removeOnFail.
- Production patterns: Implement graceful shutdown, stalled-job mitigation, dead-letter handling, sandboxed CPU work (
useWorkerThreads or child processors), and safe Redis connection rules.
- Flows & repeating jobs: Use
FlowProducer for parent–child pipelines and queue.upsertJobScheduler for cron/every-N scheduling.
Quick Start
Ask Claude to “Design a BullMQ setup for a webhook-driven payment flow with a parent FlowProducer, child retries with backoff, idempotency via jobId, a DLQ for terminal failures, and a graceful shutdown plan for workers.”