Agent skill · software engineering · aiskillstore

azure-web-pubsub-ts

Real-time messaging with WebSocket connections and pub/sub patterns.

Why this skill is useful

Provides specific commands and patterns for integrating Azure Web PubSub SDKs with TypeScript that the AI wouldn't reliably generate on its own.

What it needs

Requires @azure/identity, @azure/web-pubsub, @azure/web-pubsub-client, @azure/web-pubsub-express installed locally. Requires azure account access. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure Web PubSub SDKs for TypeScript Real-time messaging with WebSocket connections and pub/sub patterns. Installation Environment Variables Server-Side: WebPubSubServiceClient Authentication Generate Client Access Token Send Messages Group Management Connection Management Client-Side: WebPubSubClient Connect Send Messages Event Handlers Express Event Handler Key Types Best Practices 1. Use Entra ID auth - DefaultAzureCredential for production 2. Register handlers before start - Don't miss initial events 3. Use groups for channels - Organize messages by topic/room 4. Handle reconnection - Client auto-reconnects by default 5. Validate in handleConnect - Reject unauthorized connections early 6. Use noEcho - Prevent message echo back to sender when needed When to Use This skill is applicable to execute the workflow or actions described in the overview. Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

How to use it

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

@skills aiskillstore/azure-web-pubsub-ts

View the source on GitHub

Browse the @skills marketplace