What problem does it solve?
This Skill streamlines Ruby on Rails development by providing expert guidance and implementation for modern Rails 7+ patterns, including reactive UIs with Hotwire, efficient data access, and robust testing, saving developers time and ensuring high-quality code.
Core Features & Use Cases
- Hotwire/Turbo Integration: Implement reactive, single-page application-like experiences using Turbo Frames, Turbo Streams, and Stimulus controllers.
- Active Record Optimization: Design efficient database models, manage associations, prevent N+1 queries, and optimize data access performance.
- Background Job Processing: Set up and manage asynchronous tasks with Sidekiq for improved application responsiveness and scalability.
- Use Case: You're building a new feature that requires real-time updates on a user's dashboard. Invoke this Skill to get the necessary Turbo Stream and Action Cable setup, along with an example controller and view, to make your UI instantly reactive.
Quick Start
Generate a Rails 7 application with a Post model, controller, and views. Implement Turbo Frames for inline editing of the post title.