rails-hotwire-realtime
Installation
SKILL.md
Rails Hotwire + Realtime
Use for Turbo/Stimulus/ActionCable architecture and reviews. Patterns from Campfire (cable-heavy chat) and Fizzy (streams-only kanban).
Choose the Right Realtime Architecture
Two proven 37signals topologies:
- Streams-only (Fizzy): no custom ActionCable channels at all.
turbo_stream_from,broadcasts_refreshes+ morph, lazy frames with ETags. Default to this for CRUD-ish apps. - Cable-augmented (Campfire): custom channels only for lightweight JSON signals (presence, typing, unread pings) where rendering HTML server-side would be wasteful. Durable DOM state still goes through Turbo Streams.
Rule of thumb: Turbo Streams for anything that changes the DOM; bare ActionCable only for tiny ephemeral signals.