Rails Hotwire
Hotwire patterns for Rails covering Turbo Drive, Frames, Streams, morphing, and Stimulus controllers.
- CCM score
- 46 of 100
- skills.sh installs
- 391
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers navigation, partial page updates, real-time broadcasting, morphing, and Stimulus controller design across 53 rules
- Organizes rules into 9 prioritized categories, from Drive and Frames down to Testing and Architecture decisions
- Enforces patterns such as scoped broadcast streams, debounced broadcasts, signed stream names, and progressive HTML fallbacks
- Designed for reviewing, writing, or refactoring Hotwire-powered Rails code alongside rails-dev and rails-testing
Install
$ npx -y skills add pproenca/dot-skills --skill rails-hotwire -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Community Rails Hotwire Best Practices
Comprehensive guide for building interactive Rails applications with Hotwire (Turbo + Stimulus), maintained by Community. Contains 53 rules across 9 categories, prioritized by impact to guide automated refactoring and code generation. Follows the DHH "One Person Framework" philosophy: the server renders HTML, Turbo makes it feel like an SPA, Stimulus adds the sprinkle of JS where needed.
When to Apply
Reference these guidelines when:
- Configuring Turbo Drive navigation, prefetching, and caching behavior
- Adding Turbo Frames for partial page updates and lazy loading
- Delivering Turbo Streams for surgical DOM mutations
- Broadcasting real-time updates over ActionCable
- Enabling Turbo 8 morphing for page refreshes
- Writing Stimulus controllers for client-side behavior
- Handling errors in Turbo navigation, frames, and WebSocket connections
- Choosing between Drive, Frames, Streams, Morphing, and Stimulus
- Testing Hotwire interactions in system and integration tests
Rule Categories by Priority
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Frontend & UI Code, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the rails-hotwire skill do?
rails-hotwire gives agents Ruby on Rails Hotwire best practices for Turbo Drive, Turbo Frames, Turbo Streams, Turbo 8 morphing, and Stimulus controllers. It covers navigation, partial page updates, real-time broadcasting, morphing, and progressive enhancement in Rails code.
How do I install the rails-hotwire skill?
Run npx -y skills add pproenca/dot-skills --skill rails-hotwire -y inside your project. After that, rails-hotwire guides the agent when it writes, reviews, or refactors Hotwire-powered Rails code.
When should I use rails-hotwire instead of rails-dev?
rails-hotwire focuses on Hotwire-specific patterns such as Turbo Frames, Turbo Streams, broadcasts, and Stimulus controllers. rails-dev covers general Rails performance and maintainability, and the two are meant to be used together.
What kinds of tasks trigger the rails-hotwire skill?
rails-hotwire triggers on tasks involving turbo_frame_tag, turbo_stream_from, broadcasts, morphing, Stimulus controllers, ActionCable, data-controller, data-action, and Hotwire performance. It is aimed at developers working on interactive Rails applications.
More from pproenca/dot-skills
All 100- Ts Google389
- Nginx C Module Design386
- Nginx C Modules383
- Vite380
- Audio Voice Recovery371
- Ios Animations369
- Dockerfile Optimise365
- Uniwind358
- Orval351
- 37signals Rails350
- Ast Grep349
- Codemod344
- Mui Base344
- Skill Authoring343
- Vhs340
- Unix Cli337
- 12 Factor App336
- Rust Refactor334
- Python332
- Ios Design System331
- Js Google327
- Tailwind Refactor324
- Pulumi320
- Harness Engineering315
Similar to Rails Hotwire
More Frontend & UI Coderails-devSkillpproenca/dot-skills302 installsRails performance and maintainability guidelines covering controllers, ActiveRecord, security, caching, views, APIs, and jobs.
rails-design-systemSkillpproenca/dot-skills279 installsRails design system guidelines for consistent UI, with 51 rules across Turbo, partials, tokens, and forms.
better-stimulusPluginobie/skills101 starsApply Better Stimulus best practices for writing maintainable, reusable StimulusJS controllers following SOLID principles
ruby-railsSkillmindrally/skills907 installsGuide for building Rails apps covering generators, ActiveRecord, Hotwire, Rails 8 defaults, and testing.