background-jobs-designer

Design background job systems with BullMQ and Celery queue integration.

5|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/patricio0312rev/skillset --skill background-jobs-designer-patricio0312rev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: background-jobs-designer
Source: https://github.com/patricio0312rev/skillset/tree/main/templates/backend/background-jobs-designer
Command: npx skills add https://github.com/patricio0312rev/skillset --skill background-jobs-designer-patricio0312rev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designs reliable background job processing systems with queue integration (BullMQ/Celery), job definitions, retry policies, exponential backoff, idempotent execution, and monitoring hooks. Use when implementing "background jobs", "task queues", "async processing", or "job workers".

Core Features & Use Cases

  • Queue integration with BullMQ and Celery
  • Job definitions, retry policies with exponential backoff
  • Idempotent execution and monitoring hooks
  • Best practices for queue depth, retries, and graceful shutdown

Quick Start

Set up a worker to process background jobs with retries and idempotency.

Frequently Asked Questions about background-jobs-designer

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

FAQPage Schema
How do I design a reliable background job system with retries and idempotent execution?

Background job processing moves long-running tasks out of the main request cycle into asynchronous queues, enabling delayed jobs and task workers to handle operations like emails or data processing without blocking user responses.

How do I set up a task queue worker with Celery or BullMQ?

You can set up a task queue worker by defining job definitions, connecting to your queue backend, and configuring retry policies. The system applies best practices for queue depth monitoring and graceful shutdown across Node and Python environments.

Does this background job approach support both Node and Python environments?

Yes, this background job approach supports both Node environments using BullMQ and Python environments using Celery. It applies consistent job lifecycle definitions and monitoring hooks across both platforms to observe success, failure, and latency.

What is the best way to handle job failures and retries in a task queue?

You should ensure idempotent execution for background jobs so that retrying a failed task does not create duplicate side effects. This is critical when using retry policies with exponential backoff, as the same job may execute multiple times.

How do I monitor background job latency and success rates?

You monitor background job latency and success rates by integrating monitoring hooks into your job lifecycle definitions. These hooks observe success, failure, and latency metrics, allowing you to track queue depth and overall worker health.