aurostack-org/stacks/add-job
Claude Code and agent skill by aurostack-org/stacks
- community
Checking that the SKILL.md file is still in the repository.
Add background work to this API with BullMQ — register a queue, produce jobs with retries, and consume them in a processor here or in a separate worker. Use when asked to "do X in the background", "queue this", "don't block the request", "process asynchronously", or when a job must be handed to the node or Python worker.
Install
npx vskill@latest install aurostack-org/stacks/add-jobSKILL.md
The same SKILL.md was published earlier as aurostack-org/stacks/add-job.
Add a queue job
The examples are the media queue (src/media/media.module.ts, src/media/services/media.service.ts, src/media/processors/index.ts) and the mail queue in src/common/.
1. Register the queue
In the module that produces: imports: [QueueModule.register('things')] (QueueModule from common/modules). This also adds it to Bull Board at /dashboard.
2. Produce
- Job names are kebab-case and say what happens.
- Set `attempts` and `backoff` here. The template sets no retry defaults
(only removeOnComplete), so a job without them fails once and stays failed.
- The payload is JSON: ids, not entities. Load fresh data in the consumer.
- Use a stable
jobIdwhen the same work must not be queued twice.
3. Consume, in one of two places
In this API, when the work is light and shares the API's code:
List it in the module's providers. Throw on failure so the retry applies; make the work safe to run twice.
In a worker (node-worker / py-worker), when it is heavy, long or needs Python: produce here exactly as above and consume there with its add-worker skill. The queue name and Redis connection must be identical on both sides; a mismatch fails silently. Do not also register a processor here for the same queue, or the two compete for jobs.
4. Check
Trigger the producer, watch the job on /dashboard, and check it completes (and that a forced failure retries).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/nest-api/files/.claude/skills/add-job/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
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/aurostack-org/stacks/add-job)