hotwire-patterns
Installation
SKILL.md
Hotwire Patterns for Rails
Analyze and recommend Stimulus + Turbo patterns for modern, interactive Rails applications.
Quick Reference
| Component | Use When |
|---|---|
| Stimulus | Adding JS behaviors to server-rendered HTML |
| Turbo Drive | Default for all links/forms (no config needed) |
| Turbo Frames | Update a section without full reload |
| Turbo Streams | Update multiple DOM elements from one response |
| ActionCable + Streams | Push real-time updates to connected clients |
Supporting Documentation
- stimulus.md - Stimulus integration patterns and production gotchas
- turbo.md - Turbo Frames, Streams, and version-aware patterns