← Explore all skills

CLOUD DEVELOPMENT / microsoft

Azure Service Bus for Python

Implement queue and topic consumers with explicit settlement, sessions and dead-letter handling.

“Azure Service Bus SDK for Python messaging. Use for queues, topics, subscriptions, and enterprise messaging patterns. Triggers: "service bus", "ServiceBusClient", "queue", "topic", "subscription", "message broker". ”

01 / THE REASONING

Why this made the selection.

  • The skill text prefers DefaultAzureCredential and says connection strings bypass Entra audit, but the admin script uses SERVICEBUS_CONNECTION_STRING first when that variable is set.
  • Receives are told to set max_wait_time so a receive call does not block forever, and poison messages are sent to the dead-letter queue.
  • The definition contrasts PeekLock with ReceiveAndDelete and demonstrates complete/abandon/dead-letter operations. Inspected helper branches include entity deletion and default-rule replacement.
  • Complete successfully processed messages or abandon/dead-letter failures

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • .github/plugins/azure-sdk-python/skills/azure-servicebus-py/SKILL.md
  • .github/plugins/azure-sdk-python/skills/azure-servicebus-py/scripts/setup_servicebus.py
  • LICENSE
  • README.md

Our findings

  • The helper reaches Azure Service Bus. If SERVICEBUS_CONNECTION_STRING is set, it builds the admin client from that string before it tries DefaultAzureCredential.
  • The prose says to avoid connection strings. The script does not enforce that preference.
  • It does not consume the queue in the admin tool, and a receive without max_wait_time is the hang the skill tells you to avoid.
  • The definition contrasts PeekLock with ReceiveAndDelete and demonstrates complete/abandon/dead-letter operations. Inspected helper branches include entity deletion and default-rule replacement.

Not established by this review

  • The resource was not executed and its tools were not called.
  • setup_servicebus.py was not run.
  • No skill execution, authenticated service operation, or outcome benchmark was performed.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add microsoft/skills/.github/plugins/azure-sdk-python/skills/azure-servicebus-py

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

npx skills add https://github.com/microsoft/skills/tree/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-python/skills/azure-servicebus-py
  1. Install the pinned skill directory interactively, retaining its bundled references and scripts.
  2. Select queue or topic/subscription and sync/async mode; use bounded receive waits.
  3. Define settlement and poison-message behavior before running against a populated queue; separate administrative from sender/receiver roles.

Before you start

  • Python, matching Azure SDK packages and azure-identity
  • Authorized Azure resources and operation-specific roles

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Pinned skill definition ↗Checked

    https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-python/skills/azure-servicebus-py/SKILL.md

    Supports: summary, whySelected, bestFor, limitations, install, access, review

  2. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/README.md

    Supports: install

  3. MIT licence ↗Checked

    https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/LICENSE

    Supports: license

  4. https://github.com/microsoft/skills/blob/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-python/skills/azure-servicebus-py/scripts/setup_servicebus.py

    Supports: review, limitations, access, install

  5. https://raw.githubusercontent.com/microsoft/skills/fc164ba1d7a0c10377dbcc1c9ac07253b9329fdb/.github/plugins/azure-sdk-python/skills/azure-servicebus-py/SKILL.md

    Supports: upstreamDescription, bestFor, review.reviewedAt, review.notTested

Evidence & Ask