Agent skill · vasilyu1983
software-realtime
Designs real-time and collaborative systems. Use when building chat, live dashboards, collaborative editing, notifications, WebSockets, SSE, or CRDT workflows.
What it needs
About 10k tokens when loaded.
What this skill does
Real-Time Systems Use this skill for transport choice, collaborative-state design, presence models, reconnection behavior, and multi-node real-time scaling. It owns SSE, WebSocket, CRDT, and managed real-time decisions, not generic backend APIs or frontend-only state management. Quick Reference Task Use ------ ----- Transport selection references/transport-selection.md Collaboration, presence, and recovery references/collaboration-patterns.md Vendor traps and version-pinned gotchas references/april-vendor-traps.md Edge platforms, CRDT picks, channel limits references/edge-realtime.md PartyKit, Liveblocks v2, Supabase, Socket.IO v4, Yjs/Loro WebSocket smoke test (ping/pong + reconnect) scripts/wssmoketest.py asserts pong < 500 ms and reconnect Source map data/sources.json When to Use This Skill Choose between SSE, WebSocket, managed real-time, or CRDT collaboration. Design chat, live dashboards, notifications, presence, or collaborative editing. Plan reconnection, backpressure, offline queues, and connection lifecycle. Scale WebSocket or collaboration infrastructure across multiple nodes. Route Elsewhere Request-response APIs or background jobs: use software-backend. System-level event architecture: use software-architecture-design. Frontend state-management-only questions: use software-frontend. Mobile push-notification delivery: use software-mobile. Streaming AI response UX: use software-ai-integration. Defaults Default to SSE for one-way text/event streaming. Default to WebSocket for bidirectional interactive flows. Default to CRDTs for collaborative editing and keep awareness separate from document state. Treat presence as its own data model with throttling and expiry rules. Design reconnects, idempotency, and slow-consumer handling before worrying about horizontal scale. Workflow 1. Classify the real-time shape: one-way stream, bidirectional messaging, shared collaborative state, or managed service need. 2. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills vasilyu1983/software-realtime