realtime-sync-master
Installation
SKILL.md
Real-time Sync (WebSockets)
This skill enables applications to push updates to users instantly without page refreshes.
Instructions
- Choose between WebSockets (bidirectional) or Server-Sent Events (unidirectional).
- Set up event emitters for key actions (e.g., new message, stock price update).
- Manage connection lifecycles (connect, disconnect, heartbeats).
- Implement room-based or channel-based broadcasting.
- Ensure scalability for high-concurrency environments.
Examples
- "Add real-time chat functionality to my app using Socket.io."
- "Push live flight status updates to users via WebSockets."