#787·guides

Rails AI rules could benefit from Hotwire rules

Author: jaredltCreated Mar 31, 2026Updated May 27, 2026

The Rails AI rules seem to work pretty well from my testing. I feel there is currently a gap in the Hotwire area that would benefit from some guidance and best practices.

There are two parts to Hotwire

  • Turbo (Drive, Frames, Streams, Morph)
  • Stimulus (a modest JavaScript framework "designed to augment your HTML with just enough behavior to make it shine")

This is a holding issue to gather what we've seen from AI that it doesn't do well / needs some guidance in regards to Hotwire.

In time we might find a separate rule for each (Turbo and Stimulus) is useful, but perhaps to start we can combine into a single Hotwire rules file as they are closely related.