websocket-engineer
Skill12k starsChanged 11 months agoMITView on GitHub
Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.
- Reads credentials
10 other projects use a version of this, 7 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- ElyzeSolutions/skillsedited, first seen Aug 6, 2026
- Leo-Atienza/atlas-claudeedited, first seen Jul 24, 2026
- james-paul25/claude-skilledited, first seen Jul 11, 2026
- jshsakura/awesome-opencode-skillstheir own version, first seen Jul 8, 2026
- FilippoDeSilva/skillsedited, first seen Jun 26, 2026
- codeApe-7/ai-agent-workflowGroupedited, first seen Jun 6, 2026
Who's talking about Jeffallan/claude-skills
- @ponceto91.bsky.social“Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ …”Bluesky · Mar 7, 2026 · 56 likes
- @camilleroux.com“Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, …”Bluesky · Mar 17, 2026 · 9 likes
- @jeffallan.bsky.social“My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply …”Bluesky · Jan 26, 2026 · 5 likes
- @jeffallan.bsky.social“github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our …”Bluesky · Jan 29, 2026 · 3 likes
- @pythonhub.dev“Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your …”Bluesky · Mar 5, 2026 · 2 likes
The biggest 5 of 42 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 42
Talked about on GitHub, Bluesky and Hacker News (42 times).
On GitHub · 35
- Oct 4, 2026claude-code-plugins.github.jeffallan.claude-skills: init at 0.4.18 — sudosubin/agents.nix0 reactions
- Oct 4, 2026chore: sync upstream skills (auto) — marcioaltoe/skills0 reactions
- Oct 3, 2026agent-skills.github.jeffallan.claude-skills: 0.4.16 → 0.4.18 — sudosubin/agents.nix0 reactions
- Sep 29, 2026Add The Fool and The Jury as optional discovery skills — WolvenTech/wolven-harness0 reactions
- Sep 28, 2026agent-skills.github.jeffallan.claude-skills: init at 0.4.16 — sudosubin/agents.nix0 reactions
30 more on GitHub
- Sep 21, 2026feat(skills): ship golang-pro from thismoon — mad01/thismoon0 reactions
- Sep 17, 2026feat(pkgs): add jeffallan/claude-skills plugin — agent-stacks/agent-pkgs0 reactions
- Sep 17, 2026Update skill: /jeffallan-typescript-pro (safe risk) — aiskillstore/marketplace0 reactions
- Sep 7, 2026Safeword's own skill installer doesn't meet the dependency-vetting standard it just added for customers — ArcadeAI/safeword0 reactions
- Jul 18, 2026Solve problem 4 — gaarutyunov/skill-test0 reactions
- Jul 17, 2026Jamison's Recommendations — jpziller/DataMigration0 reactions
- Jul 13, 2026Fix 19 skills misplaced in personal/ despite external origin (bucket-placement drift) — Tyler-Reagan/skills-bank0 reactions
- Jul 9, 2026Register the-fool critical-reasoning managed skill — dennisofficial/atlas0 reactions
- Apr 6, 2026Audit candidate: Jeffallan/claude-skills — xiaolai/nlpm0 reactions · 3 comments
- Mar 22, 2026[BUG] Many skills missing nested files — sickn33/agentic-awesome-skills0 reactions · 1 comment
- Mar 19, 2026feat: prompt manager — gohypergiant/agent-skills0 reactions · 3 comments
- Mar 12, 2026Pixel Agents: pixel-style marketplace, live dashboard, auto-hire, and Next.js CVE fixes — ajay-sai/Pixel-agents0 reactions · 1 comment
- Mar 12, 2026Pixel Market: AI agent marketplace with animated pixel-art characters, AGOR canvas, skills library, and Claude Code plugin — ajay-sai/Pixel-agents0 reactions · 4 comments
- Mar 12, 2026Update ReadMe And SKILL.md — tkestack/tke-skill0 reactions
- Mar 11, 2026Claude skills — nova-firefly/nova-config0 reactions
- Mar 10, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions
- Mar 9, 2026[SUBMISSION] claude-skills — ProSkillsMD/proskills0 reactions · 2 comments
- Mar 9, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions · 4 comments
- Feb 14, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 13, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-golang-pro (low risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-flutter-expert (safe risk) — aiskillstore/marketplace0 reactions
- Feb 5, 2026Add resource: Fullstack Dev Skills — hesreallyhim/awesome-claude-code0 reactions
- Jan 25, 2026feat: add 65 specialized skills to enhance Claude capabilities — stevengaltau-cpu/claude-code-action0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — jqueryscript/awesome-claude-code0 reactions
- Jan 19, 2026Add claude-skills collection and workflow commands — ComposioHQ/awesome-claude-skills0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — VoltAgent/awesome-agent-skills0 reactions
- Jan 19, 2026Adds jeffallan/claude-skills collection and workflow commands — BehiSecc/awesome-claude-skills0 reactions
- Jan 19, 2026[Resource]: jeffallan/claude-skills — hesreallyhim/awesome-claude-code0 reactions · 5 comments
- Jan 19, 2026Recommend: Claude Skills (Fullstack Dev Skills) — hesreallyhim/awesome-claude-code0 reactions · 1 comment
On Bluesky · 6
- Mar 7, 2026Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ github.com/Jeffallan/cl... — @ponceto91.bsky.social56 likes and reposts · 5 replies
- Mar 17, 2026Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, infra, sécu, testing...… — @camilleroux.comsays it tested it9 likes and reposts · 1 reply
- Jan 26, 2026My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply honored to have built something others… — @jeffallan.bsky.social5 likes and reposts
- Jan 29, 2026github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our contributors: github.com/thomassamoul… — @jeffallan.bsky.social3 likes and reposts
- Mar 5, 2026Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert pair programmer.… — @pythonhub.dev2 likes and reposts
1 more on Bluesky
- Feb 10, 2026📦 Jeffallan / claude-skills ⭐ 532 (+33) 🗒 Python 65 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert… — @github-trending.bsky.social1 likes and repost
On Hacker News · 1
- Feb 5, 2026Show HN: Claude Skills. Try vibe engineering instead of vibe coding1 point · 1 comment
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 7
- codeApe-7/ai-agent-workflowGroup★ 1799% same
- Leo-Atienza/atlas-claude★ 499% same
- FilippoDeSilva/skills★ 295% same
- anasahmed07/doit★ 150% same
- ElyzeSolutions/skills★ 199% same
- james-paul25/claude-skill★ 099% same
- usmanmubarak1/ClaudeSkilledAgents★ 044% same
Wrote their own version · 3
- jshsakura/awesome-opencode-skills★ 29same name
- belokonm/claude-supercode-skills★ 11same name
- nicolasestrem/antigravity-gemini-skills★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository67 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- atlassian-mcpSkill
- chaos-engineerSkill
- cli-developerSkill
- cloud-architectSkill
- code-documenterSkill
- code-reviewerSkill
- cpp-proSkill
- csharp-developerSkill
- database-optimizerSkill
- debugging-wizardSkill
- devops-engineerSkill
- django-expertSkill
- django-storages-s3Skill
- dotnet-core-expertSkill
- embedded-systemsSkill
- fastapi-expertSkill
- feature-forgeSkill
- fine-tuning-expertSkill
- flutter-expertSkill
- fullstack-guardianSkill
- game-developerSkill
- golang-proSkill
- graphql-architectSkill
- java-architectSkill
- javascript-proSkill
- kotlin-specialistSkill
- kubernetes-specialistSkill
- laravel-specialistSkill
- legacy-modernizerSkill
- mcp-developerSkill
- microservices-architectSkill
- ml-pipelineSkill
- monitoring-expertSkill
- nestjs-expertSkill
- nextjs-developerSkill
- pandas-proSkill
- php-proSkill
- playwright-expertSkill
- postgres-proSkill
- prompt-engineerSkill
- python-proSkill
- rag-architectSkill
- rails-expertSkill
- react-expertSkill
- react-native-expertSkill
- rust-engineerSkill
- salesforce-developerSkill
- secure-code-guardianSkill
- security-reviewerSkill
- shopify-expertSkill
- spark-engineerSkill
- spec-minerSkill
- spring-boot-engineerSkill
- sql-proSkill
- sre-engineerSkill
- swift-expertSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 1 is common, 2 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 9 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 147
Use sticky sessions for load balancing (WebSocket connections are stateful — requests must route to the same server instance)
- Distinctive: line 149
Use rooms/namespaces for message scoping rather than filtering in application logic
- Common: line 161
When implementing WebSocket features, provide:
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
WebSocket Engineer
Core Workflow
- Analyze requirements — Identify connection scale, message volume, latency needs
- Design architecture — Plan clustering, pub/sub, state management, failover
- Implement — Build WebSocket server with authentication, rooms, events
- Validate locally — Test connection handling, auth, and room behavior before scaling (e.g.,
npx wscat -c ws://localhost:3000); confirm auth rejection on missing/invalid tokens, room join/leave events, and message delivery - Scale — Verify Redis connection and pub/sub round-trip before enabling the adapter; configure sticky sessions and confirm with test connections across multiple instances; set up load balancing
- Monitor — Track connections, latency, throughput, error rates; add alerts for connection-count spikes and error-rate thresholds
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
| Protocol | references/protocol.md | WebSocket handshake, frames, ping/pong, close codes |
| Scaling | references/scaling.md | Horizontal scaling, Redis pub/sub, sticky sessions |
| Patterns | references/patterns.md | Rooms, namespaces, broadcasting, acknowledgments |
| Security | references/security.md | Authentication, authorization, rate limiting, CORS |
| Alternatives | references/alternatives.md | SSE, long polling, when to choose WebSockets |
Code Examples
Server Setup (Socket.IO with Auth and Room Management)
import { createServer } from "http";
import { Server } from "socket.io";
import { createAdapter } from "@socket.io/redis-adapter";
import { createClient } from "redis";
import jwt from "jsonwebtoken";
const httpServer = createServer();
const io = new Server(httpServer, {
cors: { origin: process.env.ALLOWED_ORIGIN, credentials: true },
pingTimeout: 20000,
pingInterval: 25000,
});
// Authentication middleware — runs before connection is established
io.use((socket, next) => {
const token = socket.handshake.auth.token;
if (!token) return next(new Error("Authentication required"));
try {
socket.data.user = jwt.verify(token, process.env.JWT_SECRET);
next();
} catch {
next(new Error("Invalid token"));
}
});
// Redis adapter for horizontal scaling
const pubClient = createClient({ url: process.env.REDIS_URL });
const subClient = pubClient.duplicate();
await Promise.all([pubClient.connect(), subClient.connect()]);
io.adapter(createAdapter(pubClient, subClient));
io.on("connection", (socket) => {
const { userId } = socket.data.user;
console.log(`connected: ${userId} (${socket.id})`);
// Presence: mark user online
pubClient.hSet("presence", userId, socket.id);
socket.on("join-room", (roomId) => {
socket.join(roomId);
socket.to(roomId).emit("user-joined", { userId });
});
socket.on("message", ({ roomId, text }) => {
io.to(roomId).emit("message", { userId, text, ts: Date.now() });
});
socket.on("disconnect", () => {
pubClient.hDel("presence", userId);
console.log(`disconnected: ${userId}`);
});
});
httpServer.listen(3000);Client-Side Reconnection with Exponential Backoff
import { io } from "socket.io-client";
const socket = io("wss://api.example.com", {
auth: { token: getAuthToken() },
reconnection: true,
reconnectionAttempts: 10,
reconnectionDelay: 1000, // initial delay (ms)
reconnectionDelayMax: 30000, // cap at 30 s
randomizationFactor: 0.5, // jitter to avoid thundering herd
});
// Queue messages while disconnected
let messageQueue = [];
socket.on("connect", () => {
console.log("connected:", socket.id);
// Flush queued messages
messageQueue.forEach((msg) => socket.emit("message", msg));
messageQueue = [];
});
socket.on("disconnect", (reason) => {
console.warn("disconnected:", reason);
if (reason === "io server disconnect") socket.connect(); // manual reconnect
});
socket.on("connect_error", (err) => {
console.error("connection error:", err.message);
});
function sendMessage(roomId, text) {
const msg = { roomId, text };
if (socket.connected) {
socket.emit("message", msg);
} else {
messageQueue.push(msg); // buffer until reconnected
}
}Constraints
MUST DO
- Use sticky sessions for load balancing (WebSocket connections are stateful — requests must route to the same server instance)
- Implement heartbeat/ping-pong to detect dead connections (TCP keepalive alone is insufficient)
- Use rooms/namespaces for message scoping rather than filtering in application logic
- Queue messages during disconnection windows to avoid silent data loss
- Plan connection limits per instance before scaling horizontally
MUST NOT DO
- Store large state in memory without a clustering strategy (use Redis or an external store)
- Mix WebSocket and HTTP on the same port without explicit upgrade handling
- Forget to handle connection cleanup (presence records, room membership, in-flight timers)
- Skip load testing before production — connection-count spikes behave differently from HTTP traffic spikes
Output Templates
When implementing WebSocket features, provide:
- Server setup (Socket.IO/ws configuration)
- Event handlers (connection, message, disconnect)
- Client library (connection, events, reconnection)
- Brief explanation of scaling strategy
Knowledge Reference
Socket.IO, ws, uWebSockets.js, Redis adapter, sticky sessions, nginx WebSocket proxy, JWT over WebSocket, rooms/namespaces, acknowledgments, binary data, compression, heartbeat, backpressure, horizontal pod autoscaling
Maintained by @jeffallan, Principal Consultant at Synergetic Solutions
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

