queue-job-processor

Process background jobs with BullMQ and Redis queues.

1|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/zinohome/CozyChat --skill queue-job-processor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: queue-job-processor
Source: https://github.com/zinohome/CozyChat/tree/main/.claude/skills/queue-job-processor
Command: npx skills add https://github.com/zinohome/CozyChat --skill queue-job-processor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bullmq, ioredis, @types/ioredis, sharp, @aws-sdk/client-s3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust framework for handling background tasks, ensuring that time-consuming or asynchronous operations are processed efficiently without blocking the main application flow.

Core Features & Use Cases

  • Asynchronous Task Execution: Offload tasks like sending emails, processing images, or making external API calls to background workers.
  • Job Queues & Workers: Manages job queues using BullMQ and Redis, with dedicated workers to process jobs.
  • Scheduling & Retries: Supports scheduled jobs (cron-like) and automatic retries for failed tasks.
  • Monitoring: Includes integration points for monitoring job status and performance.
  • Use Case: Automatically send welcome emails to new users, process uploaded images for resizing and optimization, or trigger webhooks for external system updates.

Quick Start

Use the queue-job-processor skill to add an email job to the 'email' queue with the subject 'Welcome!' and 'welcome' template.

Frequently Asked Questions about queue-job-processor

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

FAQPage Schema
How do I process background jobs with Redis and BullMQ?

You can process background jobs with Redis and BullMQ by offloading time-consuming operations like sending emails or image processing to dedicated workers, ensuring asynchronous tasks execute without blocking the main application flow.

What is the best way to handle async tasks and queue processing for web applications?

Handling async tasks and queue processing is best achieved by using BullMQ to manage job queues and Redis for message brokering, which supports job scheduling, automatic retries for failed tasks, and performance monitoring.

Can I schedule background jobs and configure retries in BullMQ?

Yes, you can schedule cron-like background jobs and configure automatic retries for failed tasks in BullMQ, ensuring robust queue management for diverse job types including report generation and webhooks.

Do I need Redis to run background workers for async tasks?

Yes, you need Redis as a message broker to run background workers, because the queue processing framework relies on Redis to manage job queues and handle asynchronous task execution efficiently.

How do I offload image processing tasks to background workers?

You offload image processing tasks to background workers by adding the job to a queue, allowing dedicated workers to process operations like resizing and optimization asynchronously without blocking the main application flow.