What problem does it solve? Adding live data to an application is deceptively hard: connection lifecycle management, back-pressure from slow consumers, and state reconciliation after disconnects are the problems teams most often fail to retrofit. This Skill provides production-grade patterns for WebSocket and SSE systems so these concerns are solved architecturally before the first socket handler is written. ## Core Features & Use Cases - Transport Selection Guidance: Decision table for choosing SSE versus WebSocket based on data flow direction, covering job progress, presence, collaborative editing, and live dashboards. - SSE Implementation: Next.js route handler streaming BullMQ job progress with bounded connection caps, 15-second keep-alive pings, and a React consumer hook with exponential backoff reconnect. - WebSocket Presence Server: Fastify-compatible presence server with JWT auth at connection time, room-based broadcast, and a dead-connection reaper. - Optimistic UI and Reconciliation: React useOptimistic rollback patterns plus version-stamped state reconciliation after reconnect. - Use Case: Stream SwarmX agent pipeline status or BullMQ job progress events to a live dashboard, with capacity limits, heartbeat pings, and automatic state sync when clients reconnect. ## Quick Start Use the real-time-systems-architect skill to stream BullMQ job progress to my Next.js dashboard over SSE with reconnect handling.