Dev & Engineering ✓ Microsoft · Official azure-service-bustypescriptjavascriptmessage-queuespub-subdead-letter-queueazure-identity

Azure Service Bus for TypeScript

Build enterprise messaging workflows with Azure Service Bus.

FollowSkills review · FSRS-2.0
Not recommended
50/ 100 5-point scale 2.5 / 5
Trust18 / 25 · 3.6/5

The skill uses DefaultAzureCredential, managed identity, and environment-based authentication, supporting credential isolation. It also discloses receive-and-delete message-loss risk and documents resource closure and DLQ patterns. Points were deducted because least-privilege RBAC, sensitive-message log redaction, external data flows, user confirmation, and rollback are not systematically specified, and examples print message bodies.

Reliability6 / 20 · 1.5/5

The documentation covers sending, receiving, sessions, DLQs, retries, lock renewal, and graceful shutdown, with reasonably broad error guidance. Static evidence has material uncertainty: the batching example creates newBatch without replacing batch, deferred-message parameter examples are inconsistent, and some SDK behavior lacks versioned or reproducible support. The static cap prevents a score above10, so points were deducted.

Adaptability9 / 15 · 3.0/5

The audience and scenarios are clear, covering queues, topics, subscriptions, sessions, and enterprise messaging patterns. Points were deducted for missing explicit non-fit boundaries, input/output contracts, trigger conditions, version-compatibility scope, Chinese-language support, and mainland-China network reachability guidance.

Convention8 / 15 · 2.7/5

The skill has front matter, an MIT license, a version, installation and environment-variable instructions, layered reference documents, and topic-focused examples; the repository also supplies license, security, CI, and maintenance signals. Points were deducted because there is no skill-specific changelog, explicit maintainer and update path, FAQ, troubleshooting entry point, or pinned dependency guidance.

Effectiveness6 / 15 · 2.0/5

The examples can help an agent implement common Service Bus integrations and provide directly adaptable TypeScript patterns, including reliability practices. Points were deducted because the examples require manual validation and contain potentially incorrect or incomplete handling; entity provisioning, RBAC setup, tests, serialization constraints, and production deployment details remain outside the skill. Static calibration limits this dimension to7.

Verifiability3 / 10 · 1.5/5

The repository includes a general test harness, Vitest tests, and CI workflows, providing some quality-assurance evidence. Points were deducted because the supplied material does not show that these tests cover this Service Bus skill's key paths, nor does it provide skill-specific acceptance criteria, third-party execution results, or corroborating evidence types. Static calibration limits this dimension to5.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Fix the batching example so the newly created batch replaces batch, and standardize receiveDeferredMessages, scheduleMessages, and related API parameter forms.
  • Before production use, verify package versions, least-privilege RBAC, lock-renewal behavior, and auto-completion semantics.
  • Avoid logging complete message bodies or session state; add guidance for sensitive data, retry idempotency, rollback, and user confirmation.
  • Add skill-specific acceptance tests, verified SDK versions, known limitations, maintainer ownership, and an update path.
See the full review method →

What it does & when to use it

This skill helps JavaScript and TypeScript developers build applications with Azure Service Bus. It covers queues, topics and subscriptions, message sessions, dead-letter queues, scheduled delivery, deferral, and non-destructive peeking. Examples use @azure/service-bus with Microsoft Entra credentials from @azure/identity. It is a good fit for Azure applications that need established enterprise messaging patterns.

It shows how to install @azure/service-bus and @azure/identity, configure Service Bus namespace, queue, topic, and subscription environment variables, and create a ServiceBusClient. The examples send single or batched messages to queues and topics, receive and settle messages, subscribe with event-driven callbacks, manage session state, process dead-letter messages, schedule and cancel delivery, defer messages, and peek without removing them. It also documents Peek-Lock and Receive-and-Delete modes, client reuse, resource cleanup, and error callbacks.

  1. A TypeScript developer building an order or workflow system that needs to publish work to an Azure Service Bus queue.
  2. An event-driven application that distributes events such as order.created through topics and subscriptions.
  3. A workflow processor that must preserve message ordering within a business or workflow group using sessions.
  4. A message consumer that needs batch receiving plus completion, abandonment, deferral, or dead-letter handling.
  5. An Azure application that needs scheduled delivery or queue inspection without removing messages.

Pros & cons

Pros
  • Covers queues, topic subscriptions, sessions, dead-lettering, scheduled messages, deferral, and peeking.
  • Includes adaptable TypeScript examples for batch sending and event-driven receiving.
  • Gives concrete credential guidance for local development and production managed identities.
  • The README reports 14 test scenarios for azure-servicebus-ts.
Limitations
  • Targets JavaScript/TypeScript and the @azure/service-bus SDK rather than other Azure SDK languages.
  • Requires an Azure Service Bus resource and a configured Microsoft Entra authentication setup.
  • Provides focused patterns rather than a complete project scaffold, deployment configuration, or full troubleshooting guide.
  • The referenced queues-topics.md and error-handling.md documents are not included in the supplied material.

How to install

Install the collection through Copilot CLI or another supported Agent Skills workflow with: npx skills add microsoft/skills. Select azure-servicebus-ts in the wizard; skills are installed to the chosen agent directory, such as .github/skills/ for GitHub Copilot. The README does not document a separate command for installing only this skill. Install the runtime packages in the project with: npm install @azure/service-bus @azure/identity.

How to use

After loading the skill into a coding Agent, use a request such as: “Implement a TypeScript Azure Service Bus queue consumer using Microsoft Entra authentication, with completion, dead-letter handling, and an error callback.” Set SERVICEBUS_NAMESPACE, SERVICEBUS_QUEUE_NAME, and the other relevant variables. For production use of DefaultAzureCredential, set AZURE_TOKEN_CREDENTIALS=prod or select a specific credential. Create the required sender, receiver, or session receiver, and close resources when finished.

FAQ

Does this skill provision Azure Service Bus resources?
No. The supplied content covers SDK installation, client creation, authentication, and messaging operations, but not resource provisioning or deployment.
Which authentication approach is recommended for production?
The skill recommends ManagedIdentityCredential or WorkloadIdentityCredential for production. If DefaultAzureCredential is used, set AZURE_TOKEN_CREDENTIALS=prod or specify a particular credential.
What happens when message processing fails?
Subscription receivers should implement processError. With Peek-Lock, messages can also be abandoned, deferred, or moved to the dead-letter queue.
Can it be used with a non-Azure messaging system?
Not directly. The instructions are specific to @azure/service-bus and Azure Service Bus queues, topics, subscriptions, and sessions.

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