socket.io-consistency

socket.io-consistency

OtherClaude Codeby Guidogl

Summary

Write and review Socket.IO v4 code — explicit CORS, rooms and acknowledgements, reconnect-safe handlers, matched client/server versions.

Install to Claude Code

/plugin install socket.io-consistency@socket.io-consistency

Run in Claude Code. Add the marketplace first with /plugin marketplace add Guidogl/socket.io-consistency if you haven't already.

README.md

socket.io-consistency

![skills.sh](https://skills.sh/guidogl/socket.io-consistency) ![License](./LICENSE.txt) ![Agent Skills Spec](https://agentskills.io) ![Socket.IO](https://socket.io)

An agent skill that makes generated socket.io code consistent: one canonical, modern idiom set instead of a mix of legacy and current APIs.

What it does

Socket.IO is stable, but generated code confuses it with raw WebSocket, omits the now-required CORS config, tracks sockets in hand-rolled arrays instead of rooms, and re-registers handlers on every reconnect. This skill pins the canonical v4 idioms — event design, acknowledgements, broadcast variants, auth middleware — and catalogs the duplicate-listener and state-desync traps.

Install

skills.sh

npx skills add guidogl/socket.io-consistency

Claude Code plugin marketplace

/plugin marketplace add guidogl/socket.io-consistency

Contents

  • SKILL.md — the skill instructions: canonical idioms, pitfalls, version notes, workflow.
  • references/socket.io-patterns.md — deep reference: legacy→modern migration map and

expanded per-topic patterns, gotchas, and code examples.

License

Apache-2.0 — see LICENSE.txt.

Related plugins

Browse all →