NestJS Workers Transports Ops
Use this skill when NestJS runs work outside a plain HTTP controller: message handlers, queue processors, scheduled jobs, gateways, cache-backed flows, or health/observability surfaces.
When to Apply
Use this skill when:
- Adding or reviewing
@MessagePattern, Kafka/RabbitMQ/NATS/gRPC transports, or hybrid apps
- Implementing Bull/BullMQ queue producers, processors, retries, or idempotency
- Adding
@Cron, intervals, scheduler registry jobs, or distributed scheduled tasks
- Configuring cache-manager stores, Redis, or cache invalidation
- Adding health checks, JSON logging, lifecycle hooks, or graceful shutdown
- Debugging why guards/pipes/interceptors differ between HTTP and microservice contexts
Load On Demand
Start with this file. Load detailed files only when the task needs them:
references/_sections.md
references/transport-microservice-errors.md
references/transport-hybrid-config.md
references/ops-queue-idempotency.md
references/ops-scheduler-locks.md
references/ops-cache-store.md
references/ops-health-logging.md
dataset/ops/queue-idempotency/correct.ts
sources/inventory.json
Each rule file includes:
- Why the pattern matters
- Incorrect and correct examples
- Dataset path with larger TypeScript examples
- Official source references
Rule Categories by Priority
| Priority |
Category |
Impact |
Prefix |
| 1 |
Transports & Integration Patterns |
CRITICAL |
transport- |
| 2 |
Operations & Worker Runtime |
CRITICAL |
ops- |
| 3 |
Performance & Runtime State |
HIGH |
perf- |
Source Policy
Prefer official NestJS docs for microservices, queues, scheduling, caching, health checks, logging, and lifecycle semantics. Broker-specific reliability settings must be verified against the chosen broker and queue library docs.
1---2name: nestjs-workers-transports-ops3description: NestJS Workers Transports Ops4---56# NestJS Workers Transports Ops78Use this skill when NestJS runs work outside a plain HTTP controller: message handlers, queue processors, scheduled jobs, gateways, cache-backed flows, or health/observability surfaces.910## When to Apply1112Use this skill when:13- Adding or reviewing `@MessagePattern`, Kafka/RabbitMQ/NATS/gRPC transports, or hybrid apps14- Implementing Bull/BullMQ queue producers, processors, retries, or idempotency15- Adding `@Cron`, intervals, scheduler registry jobs, or distributed scheduled tasks16- Configuring cache-manager stores, Redis, or cache invalidation17- Adding health checks, JSON logging, lifecycle hooks, or graceful shutdown18- Debugging why guards/pipes/interceptors differ between HTTP and microservice contexts1920## Load On Demand2122Start with this file. Load detailed files only when the task needs them:2324```25references/_sections.md26references/transport-microservice-errors.md27references/transport-hybrid-config.md28references/ops-queue-idempotency.md29references/ops-scheduler-locks.md30references/ops-cache-store.md31references/ops-health-logging.md32dataset/ops/queue-idempotency/correct.ts33sources/inventory.json34```3536Each rule file includes:37- Why the pattern matters38- Incorrect and correct examples39- Dataset path with larger TypeScript examples40- Official source references4142## Rule Categories by Priority4344| Priority | Category | Impact | Prefix |45|----------|----------|--------|--------|46| 1 | Transports & Integration Patterns | CRITICAL | `transport-` |47| 2 | Operations & Worker Runtime | CRITICAL | `ops-` |48| 3 | Performance & Runtime State | HIGH | `perf-` |4950## Source Policy5152Prefer official NestJS docs for microservices, queues, scheduling, caching, health checks, logging, and lifecycle semantics. Broker-specific reliability settings must be verified against the chosen broker and queue library docs.