litestar-realtime
Installation
SKILL.md
Litestar Realtime
Use this skill for WebSockets, SSE, ChannelsPlugin backends, realtime event contracts, and fan-out from workers or services.
Code Style Rules
- Use plain WebSocket handlers for one-off streams.
- Use ChannelsPlugin when dynamic topics, history, or cross-process fan-out matter.
- Choose the backend that matches the existing stack.
- Treat WebSocket auth separately from HTTP header auth constraints.
Quick Reference
- WebSocket and Channels patterns: websockets.md
- Event contract patterns: realtime-events.md
- Pair with litestar-auth-guards for socket auth.