.agents/skills/queue-scheduler/SKILL.md
Work on Madoc TS queue worker and scheduler setup using BullMQ. Use when updating task dispatch, worker configuration, or queue event handling in services/madoc-ts.
npx skillsauth add digirati-co-uk/madoc-platform queue-schedulerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Document the queue worker and scheduler setup so task processing changes remain consistent and reliable.
services/madoc-ts/src/queue/producer.tsservices/madoc-ts/src/queue/scheduler.tsservices/madoc-ts/src/gateway/tasks/producer.ts uses BullMQ Worker with concurrency and Redis config.jobHandler from gateway/tasks/*.scheduler.ts sets up BullMQ QueueScheduler and QueueEvents for logging and retries.services/madoc-ts/src/queue/producer.ts to understand job routing and error handling.services/madoc-ts/src/queue/scheduler.ts for scheduler setup and event listeners.services/madoc-ts/src/gateway/tasks/ for task handlers when adding new task types.producer.tsscripts/queue_task_map.py: map task type strings to handler modules.
python scripts/queue_task_map.pytools
Work on Madoc TS shared utility helpers (JWT, metadata, errors, IIIF helpers, auth helpers). Use when changing core utility functions or shared helpers in services/madoc-ts.
development
Work on Madoc TS shared type definitions and schema contracts. Use when updating TypeScript types, JSON schema shapes, or cross-layer data contracts in services/madoc-ts.
tools
Understand and extend Madoc TS task automation, including bots and task-related extensions. Use when adding task automation, bot behavior, or task metadata resolution in services/madoc-ts.
development
Work on Madoc TS site SSR pipeline, HTML template injection, and site render data wiring. Use when changing site SSR behavior, template tokens, or site SSR data wiring in services/madoc-ts.