jgamaraalv/ts-dev-kit/bullmq
Claude Code and agent skill by jgamaraalv/ts-dev-kit
- community
Checking that the SKILL.md file is still in the repository.
BullMQ queue system reference for Redis-backed job queues, workers, flows, and schedulers. Use when: (1) creating queues and workers with BullMQ, (2) adding jobs (delayed, prioritized, repeatable, deduplicated), (3) setting up FlowProducer parent-child job hierarchies, (4) configuring retry strategies, rate limiting, or concurrency, (5) implementing job schedulers with cron/interval patterns, (6) preparing BullMQ for production (graceful shutdown, Redis config, monitoring), or (7) debugging stalled jobs or connection issues
Install
npx vskill@latest install jgamaraalv/ts-dev-kit/bullmqSKILL.md
BullMQ
Redis-backed queue system for Node.js. Four core classes: Queue, Worker, QueueEvents, FlowProducer.
Table of Contents
- Install
- Quick Start
- Connections
- Queue
- Worker
- TypeScript Generics
- Events
- Job Lifecycle States
- Advanced Topics
Install
yarn add bullmq — requires Redis 5.0+ with maxmemory-policy=noeviction.
<quick_reference>
Quick Start
Job Lifecycle States
With FlowProducer: jobs can also be in waiting-children state until all children complete.
</quick_reference>
<rules>
Connections
BullMQ uses ioredis internally. Pass connection options or an existing ioredis instance.
Critical rules:
- Workers REQUIRE
maxRetriesPerRequest: nullon the ioredis instance. BullMQ enforces this and will warn/throw if not set. - Do NOT use ioredis
keyPrefixoption — use BullMQ'sprefixoption instead. QueueEventscannot share connections (uses blocking Redis commands).- Redis MUST have
maxmemory-policy=noeviction.
</rules>
<examples>
Queue
Worker
Processor receives 3 args: (job, token?, signal?) — signal is an AbortSignal for cancellation support.
TypeScript Generics
</examples>
<events>
Events
Worker events (local to that worker instance):
| Event | Callback signature | ||
|---|---|---|---|
completed | (job, returnvalue) | ||
failed | `(job \ | undefined, error, prev)` | |
progress | `(job, progress: number \ | object)` | |
drained | () — queue is empty | ||
error | (error) — MUST attach this handler |
QueueEvents (global, all workers, uses Redis Streams):
| Event | Callback signature | |
|---|---|---|
completed | ({ jobId, returnvalue }) | |
failed | ({ jobId, failedReason }) | |
progress | ({ jobId, data }) | |
waiting | ({ jobId }) | |
active | ({ jobId, prev }) | |
delayed | ({ jobId, delay }) | |
deduplicated | ({ jobId, deduplicationId, deduplicatedJobId }) |
Event stream is auto-trimmed (~10,000 events). Configure via streams.events.maxLen.
</events>
<references>
Advanced Topics
- Job types and options (delayed, prioritized, deduplication, repeatable): See references/job-types-and-options.md
- Flows and schedulers (FlowProducer, parent-child, job schedulers, cron): See references/flows-and-schedulers.md
- Patterns (step jobs, idempotent, throttle, manual rate-limit): See references/patterns.md
- Production (shutdown, Redis config, retries, backoff, monitoring): See references/production.md
</references>
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bullmq/SKILL.md
Popularity
- Repository stars
- 12
- Repository npm downloads, 7 days
- 1
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 23 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jgamaraalv/ts-dev-kit/bullmq)