
from skills-for-antigravity71
Guidance for designing and operating reliable real-time systems (WebSockets, SSE, Socket.IO, WebRTC) including connection management, reconnection strategies, s
Provides best-practice guidance and patterns for building production-grade real-time systems. Covers connection lifecycle, reconnection/backoff strategies, scaling principles for stateful connections, message formats, presence and synchronization, and operational diagnostics. Useful for live chat, collaborative editors, dashboards, multiplayer games, and notification systems.
Use this skill when implementing or debugging real-time features (websocket, socket.io, sse, webrtc), planning scaling for many concurrent connections, designing presence or sync logic, or responding to reconnection storms and state inconsistency. Also helpful during architecture reviews and incident postmortems.
references/ directory with patterns, sharp edges, and validations to ground adviceBest with agent runtimes that can consult repo references and follow procedural guidance (general-purpose code assistants, Claude/Code, Copilot-style agents).
Pure reference/guidance skill with no executable scripts. SKILL.md is lean and delegates to three well-structured reference files (patterns, sharp edges, validations). Covers WebSocket, SSE, Socket.IO, and WebRTC patterns including connection lifecycle, reconnection strategies, heartbeat, room management, and common pitfalls like thundering herd and memory leaks. Code examples are educational TypeScript with proper error handling. No security concerns — no network calls, no credentials, no destructive commands.
Well-structured reference skill for real-time system design. Validations file contains regex patterns for detecting common WebSocket anti-patterns. Clean from a security perspective — no scripts, no external calls, no sensitive data handling.