Agent skill · software engineering · aiskillstore

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

Why this skill is useful

Provides specific commands and patterns for implementing real-time messaging with Azure Web PubSub that the AI wouldn't reliably generate on its own.

What it needs

Requires maven 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 SDK for Java Build real-time web applications using the Azure Web PubSub SDK for Java. Installation Client Creation With Connection String With Access Key With DefaultAzureCredential Async Client Key Concepts Hub: Logical isolation unit for connections Group: Subset of connections within a hub Connection: Individual WebSocket client connection User: Entity that can have multiple connections Core Patterns Send to All Connections Send to All with Filter Send to Group Send to Specific Connection Send to User Manage Groups Manage Connections Generate Client Access Token Grant/Revoke Permissions Async Operations Error Handling Environment Variables Client Roles Role Permission ------ ------------ webpubsub.joinLeaveGroup Join/leave any group webpubsub.sendToGroup Send to any group webpubsub.joinLeaveGroup.<group> Join/leave specific group webpubsub.sendToGroup.<group> Send to specific group Best Practices 1. Use Groups: Organize connections into groups for targeted messaging 2. User IDs: Associate connections with user IDs for user-level messaging 3. Token Expiration: Set appropriate token expiration for security 4. Roles: Grant minimal required permissions via roles 5. Hub Isolation: Use separate hubs for different application features 6. Connection Management: Clean up inactive connections Trigger Phrases "Web PubSub Java" "WebSocket messaging Azure" "real-time push notifications" "server-sent events" "chat application backend" "live updates broadcasting" 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-messaging-webpubsub-java

View the source on GitHub

Browse the @skills marketplace