websocket-patterns

Installation
SKILL.md

WebSocket Patterns

Use the right real-time primitive. Not everything needs a WebSocket.


1. Real-Time Technology Choice

Technology Direction When
WebSocket Bidirectional Chat, gaming, live collab
Server-Sent Events (SSE) Server → Client Live feeds, notifications
HTTP Polling Client-initiated Simple, compatibility
Long Polling Client-initiated When WebSocket blocked
SSE is simpler than WebSocket for one-way data.
Use WebSocket only when client needs to send data frequently.
Installs
1
First Seen
Jun 6, 2026
websocket-patterns — cavaldos/opencode-kit