WebSocket Server Builder Skill for Room Isolation Tests
Define a local connection and subscription flow and verify that room events reach only the intended clients.
中文Install in Claude Code
Use your local WebSocket app and three test clients. The example uses synthetic edit events.
- Get the complete `plugins/api-development/websocket-server-builder/skills/building-websocket-server` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/building-websocket-server/SKILL.md`, start Claude Code at the project root, and call `/building-websocket-server`.
Example task
Join A and B to draft-room and C to preview-room. Send draft.updated from A. Check that B receives it and C does not, then disconnect B and inspect membership.What to check
Room delivery and disconnect cleanup pass. The test records the event ID and recipients.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can the browser decide which rooms it is allowed to join?
Authorize subscriptions on the server against the authenticated session before adding membership.