integration-messagequeue-designer_skill

This skill helps design robust cross-platform message queue patterns with DLQ, idempotency, ordering, and backpressure strategies.
  • Python

5

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill williamzujkowski/cognitive-toolworks --skill integration-messagequeue-designer

  • CHANGELOG.md1.0 KB
  • SKILL.md14.3 KB

Overview

This skill designs message queue patterns for RabbitMQ, Kafka, SQS, Azure Service Bus and Google Pub/Sub, producing practical configs, producer/consumer snippets, and monitoring guidance. It focuses on reliability features like dead-letter queues, idempotency, ordering guarantees, and backpressure for production-ready event-driven systems.

How this skill works

Provide a scoped design based on requested pattern, target queue system, and delivery guarantees. It validates inputs, checks system capabilities (for example exactly-once support), then emits topology config, minimal producer/consumer code, retry/DLQ rules, and monitoring/alerting recommendations. For advanced scopes it adds scaling, backpressure settings, and security/compliance controls.

When to use it

  • Designing publish-subscribe or work-queue architectures for microservices
  • Implementing sagas, CQRS event sourcing, or async request-reply flows
  • Enforcing delivery guarantees (at-least-once, exactly-once where supported)
  • Configuring DLQs, retries, and idempotency for resilient processing
  • Optimizing throughput and ordering via partitioning, sessions, or keys

Best practices

  • Validate that the chosen broker supports requested guarantees; downgrade with idempotency if not
  • Always publish a unique message-id or idempotency key and persist processed IDs for consumers
  • Use DLQs with clear redrive policies and metrics to avoid silent failures
  • Prefer partition-key ordering instead of global ordering at high throughput
  • Set sensible prefetch/MaxConcurrentCalls and autoscale based on queue depth or consumer lag

Example use cases

  • Kafka publish-subscribe with transactional producers for exactly-once ordering per key
  • SQS FIFO queue for ordered payment processing using MessageDeduplicationId
  • RabbitMQ work-queue with prefetch_count and DLX for worker retries and poison message handling
  • Azure Service Bus sessions for correlated request-reply flows with session affinity
  • Pub/Sub with ordering keys and flow-control limits to prevent consumer overload

FAQ

I will warn and recommend at-least-once with producer-side idempotence and consumer deduplication patterns.

How should I handle poison messages that repeatedly fail?

Route them to a DLQ after a capped retry policy, surface them to an incident queue, and provide automated or manual replay procedures.

Which metrics are critical to monitor?

Track consumer lag/queue depth, DLQ depth, throughput (publish vs consumed), processing latency p95, and error/retry rates.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
integration-messagequeue-designer skill by williamzujkowski/cognitive-toolworks | VeilStrat