francescovallone/serinus/serinus-realtime-features
Claude Code and agent skill by francescovallone/serinus
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when implementing Serinus real-time features with WebSockets or Server-Sent Events, including WsModule, WebSocketGateway, SseModule, SseController, and SseEmitter.
Install
npx vskill@latest install francescovallone/serinus/serinus-realtime-featuresSKILL.md
Serinus Real-Time Features
WebSocket Guidelines
- Import
WsModule()in a module before registering anyWebSocketGatewayproviders. - Implement real-time socket behavior by extending
WebSocketGatewayand overridingonMessage(...). - Set
pathand optionallyportin the gateway constructor when the socket endpoint should not use the default root path or app port. - Use the gateway's
send(...)method for broadcasting or targeted delivery. If a custom serializer is present, send data in the serializer's input shape. - Keep gateway logic in the provider, not in HTTP controllers.
- Paths must be unique per WebSocket adapter port. Serinus will fail initialization on duplicates.
SSE Guidelines
- Import
SseModule()before defining SSE routes. - Add SSE endpoints on controllers with the
SseControllermixin and register them withonSse(Route.get(...), ...). - SSE routes must use
GETand must not collide with existing HTTP routes on the same controller. - Use
SseEmitterfrom DI when a provider or standard controller needs to push events to connected SSE clients.
Prefer This Pattern
Emitting SSE Outside the SSE Route
Avoid
- Do not manually initialize adapters for WebSockets or SSE; the modules handle that.
- Do not register a WebSocket gateway without importing
WsModule(). - Do not use
onSsewithPOST,PUT, or other non-GET routes.
References
references/realtime-features.mdfor WebSocket gateway, SSE controller, and realtime transport notes.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/serinus/skills/serinus-realtime-features/SKILL.md
Popularity
- Repository stars
- 108
- Repository forks
- 11
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/francescovallone/serinus/serinus-realtime-features)