mralexsaavedra/spotiarr/spotiarr-bullmq

Claude Code and agent skill by mralexsaavedra/spotiarr

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Trigger: BullMQ, queue, worker, job, cron, async job, enqueue. BullMQ patterns for spotiarr: real queue names, worker factory, job config, gotchas.

Install

npx vskill@latest install mralexsaavedra/spotiarr/spotiarr-bullmq

SKILL.md

Activation Contract

Load when defining queues, writing workers, enqueueing jobs, or configuring cron jobs in apps/backend/.

Hard Rules

  • Queue singletons initialized in infrastructure/setup/queues.ts. Accessing before init throws AppError(500).
  • Enqueue from application/ layer via domain service interface — never directly from presentation/.
  • Workers go in infrastructure/workers/ (one file per worker, factory function pattern — not classes).
  • Scheduled jobs go in infrastructure/jobs/. No locking mechanism — prevent overlapping at implementation level.
  • job.data arrives unvalidated — Zod-parse at worker entry.

Real Queue Names

ts
"track-download-processor"; // getTrackDownloadQueue()
"track-search-processor"; // getTrackSearchQueue()
"feed-sync-queue"; // getFeedSyncQueue()
"catalog-sync-queue"; // getCatalogSyncQueue()

Decision Gates

Job typeConfig
Downloadattempts: 3, exponential backoff delay: 5000ms, removeOnComplete: true
Searchattempts: 1 (no retry)
Job IDs${type}-${entityId} for dedup; ${type}-${entityId}-${Date.now()} for downloads

Worker events to handle: completed (log) · drained (trigger SSE events / library scan) · failed (update entity status → Error, emit SSE).

Gotchas

  • No DLQ: jobs are lost after max attempts.
  • Job ID collisions: download jobs enqueued rapidly — always use Date.now() suffix.
  • Workers may depend on settings not yet initialized — ensure container init order.

References

  • Queues setup: apps/backend/src/infrastructure/setup/queues.ts
  • Workers: apps/backend/src/infrastructure/workers/
  • Jobs (cron): apps/backend/src/infrastructure/jobs/

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
39
Repository forks
6
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Jul 2026, 3 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mralexsaavedra/spotiarr/spotiarr-bullmq/badge)](https://verified-skill.com/skills/mralexsaavedra/spotiarr/spotiarr-bullmq)

Something wrong with this skill or its page? Tell us.