Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.
95
100%
Does it follow best practices?
Impact
91%
1.16xAverage score across 6 eval scenarios
Passed
No known issues
JWT auth, rooms, input validation
JWT middleware auth
100%
100%
Room-scoped messaging
100%
100%
Joi input validation
0%
53%
No sensitive broadcast
100%
100%
Disconnect cleanup
100%
100%
Rate limiting
100%
100%
Message size limit
0%
100%
Connection logging
0%
50%
Horizontal scaling with Redis and nginx
Redis adapter package
100%
53%
Duplicate pub/sub clients
100%
0%
nginx ip_hash sticky sessions
100%
100%
nginx WebSocket headers
100%
100%
nginx timeout set to 7d
80%
100%
Message queue on disconnect
100%
50%
SIGTERM graceful shutdown
100%
100%
Forced exit timeout
100%
100%
Heartbeat, reconnection backoff, reliable delivery
ws.isAlive heartbeat
66%
53%
Dead connection termination
100%
58%
Exponential backoff reconnect
100%
93%
volatile.emit for frequent data
33%
100%
Acknowledgments for critical events
100%
100%
Connection state tracking
80%
100%
Client library provided
100%
100%
Scaling strategy documented
100%
100%
Namespace separation, XSS protection, CORS configuration
Distinct namespaces
0%
100%
XSS sanitization
68%
100%
CORS via env variable
33%
100%
pingTimeout configuration
0%
100%
pingInterval configuration
0%
100%
Disconnect cleanup
50%
100%
Client library provided
100%
100%
Scaling notes provided
100%
100%
package.json provided
100%
100%
Redis presence tracking, per-IP DDoS limits, connection limits
Redis for presence storage
25%
100%
No in-memory large state
100%
100%
Per-IP connection limit
83%
100%
Presence cleanup on disconnect
50%
100%
Client library provided
100%
100%
Connection capacity documented
100%
100%
Scaling strategy documented
100%
100%
package.json provided
100%
100%
SSE vs WebSocket selection, monitoring strategy
SSE used for data stream
100%
100%
SSE not WebSocket
100%
100%
Monitoring: connections tracked
100%
100%
Monitoring: latency tracked
100%
100%
Monitoring: error rates tracked
100%
100%
Monitoring: connection-count alerts
100%
100%
Load testing guidance
100%
100%
Client implementation provided
100%
100%
5b76101
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.