Dev & Engineering ✓ Microsoft · Official

Azure Service Bus for TypeScript

Build enterprise messaging workflows with Azure Service Bus.

50/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-service-bustypescriptjavascriptmessage-queues
+3pub-subdead-letter-queueazure-identity

What does this skill do, and when should you 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.

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

How do you install this skill?

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.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Node.js
  • @azure/service-bus
  • @azure/identity

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.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-servicebus-ts" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Implement a TypeScript Azure Service Bus queue consumer using Microsoft Entra authentication, with completion, dead-letter handling, and an error callback.

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.

What are this skill's strengths and limitations?

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 does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure Service Bus for TypeScript this page ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure Service Bus for .NET ✓ Microsoft · Official 47 · Use with care ★ 2.7k 3mo ago MIT
Azure Service Bus for Rust ✓ Microsoft · Official 47 · Use with care ★ 2.7k 3mo ago MIT
Azure Service Bus for Python ✓ Microsoft · Official 45 · Not recommended ★ 2.7k 3mo ago MIT
Azure Queue Storage TypeScript Skill ✓ Microsoft · Official 48 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
50/ 100 5-point scale 2.5 / 5
1Trust18 / 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.

2Reliability6 / 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.

3Adaptability9 / 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.

4Convention8 / 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.

5Effectiveness6 / 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.

6Verifiability3 / 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.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11][12]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

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 Service Bus for .NET

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

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Service Bus for Rust

Guides Rust developers in sending and receiving Azure Service Bus messages through queues, topics, and subscriptions.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Service Bus for Python

Practical Python guidance for reliable Azure Service Bus queues and publish-subscribe messaging.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage TypeScript Skill

Build Azure Queue Storage workers that send, receive, inspect, and manage messages in TypeScript or JavaScript.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub for Python

Build Azure WebSocket messaging and publish-subscribe workflows for Python applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub Real-Time Messaging

Build TypeScript WebSocket messaging, group communication, and live notification features with Azure Web PubSub.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB TypeScript Skill

Gives TypeScript and JavaScript coding agents practical Cosmos DB data-access patterns.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs TypeScript Skill

Build TypeScript event-streaming applications with batching, partition-aware consumers, checkpointing, and Azure identity authentication.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for TypeScript

A practical guide for uploading, downloading, and managing Azure Blob Storage from TypeScript and JavaScript applications.

★ 2.7k FS 51 Use with care 3mo ago
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.

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

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

★ 2.7k FS 60 Recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Rust

A focused guide for building secure Azure Queue Storage messaging workflows in Rust.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Bot Service Python Manager

Create, manage, and configure Azure Bot Service resources and channels from Python.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

Configure secure Microsoft Entra ID authentication for Java applications using Azure SDKs.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for .NET

Guides .NET applications in authenticating Azure SDK clients with Microsoft Entra ID.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Bot Service ARM SDK for .NET

Helps .NET developers provision Azure Bots and configure their channels through ARM.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Grid for Java

A practical Java SDK guide for publishing, consuming, and handling Azure Event Grid events.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

Configure Microsoft Entra ID authentication for Azure SDK clients written in Rust.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for TypeScript

Securely store and retrieve application secrets in Azure Key Vault while managing key lifecycles from Node.js.

★ 2.7k FS 44 Not recommended 3mo ago

Related skills