Next.js Realtime Handbook
Guides architectural decisions and implementation patterns for Server-Sent Events (SSE) and WebSockets in Next.js applications.
The Next.js Realtime Handbook skill equips Claude with specialized architectural guidance for designing, implementing, and scaling real-time delivery channels in Next.js Route Handlers. It offers structured decision matrices to select between unidirectional Server-Sent Events (SSE) and full-duplex WebSockets, outlines secure handshake authentication patterns like server-minted short-lived tickets, and establishes operational safeguards for backpressure, connection concurrency, and multi-instance pub/sub fan-out. This skill is essential when building live progress streams, notifications, chat systems, or collaborative editing interfaces while avoiding common production traps like proxy buffering or server connection starvation.