Install any skill in seconds. Free to start, no credit card required.
Get Started Free →a5c-ai/websocket
Specialized skill for WebSocket protocol implementation and testing. Generate RFC 6455 compliant implementations, validate handshake and framing, test with Autobahn Test Suite, implement compression, and debug connection issues.
Passed 19 of 22 test cases with the skill, and 18 of 22 without it.
1 fixed18 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Write a TypeScript snippet showing how connection requests are authenticated when establishing a WebSocket session with Node's standard HTTP server. Developers often place authentication tokens in message body frames after the socket opens. Show how the HTTP upgrade request object req is passed during the server 'connection' event to authenticate before registering the connection.
| Checked | Without skill | With skill |
|---|---|---|
| The authenticate function receives req as its parameter within the connection listener. | Missed | Passed |
The instructions your model reads when the skill loads.
Expert assistance for implementing WebSocket real-time communication.
Invoke this skill when you need to:
import { WebSocketServer, WebSocket } from 'ws';
import { createServer } from 'http';
const server = createServer();
const wss = new WebSocketServer({ server });
const clients = new Map<string, WebSocket>();
wss.on('connection', (ws, req) => {
const userId = authenticateConnection(req);
clients.set(userId, ws);
ws.on('message', (data) => {
const message = JSON.parse(data.toString());
handleMessage(userId, message);
});
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.