queue

Manage background jobs and message streams with retries, DLQs, and rate limiting.

26|8|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/arbazkhan971/godmode --skill queue-arbazkhan971
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: queue
Source: https://github.com/arbazkhan971/godmode/tree/main/skills/queue
Command: npx skills add https://github.com/arbazkhan971/godmode --skill queue-arbazkhan971

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a production-ready blueprint for designing, operating, and recovering message queues and background job systems so applications can reliably run asynchronous work without losing tasks, overloading downstream services, or producing duplicate side effects.

Core Features & Use Cases

  • Technology guidance: compares and recommends SQS, BullMQ, Celery, Kafka, RabbitMQ, Redis Streams and Postgres SKIP LOCKED based on throughput and operational needs.
  • Operational patterns: includes architecture for priority routing, worker pools, rate limiting, backpressure, graceful shutdown, scheduling, monitoring and DLQ handling.
  • Resilience & correctness: prescribes exponential backoff with jitter, idempotency keys, delivery guarantees (at-most/at-least/exactly-once), retry classification, and error recovery procedures for stuck jobs and memory exhaustion.
  • Use case: implement scalable email delivery, background processing for image pipelines, order processing with strict ordering, or high-throughput event streaming.

Quick Start

Use the queue skill to design and deploy a worker pool with retries, DLQ, idempotency keys, and monitoring tuned to your application's throughput and latency targets.

Frequently Asked Questions about queue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement exponential backoff with jitter for background job retries?

Implement exponential backoff with jitter for background job retries by applying randomized delay intervals to distributed workers. This queue processing pattern prevents thundering herd effects and avoids overwhelming downstream services during temporary outages.

What is the best way to handle dead letter queues and stuck jobs in BullMQ?

Handle dead letter queues and stuck jobs in BullMQ by configuring DLQ retention and replay policies for failed message streams. The queue skill prescribes error recovery procedures to classify failures, replay stuck jobs, and manage memory exhaustion safely.

How do I ensure idempotency and exactly-once delivery in Kafka consumers?

Ensure idempotency and exactly-once delivery in Kafka consumers by assigning unique idempotency keys to message streams. The queue skill defines delivery guarantees and retry classification logic to prevent duplicate side effects during asynchronous application workloads.

How do I choose between RabbitMQ, SQS, and Postgres SKIP LOCKED for background processing?

Choose between RabbitMQ, SQS, and Postgres SKIP LOCKED by evaluating your background processing throughput and operational needs. The queue skill compares these message broker technologies to recommend the optimal architecture for your specific latency targets.

Can I use Redis Streams for priority routing and rate limiting in worker pools?

Yes, you can use Redis Streams for priority routing and rate limiting in worker pools. The queue skill provides operational patterns for backpressure management, graceful shutdown, and scheduled jobs to handle high-throughput event streaming reliably.

Why does my background job system lose tasks during graceful shutdown?

Your background job system loses tasks during graceful shutdown if it lacks proper worker pool draining procedures. The queue skill prescribes architecture patterns for safe shutdown, ensuring in-flight message streams and asynchronous workloads complete without data loss.