stacks-queue

Manage asynchronous job queues and batch processing in Stacks applications.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-queue-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-queue
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-queue
Command: npx skills add https://github.com/bughq/bughq --skill stacks-queue-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of managing asynchronous background processing, job scheduling, and task batching within a Stacks application, ensuring that time-consuming operations do not block the main execution thread.

Core Features & Use Cases

  • Job Dispatching: Provides a fluent API to dispatch jobs synchronously, asynchronously, or with specific delays and retry logic.
  • Batch Processing: Allows grouping multiple jobs into batches with lifecycle hooks for completion, failure, and progress tracking.
  • Health Monitoring: Includes built-in health checks and notification systems for failed jobs via email, Slack, or Discord.
  • Use Case: Use this to offload heavy tasks like sending bulk emails, processing image uploads, or generating reports to background workers, ensuring your application remains responsive.

Quick Start

Use the stacks-queue skill to dispatch a new job named SendWelcomeEmail with the provided user data.

Frequently Asked Questions about stacks-queue

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

FAQPage Schema
How do I manage background jobs and queues in Stacks without blocking the main thread?

To manage background jobs in Stacks without blocking execution, use this Skill to offload time-consuming operations like sending bulk emails or processing image uploads to asynchronous workers via a fluent dispatching API. It ensures your application remains responsive.

Does the Stacks queue support Redis for background task scheduling?

Yes, Stacks queue supports Redis for background task scheduling. It provides multiple drivers including Redis, database, or sync to facilitate the creation, dispatching, and monitoring of asynchronous job queues within your application.

Can I group multiple background tasks into batches with progress tracking?

Yes, you can group multiple background tasks into batches. This Skill allows batching jobs with lifecycle hooks for completion, failure, and progress tracking to ensure reliable execution of grouped operations.

What is the best way to handle failed background jobs and retry logic in Stacks?

The best way to handle failed background jobs in Stacks is using built-in retry policies and backoff strategies. This Skill ensures reliable job execution and provides event-driven health monitoring for failures.

How do I get notifications when a background job fails in my application?

To get notifications when a background job fails, use the built-in health monitoring system. This Skill includes comprehensive notification capabilities for failed jobs via email, Slack, or Discord integrations.