Agent skill · software engineering · aiskillstore

azure-servicebus-py

Azure Service Bus SDK for Python messaging. Use for queues, topics, subscriptions, and enterprise messaging patterns.

Why this skill is useful

Provides specific commands and patterns for using Azure Service Bus with Python that the AI wouldn't reliably generate on its own.

What it needs

Requires azure-identity, azure-servicebus installed locally. Requires azure account access. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure Service Bus SDK for Python Enterprise messaging for reliable cloud communication with queues and pub/sub topics. Installation Environment Variables Authentication Client Types Client Purpose Get From -------- --------- ---------- ServiceBusClient Connection management Direct instantiation ServiceBusSender Send messages client.getqueuesender() / gettopicsender() ServiceBusReceiver Receive messages client.getqueuereceiver() / getsubscriptionreceiver() Send Messages (Async) Receive Messages (Async) Receive Modes Mode Behavior Use Case ------ ---------- ---------- PEEKLOCK (default) Message locked, must complete/abandon Reliable processing RECEIVEANDDELETE Removed immediately on receive At-most-once delivery Message Settlement Action Effect -------- -------- completemessage() Remove from queue (success) abandonmessage() Release lock, retry immediately deadlettermessage() Move to dead-letter queue defermessage() Set aside, receive by sequence number Topics and Subscriptions Sessions (FIFO) Scheduled Messages Dead-Letter Queue Sync Client (for simple scripts) Best Practices 1. Use async client for production workloads 2. Use context managers (async with) for proper cleanup 3. Complete messages after successful processing 4. Use dead-letter queue for poison messages 5. Use sessions for ordered, FIFO processing 6. Use message batches for high-throughput scenarios 7. Set maxwaittime to avoid infinite blocking Reference Files File Contents ------ ---------- references/patterns.md Competing consumers, sessions, retry patterns, request-response, transactions references/dead-letter.md DLQ handling, poison messages, reprocessing strategies scripts/setupservicebus.py CLI for queue/topic/subscription management and DLQ monitoring When to Use This skill is applicable to execute the workflow or actions described in the overview. Limitations Use this skill only when the task clearly matches the scope described above. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-servicebus-py

View the source on GitHub

Browse the @skills marketplace