developing-with-turbo-streams
Skill by hotwired-laravel
Guides an AI assistant through building Turbo Streams in Laravel, covering partial page updates and real-time broadcasting. Aimed at Laravel developers using the hotwired-laravel package.
Install developing-with-turbo-streams
Built from the published package, never by AI.
git clone --depth 1 https://github.com/hotwired-laravel/turbo-laravel /tmp/turbo-laravel && mkdir -p ~/.claude/skills && cp -r /tmp/turbo-laravel/resources/boost/skills/developing-with-turbo-streams ~/.claude/skills/developing-with-turbo-streamsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install developing-with-turbo-streams in Claude Code
git clone --depth 1 https://github.com/hotwired-laravel/turbo-laravel /tmp/turbo-laravel && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/turbo-laravel/resources/boost/skills/developing-with-turbo-streams ~/.gemini/antigravity-cli/skills/developing-with-turbo-streamsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install developing-with-turbo-streams in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant guidance for Turbo Streams in Laravel. It covers the eight stream actions (append, prepend, replace, update, remove, before, after, and refresh) for partial page updates after HTTP requests. It also covers real-time broadcasting over WebSocket, including the Broadcasts trait, manual and automatic broadcast methods, and the x-turbo::stream-from component for listening to channels.
The skill includes code snippets for the turbo_stream() and turbo_stream_view() helpers, the Blade stream component, channel authorization in routes/channels.php, and the TurboStream facade for broadcasts not tied to a model. It is for Laravel developers who want to add partial page updates or live updates to their applications.
Written from the project's SKILL.md and checked against it.
What it can do
- Stream actionsCovers append, prepend, replace, update, remove, before, after, and refresh for changing page parts.
- HTTP stream responsesShows returning turbo_stream() and turbo_stream_view() responses after form submissions.
- Model broadcastingExplains the Broadcasts trait and broadcastAppend, broadcastReplace and related methods.
- Automatic broadcastingDescribes enabling broadcasts on create, update and delete through model properties.
- Stream listeningShows subscribing to channels with the x-turbo::stream-from Blade component.
- Handmade broadcastsExplains using the TurboStream facade for broadcasts not tied to a model.
- Channel authorizationShows defining private channel access in routes/channels.php.
What you need
- Laravel application
- hotwired-laravel package (turbo-laravel)
Try asking
- Add a Turbo Stream response that appends a new comment to the comments list
- Broadcast a replace of a post card when the Post model is updated
- Set up a private channel so users can listen for post updates
Good to know
- Guidance is for Laravel and the hotwired-laravel package only
- Broadcasting private channels requires channel authorization to be defined
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: resources/boost/skills/developing-with-turbo-streams/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to developing-with-turbo-streams
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
developing-with-turbo-streams: common questions
What Turbo Stream actions does this skill cover?
It covers append, prepend, replace, update, remove, before, after, and refresh. It also shows the *All methods for targeting multiple elements by CSS selector.
Does it cover real-time broadcasting?
Yes. It covers the Broadcasts trait, manual and automatic broadcasting, directed broadcasts to a model's channel, and listening with x-turbo::stream-from.
How do I stop the current user receiving their own broadcasts?
The skill shows calling toOthers() on a broadcast, or Turbo::broadcastToOthers() to exclude the current user from all broadcasts in a request.
How do I install developing-with-turbo-streams?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is developing-with-turbo-streams free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is developing-with-turbo-streams safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to developing-with-turbo-streams?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
