Token导航 LogoToken导航TokenDH.com
AI 工具敏感数据github未标认证来源可访问clear审计通过

bullmq-specialistbullmq 专家

Agent Skill

bullmq-specialist 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,344

周安装

931

GitHub Stars

35,682

下载量

7,448
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bullmq-specialist(bullmq 专家)
来源仓库:https://github.com/sickn33/antigravity-awesome-skills
仓库路径:skills/bullmq-specialist
安装命令:
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill bullmq-specialist
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill bullmq-specialist

简介

Redis 支持的作业队列专家,用于 Node.js/TypeScript 中可靠的异步处理、后台作业和复杂的多步骤工作流程。

  • 涵盖作业调度、延迟/可重复作业、优先级、速率限制、作业依赖等10+核心能力
  • 支持具有父子关系和多步骤处理模式的复杂作业流程
  • 包括队列设置、工作线程并发优化和事件处理的生产模式
  • 强调关键的反模式:过大的作业负载、丢失死信队列和无限并发

SKILL.md

BullMQ Specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications.

Principles

  • Jobs are fire-and-forget from the producer side - let the queue handle delivery
  • Always set explicit job options - defaults rarely match your use case
  • Idempotency is your responsibility - jobs may run more than once
  • Backoff strategies prevent thundering herds - exponential beats linear
  • Dead letter queues are not optional - failed jobs need a home
  • Concurrency limits protect downstream services - start conservative
  • Job data should be small - pass IDs, not payloads
  • Graceful shutdown prevents orphaned jobs - handle SIGTERM properly

Capabilities

  • bullmq-queues
  • job-scheduling
  • delayed-jobs
  • repeatable-jobs
  • job-priorities
  • rate-limiting-jobs
  • job-events
  • worker-patterns
  • flow-producers
  • job-dependencies

Scope

  • redis-infrastructure -> redis-specialist
  • serverless-queues -> upstash-qstash
  • workflow-orchestration -> temporal-craftsman
  • event-sourcing -> event-architect
  • email-delivery -> email-systems

Tooling

Core

  • bullmq
  • ioredis

Hosting

  • upstash
  • redis-cloud
  • elasticache
  • railway

Monitoring

  • bull-board
  • arena
  • bullmq-pro

Patterns

  • delayed-jobs
  • repeatable-jobs
  • job-flows
  • rate-limiting
  • sandboxed-processors

Patterns

Basic Queue Setup

Production-ready BullMQ queue with proper configuration

When to use: Starting any new queue implementation

import {Queue, Worker, QueueEvents} from 'bullmq'; import IORedis from 'ioredis';

// Shared connection for all queues const connection = new IORedis(process.env.REDIS_URL, {maxRetriesPerRequest: null, // Required for BullMQ enableReadyCheck: false,});

// Create queue with sensible defaults const emailQueue = new Queue('emails', {connection, defaultJobOptions: {attempts: 3, backoff: {type: 'exponential', delay: 1000,}, removeOnComplete: {count: 1000}, removeOnFail: {count: 5000},},});

// Worker with concurrency limit const worker = new Worker('emails', async (job) => {await sendEmail(job.data);}, {connection, concurrency: 5, limiter: {max: 100, duration: 60000, // 100 jobs per minute},});

// Handle events worker.on('failed', (job, err) => {console.error(Job ${job?.id} failed:, err);});

Delayed and Scheduled Jobs

Jobs that run at specific times or after delays

When to use: Scheduling future tasks, reminders, or timed actions

// Delayed job - runs once after delay await queue.add('reminder', {userId: 123}, {delay: 24 * 60 * 60 * 1000, // 24 hours});

// Repeatable job - runs on schedule await queue.add('daily-digest', {type: 'summary'}, {repeat: {pattern: '0 9 * * *', // Every day at 9am tz: 'America/New_York',},});

// Remove repeatable job await queue.removeRepeatable('daily-digest', {pattern: '0 9 * * *', tz: 'America/New_York',});

Job Flows and Dependencies

Complex multi-step job processing with parent-child relationships

When to use: Jobs depend on other jobs completing first

import {FlowProducer} from 'bullmq';

const flowProducer = new FlowProducer({connection});

// Parent waits for all children to complete await flowProducer.add({name: 'process-order', queueName: 'orders', data: {orderId: 123}, children: [{name: 'validate-inventory', queueName: 'inventory', data: {orderId: 123},}, {name: 'charge-payment', queueName: 'payments', data: {orderId: 123},}, {name: 'notify-warehouse', queueName: 'notifications', data: {orderId: 123},},],});

Graceful Shutdown

Properly close workers without losing jobs

When to use: Deploying or restarting workers

const shutdown = async () => {console.log('Shutting down gracefully...');

// Stop accepting new jobs await worker.pause();

// Wait for current jobs to finish (with timeout) await worker.close();

// Close queue connection await queue.close();

process.exit(0);};

process.on('SIGTERM', shutdown); process.on('SIGINT', shutdown);

Bull Board Dashboard

Visual monitoring for BullMQ queues

When to use: Need visibility into queue status and job states

import {createBullBoard} from '@bull-board/api'; import {BullMQAdapter} from '@bull-board/api/bullMQAdapter'; import {ExpressAdapter} from '@bull-board/express';

const serverAdapter = new ExpressAdapter(); serverAdapter.setBasePath('/admin/queues');

createBullBoard({queues: [new BullMQAdapter(emailQueue), new BullMQAdapter(orderQueue),], serverAdapter,});

app.use('/admin/queues', serverAdapter.getRouter());

Validation Checks

Redis connection missing maxRetriesPerRequest

Severity: ERROR

BullMQ requires maxRetriesPerRequest null for proper reconnection handling

Message: BullMQ queue/worker created without maxRetriesPerRequest: null on Redis connection. This will cause workers to stop on Redis connection issues.

No stalled job event handler

Severity: WARNING

Workers should handle stalled events to detect crashed workers

Message: Worker created without 'stalled' event handler. Stalled jobs indicate worker crashes and should be monitored.

No failed job event handler

Severity: WARNING

Workers should handle failed events for monitoring and alerting

Message: Worker created without 'failed' event handler. Failed jobs should be logged and monitored.

No graceful shutdown handling

Severity: WARNING

Workers should gracefully shut down on SIGTERM/SIGINT

Message: Worker file without graceful shutdown handling. Jobs may be orphaned on deployment.

Awaiting queue.add in request handler

Severity: INFO

Queue additions should be fire-and-forget in request handlers

Message: Queue.add awaited in request handler. Consider fire-and-forget for faster response.

Potentially large data in job payload

Severity: WARNING

Job data should be small - pass IDs not full objects

Message: Job appears to have large inline data. Pass IDs instead of full objects to keep Redis memory low.

Job without timeout configuration

Severity: INFO

Jobs should have timeouts to prevent infinite execution

Message: Job added without explicit timeout. Consider adding timeout to prevent stuck jobs.

Retry without backoff strategy

Severity: WARNING

Retries should use exponential backoff to avoid thundering herd

Message: Job has retry attempts but no backoff strategy. Use exponential backoff to prevent thundering herd.

Repeatable job without explicit timezone

Severity: WARNING

Repeatable jobs should specify timezone to avoid DST issues

Message: Repeatable job without explicit timezone. Will use server local time which can drift with DST.

Potentially high worker concurrency

Severity: INFO

High concurrency can overwhelm downstream services

Message: Worker concurrency is high. Ensure downstream services can handle this load (DB connections, API rate limits).

Collaboration

Delegation Triggers

  • redis infrastructure|redis cluster|memory tuning -> redis-specialist (Queue needs Redis infrastructure)
  • serverless queue|edge queue|no redis -> upstash-qstash (Need queues without managing Redis)
  • complex workflow|saga|compensation|long-running -> temporal-craftsman (Need workflow orchestration beyond simple jobs)
  • event sourcing|CQRS|event streaming -> event-architect (Need event-driven architecture)
  • deploy|kubernetes|scaling|infrastructure -> devops (Queue needs infrastructure)
  • monitor|metrics|alerting|dashboard -> performance-hunter (Queue needs monitoring)

Email Queue Stack

Skills: bullmq-specialist, email-systems, redis-specialist

Workflow:

1. Email request received (API)
2. Job queued with rate limiting (bullmq-specialist)
3. Worker processes with backoff (bullmq-specialist)
4. Email sent via provider (email-systems)
5. Status tracked in Redis (redis-specialist)

Background Processing Stack

Skills: bullmq-specialist, backend, devops

Workflow:

1. API receives request (backend)
2. Long task queued for background (bullmq-specialist)
3. Worker processes async (bullmq-specialist)
4. Result stored/notified (backend)
5. Workers scaled per load (devops)

AI Processing Pipeline

Skills: bullmq-specialist, ai-workflow-automation, performance-hunter

Workflow:

1. AI task submitted (ai-workflow-automation)
2. Job flow created with dependencies (bullmq-specialist)
3. Workers process stages (bullmq-specialist)
4. Performance monitored (performance-hunter)
5. Results aggregated (ai-workflow-automation)

Scheduled Tasks Stack

Skills: bullmq-specialist, backend, redis-specialist

Workflow:

1. Repeatable jobs defined (bullmq-specialist)
2. Cron patterns with timezone (bullmq-specialist)
3. Jobs execute on schedule (bullmq-specialist)
4. State managed in Redis (redis-specialist)
5. Results handled (backend)

Related Skills

Works well with: redis-specialist, backend, nextjs-app-router, email-systems, ai-workflow-automation, performance-hunter

When to Use

  • User mentions or implies: bullmq
  • User mentions or implies: bull queue
  • User mentions or implies: redis queue
  • User mentions or implies: background job
  • User mentions or implies: job queue
  • User mentions or implies: delayed job
  • User mentions or implies: repeatable job
  • User mentions or implies: worker process
  • User mentions or implies: job scheduling
  • User mentions or implies: async processing

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29%
按下载量换算2,160

Antigravity

23.4%
按下载量换算1,743

OpenCode

16.31%
按下载量换算1,215

Gemini CLI

10.36%
按下载量换算772

Cursor

6.76%
按下载量换算503

Codex

3.07%
按下载量换算229

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills