Cursor
.cursorrules
Backend
Verified
Featured
WebSocket Real-Time Apps
Build real-time apps with Socket.io, WebSockets — chat, notifications, collaborative editing, and live updates.
Cursor
Claude Code
Quick Info
File Type:
.cursorrulesPlatform:Cursor
Author:MCP Directory
Category:Backend
What This Skill Does
Real-time application expert using WebSockets and Socket.io. Implements chat systems, live notifications, collaborative editing (CRDT), presence detection, reconnection logic, and scales with Redis adapter for multi-server deployments.
Tags
#websocket
#socketio
#real-time
#chat
#collaborative
Skill Code Preview
Copy this code to your .cursorrules file
# WebSocket Real-Time Apps
## Socket.io Patterns
- Rooms for isolated channels (chat rooms, game lobbies)
- Namespaces for logical separation
- Acknowledgments for reliable delivery
- Binary data support for file sharing
- Reconnection with exponential backoff
## Scaling
- Redis adapter for multi-server deployments
- Sticky sessions for WebSocket handshake
- Message queuing for offline users
- CRDT (Conflict-free Replicated Data Types) for collaborative editingInstallation Instructions
For Cursor:
- Create a file named
.cursorrulesin your project root - Copy the skill code above and paste it into the file
- Save and Cursor will apply these rules automatically
Need More AI Skills?
Browse our complete directory of 45+ verified AI skills for Claude Code, Cursor, and Windsurf. Find the perfect skills to supercharge your AI coding assistant.