Dev & Engineering ✓ Microsoft · Official azure-service-bus.netmessage-queuespub-subdead-letter-queueenterprise-messaging

Azure Service Bus for .NET

Guides .NET teams in building reliable Azure enterprise messaging workflows.

FollowSkills review · FSRS-2.0
Not recommended
47/ 100 5-point scale 2.4 / 5
Trust10 / 25 · 2.0/5

The document prefers Entra ID and presents connection strings as an alternative, with a production credential note; however, it does not specify least-privilege RBAC, sensitive-message handling, data flows, user confirmation, or rollback. The administration example includes direct queue deletion without confirmation or recovery guidance, so points are deducted.

Reliability8 / 20 · 2.0/5

It covers major paths including sending, receiving, settlement, processors, sessions, dead lettering, topics, administration, and transactions, with some error-handling and retry guidance. However, it lacks skill-specific tests, edge-case coverage, empty-message/lock-expiry handling, complete lifecycle examples, and diagnostic treatment for several failures. The score remains within the static-review cap.

Adaptability10 / 15 · 3.3/5

The description, trigger terms, target SDK, and primary Service Bus scenarios are clear for .NET messaging work. Boundaries, input/output constraints, compatibility matrices, Chinese-language guidance, and mainland-China network or regional considerations are not stated, and production-architecture limits are underexplained.

Convention7 / 15 · 2.3/5

The information architecture is readable and includes installation, authentication, environment variables, client hierarchy, workflows, type reference, best practices, error handling, related SDKs, and links. MIT licensing, author, and version metadata are present, but changelog, maintenance/update path, FAQ, known limitations, and version-drift guidance are absent.

Effectiveness7 / 15 · 2.3/5

The examples cover common Service Bus operations and provide directly useful patterns for code generation, with a clear core value proposition. Yet most snippets lack complete runnable context, prerequisite configuration, production-grade retry/idempotency/observability, and security detail, and no skill-specific output validation is supplied. Static calibration limits this to 7.

Verifiability5 / 10 · 2.5/5

The skill gives an SDK version and official NuGet, API, GitHub, and troubleshooting links; the repository also shows general CI, evaluation workflows, and test-harness infrastructure. The supplied material does not provide skill-specific tests, execution results, or corroborated reproduction, so the static cap of 5 applies.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • The administration examples include external and destructive operations such as queue deletion; add explicit confirmation, permission boundaries, and recovery planning before use.
  • Connection strings and message bodies may contain sensitive data; secure storage, log redaction, and least-privilege RBAC guidance are missing.
  • The stated version and API examples should be compiled against the target SDK version in the real project; this review did not execute code.
  • No guidance is provided for mainland-China connectivity, Azure region availability, or enterprise proxy configuration.
See the full review method →

What it does & when to use it

This Agent Skill focuses on the Azure.Messaging.ServiceBus .NET SDK for queues, topics, subscriptions, sessions, and dead-letter handling. It covers authentication, client construction, sending and receiving, settlement, background processors, administration, and cross-entity transactions. Examples also show Azure.Identity and ASP.NET Core dependency injection. It is a good fit for teams building .NET applications that already use Azure Service Bus and want focused implementation guidance.

Provides coding agents with concrete .NET patterns for installing Azure.Messaging.ServiceBus and Azure.Identity, creating clients with Microsoft Entra credentials or connection strings, sending single or batched messages, receiving and settling messages, configuring ServiceBusProcessor, handling sessions and dead-letter queues, managing queues, topics, and subscriptions with ServiceBusAdministrationClient, and using TransactionScope for cross-entity transactions.

  1. A .NET developer needs reliable delivery for orders or background tasks through an Azure Service Bus queue.
  2. A team is implementing publish/subscribe messaging with topics and subscriptions.
  3. A workflow developer needs ordered processing for related messages by using Service Bus sessions.
  4. An operations-minded developer needs to inspect dead-letter metadata and define settlement behavior for invalid messages.
  5. A team is building a background consumer with controlled concurrency, error callbacks, and lock renewal.

Pros & cons

Pros
  • Covers common Service Bus workflows from authentication and message delivery through entity administration.
  • Includes concrete examples for batching, sessions, dead letters, background processing, and cross-entity transactions.
  • Documents practical guidance on credential choice, client reuse, disposal, transient errors, transport, and lock duration.
  • The skill is authored by Microsoft and released under the MIT license.
Limitations
  • It is narrowly focused on the Azure.Messaging.ServiceBus .NET SDK rather than generic queueing systems.
  • Examples require an Azure Service Bus namespace or connection string; no local emulator or offline workflow is documented.
  • The source does not specify a supported .NET SDK range, detailed permission setup, or Azure pricing.
  • The repository README describes the collection as a work in progress, so content and tests may change.

How to install

In an Agent Skills-compatible client, run npx skills add microsoft/skills and select azure-servicebus-dotnet in the installation wizard. The collection is installed into the selected agent directory, such as .github/skills/ for GitHub Copilot. The skill is located at .github/plugins/azure-sdk-dotnet/skills/azure-servicebus-dotnet/SKILL.md.

How to use

Give the coding agent a concrete request containing a supported trigger, such as: Build a .NET ServiceBusProcessor for my-queue with manual message completion and abandonment on failure. You can also mention ServiceBusClient, ServiceBusSender, ServiceBusReceiver, ServiceBusProcessor, or dead letter queue. The source does not define a dedicated slash command.

Compared to similar skills

The source identifies Azure.Messaging.EventHubs for event streaming and Azure.Messaging.EventGrid for event routing; this skill focuses on Service Bus queues, topics, subscriptions, sessions, and settlement. It presents Microsoft Entra token credentials and connection strings as authentication options, with DefaultAzureCredential preferred for production.

FAQ

Does the skill connect to my Service Bus directly?
No. It supplies implementation guidance and code patterns; the resulting application must configure its namespace and Entra credential or connection string.
Which authentication approach is recommended for production?
The skill recommends DefaultAzureCredential, with AZURE_TOKEN_CREDENTIALS available for production configuration. A connection string is also documented as an alternative.
How should a failed message be handled?
The examples show catching ServiceBusException, inspecting ServiceBusFailureReason for transient failures, and using abandon or dead-letter settlement as appropriate.
Does adopting the skill add usage costs?
The repository and skill use the MIT license. Azure Service Bus or infrastructure pricing is not specified in the supplied source.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills