Agent skill · software engineering · sickn33

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 patterns and commands for using Azure Service Bus with Python that are not commonly known.

What it needs

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

What this skill does

Bundled upstream support Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes. Restored helper safety scripts/setupservicebus.py can create or delete Service Bus queues, topics, and subscriptions. Delete commands require --confirm-delete; subscription creation with --filter replaces the default rule on the newly created subscription. Confirm the namespace and exact entity/action with the user before live use; prefer a disposable test namespace. 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. …

How to use it

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

@skills sickn33/azure-servicebus-py--b4cb76

View the source on GitHub

Browse the @skills marketplace