Backend Websocket Patterns

Use this skill when the user says 'WebSocket', 'real-time', 'socket.io', 'WS connection', 'reconnection', 'WS rooms', 'broadcast', 'WS scaling', 'WS clustering', 'pub/sub over WS', 'SSE', 'Server-Sent Events', 'long polling', 'WS handshake', or when designing real-time communication. This skill enforces consistent WebSocket patterns: connection lifecycle, room management, reconnection strategies, message framing, and horizontal scaling. Applies to any backend stack. Do NOT use for: REST API design, gRPC streaming, message queue design, or frontend rendering.

j4flmao Updated

File contents

j4flmao/agent-skills/tree/main/skills/backend/universal/websocket-patterns commit c5452f2ba3

Frequently asked questions

npx skillmds@latest add j4flmao/backend-websocket-patterns