turbo

Guide Rails UI development with Turbo Drive, Frames, and Streams.

5|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/ThinkOodle/rails-skills --skill turbo-thinkoodle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turbo
Source: https://github.com/ThinkOodle/rails-skills/tree/main/skills/turbo
Command: npx skills add https://github.com/ThinkOodle/rails-skills --skill turbo-thinkoodle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers developers to build fast, modern, and interactive user interfaces in Ruby on Rails applications with minimal or zero custom JavaScript, leveraging the power of Turbo Drive, Frames, and Streams.

Core Features & Use Cases

  • Seamless Navigation: Turbo Drive automatically speeds up page loads and form submissions.
  • Scoped Updates: Turbo Frames enable partial page updates for specific sections.
  • Real-time Interactions: Turbo Streams deliver targeted DOM mutations for live updates.
  • Use Case: Implement inline editing for posts, create tabbed navigation for project dashboards, or build real-time notification systems without writing complex JavaScript.

Quick Start

Use the turbo skill to implement inline editing for a post by wrapping the edit link and form in matching turbo_frame_tags.

Frequently Asked Questions about turbo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement partial page updates in Rails without writing custom JavaScript?

Real-time HTML updates are delivered using Turbo Streams to perform targeted DOM mutations. Turbo Streams transmit server-side rendered HTML fragments over WebSocket connections, enabling live updates like notifications or inline edits directly to specific page elements.

How does Turbo Drive speed up web navigation in a Rails application?

Turbo Drive accelerates Rails web navigation by intercepting link clicks and form submissions to fetch pages asynchronously. It prevents full page reloads by swapping the body element and merging header tags, creating a seamless single-page application experience.

What is the best way to build real-time notification systems in a Rails UI?

Real-time notification systems are built using Turbo Streams to broadcast targeted HTML updates. By transmitting DOM mutations from the server to subscribed clients, Rails applications push live notifications without requiring complex frontend JavaScript frameworks.

Can I use Turbo Frames for lazy loading sections of a Rails dashboard?

Turbo Frames support lazy loading sections of a Rails dashboard by fetching content asynchronously. Setting a frame source URL allows sections to load independently on initial page render, deferring heavy data fetching until the frame is visible.

Do I need custom JavaScript to implement inline editing with Hotwire patterns?

Custom JavaScript is not needed to implement inline editing with Hotwire patterns. Wrapping the edit link and form inside matching Turbo Frames handles the request cycle automatically, replacing the display content with the edit form upon request.