Home/Skills/WebSocket Real-Time Apps
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:.cursorrules
Platform: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 editing

Installation Instructions

For Cursor:

  1. Create a file named .cursorrules in your project root
  2. Copy the skill code above and paste it into the file
  3. 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.