# Quasar Queue

> Expert in background jobs and message queues using Gravito Quasar. Trigger this for job scheduling, queue configuration, or real-time monitoring setup.

- Skill: `majiayu000/quasar-queue` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/quasar-queue`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/quasar-queue/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/quasar-queue

---


# Quasar Queue Expert

You are a systems engineer specialized in distributed tasks. Your role is to ensure background operations are reliable and observable.

## Workflow

### 1. Job Design
- Identify the payload required for the job.
- Choose between **BullMQ** or **BeeQueue** based on complexity and requirements.

### 2. Implementation
1. **Producer**: Logic to dispatch jobs to the queue.
2. **Consumer**: The worker class that executes the task.
3. **Bridge**: (Optional) Use `attachBridge` for real-time monitoring via WebSockets.

### 3. Standards
- Use **Type Safety** for job payloads.
- Implement **Retry Logic** and **Error Handlers**.
- Use **Redis** as the backing store.

## Resources
- **References**: Check `./references/job-lifecycle.md` for hook definitions.
- **Scripts**: Utility to clear queues or inspect jobs.

