/godmode:queuefrom godmode
Guides message queue and job processing setup with Kafka, RabbitMQ, SQS, BullMQ, Celery, Sidekiq. Covers retry strategies, dead letters, idempotency, priority, rate limiting, and backpressure.
Ships in godmode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/godmode:queue, "add background jobs", "set up queue"grep -r "bullmq\|celery\|sidekiq\|kafkajs\|sqs" \
package.json requirements.txt 2>/dev/null
Use case: job processing | event streaming | pub/sub
Volume: <msg/sec>, Payload: <avg size>
Ordering: strict FIFO | partition | best-effort
Delivery: exactly-once | at-least-once | at-most-once
Latency: <100ms | <1s | <30s
Existing infra: Redis | PostgreSQL | AWS | none
SQS: AWS-native, managed, unlimited throughput
BullMQ: Node.js+Redis, 10-50K/sec, great dashboard
Celery: Python+Redis/RabbitMQ, complex workflows
Kafka: millions/sec, partition-ordered, replayable
RabbitMQ: complex routing, 10-50K/sec
Redis Streams: lightweight, 100K+/sec
PG SKIP LOCKED: no new infra, <1K jobs/sec
IF AWS simple: SQS. IF Node.js+Redis: BullMQ. IF event streaming: Kafka. IF low volume+PG: SKIP LOCKED.
Producers -> Broker
-> [high-priority] -> Worker Pool A (concurrency 10)
-> [default] -> Worker Pool B (concurrency 20)
-> [bulk] -> Worker Pool C (concurrency 5)
-> [dead-letter] -> DLQ Processor
Retry: 0s -> 1s -> 4s -> 16s -> 60s (cap) -> DLQ
Formula: min(base * 2^attempt + jitter, max_delay)
Retryable: network timeout, 5xx, DB connection, 429
Non-retryable: 4xx, auth, deserialization, biz logic
DLQ: <original>-dlq, retention 30 days, alert >100
Options: replay | replay with fix | skip | escalate
Idempotency: check Redis key, acquire lock (NX+TTL), process, store result (TTL 24h), release lock.
P0 critical: password reset, payment (SLA <10s)
P1 high: welcome email, order confirm (SLA <60s)
P2 normal: notifications, image proc (SLA <5m)
P3 low: reports, exports (SLA <1h)
P4 background: cleanup, analytics (SLA <24h)
Rate limit: token bucket or BullMQ limiter
{ max: 100, duration: 60000 }.
Min workers: 2, Max: 20, Scale on depth > 100
Concurrency per worker: 10 (I/O-bound)
Backpressure:
Depth > 1K -> WARN + alert
Depth > 10K -> SCALE workers
Depth > 100K -> SHED low-priority
Worker memory > 80% -> PAUSE accepting
Downstream 5xx > 10% -> CIRCUIT BREAK
Graceful shutdown: SIGTERM -> pause -> finish -> exit.
Daily digest: 0 9 * * * (default, 5m timeout)
Cleanup: 0 */6 * * * (bg, 30m timeout)
Weekly reports: 0 2 * * 1 (bulk, 2h timeout)
Distributed lock (one scheduler), all UTC, alert if job misses window.
Queue depth waiting (<1K), active (<50), DLQ (<100)
Processing rate (>10/s), Success rate (>95%)
Avg time (<10s), P95 (<30s)
Worker count (>2), Retry rate (<10%)
Append .godmode/queue-results.tsv:
timestamp technology queues worker_pools retry dlq idempotency status
KEEP if: depth stable AND error rate < 1%
AND P95 < target AND DLQ not growing.
DISCARD if: depth growing OR error spike
OR DLQ growing.
STOP when ALL of:
- All >500ms tasks queued
- Retry + backoff configured
- DLQ on all queues
- Idempotent handlers
- Graceful shutdown
- Error rate < 1%
On failure: git reset --hard HEAD~1. Never pause.
| Failure | Action |
|---|---|
| Jobs stuck active | Check logs, verify timeout |
| DLQ growing | Inspect patterns, fix root cause |
| Memory exhaustion | Limit concurrency, check leaks |
| Duplicates | Verify idempotency key, add dedup |
| Backlog growing | Scale workers, add backpressure |
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
135 skills in this plugin
/a11yAccessibility. WCAG 2.1 AA/AAA, a11y audit, color contrast, keyboard navigation, screen reader, Axe, Pa11y, Lighthouse./agentAI agent development. ReAct/plan-and-execute/multi-agent architectures, tool design, memory systems, guardrails, orchestration (LangChain, LlamaIndex, CrewAI, AutoGen)./analyticsProduct analytics implementation — event tracking, funnel analysis, A/B testing, Segment/Amplitude/Mixpanel/PostHog, privacy-compliant instrumentation./angularAngular architecture. NgRx, Signals, RxJS, standalone components, lazy loading, dependency injection, Jasmine, Jest.Other plugins' skills for the same job