skills/hwc-navigation-content/SKILL.md
Build Hotwire navigation and content-discovery flows: Turbo Frame pagination, tabbed navigation, lazy loading, faceted filtering/search, cache lifecycle, scroll restoration, and visit/render control. Prefer this skill when the core problem is request/response navigation state and browser history behavior. Use hwc-forms-validation for form validation and inline edit flows, hwc-realtime-streaming for WebSocket/Turbo Stream push updates, hwc-media-content for image/video/audio features, hwc-ux-feedback for generic loading/progress/transition polish, and hwc-stimulus-fundamentals for Stimulus APIs not centered on navigation.
npx skillsauth add lucianghinda/superpowers-ruby hwc-navigation-contentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implement navigation and content-discovery behavior with Turbo Drive and Turbo Frames.
data-turbo-action, frame src, query params, back/forward behavior).Open only the file needed for the current request.
references/2023-06-20-turbo-frames-tabbed-navigation.mdreferences/2023-07-04-turbo-frames-pagination.mdreferences/2023-09-26-turbo-frames-lazy-loading-lifecycle.mdreferences/2023-09-12-turbo-frames-scroll-position-restoration.mdreferences/2023-05-23-turbo-drive-cache-lifecycle.mdreferences/2023-05-09-turbo-drive-custom-rendering.mdreferences/2024-02-13-turbo-drive-conditional-instant-click.mdreferences/2024-12-10-stimulus-turbo-frames-faceted-search.mdreferences/2024-10-08-turbo-frames-markdown-preview.mdUse references/INDEX.md for the full catalog.
hwc-forms-validationhwc-realtime-streaminghwc-media-contenthwc-ux-feedbackhwc-stimulus-fundamentalsdevelopment
Use when writing, reviewing, or debugging pure Ruby code — idiomatic patterns, modern 3.x+ features (pattern matching, Data.define, endless methods), error handling conventions (raise vs fail, result objects), memoization, and performance idioms. For Rails use rails-guides. For testing use minitest. For code style use sandi-metz-rules.
testing
Official Rails documentation. Use when asked about any Rails-specific topic including ActiveRecord, routing, controllers, views, mailers, jobs, Action Cable, Action Text, Active Storage, migrations, validations, callbacks, associations, caching, security, or internals.
tools
--- name: ruby-upgrade description: Use when upgrading the Ruby interpreter version of a Bundler/Rails app — especially "upgrade to Ruby 4", "bump Ruby to 4.0", "audit Ruby 4 compatibility", "what breaks on Ruby 4", or a specific target like "Ruby 4.0.5". Triggers on Ruby-major risk symptoms: CGI.parse/CGI::Cookie removal, Net::HTTP implicit Content-Type dropped, demoted default gems (ostruct/logger/benchmark/irb), SortedSet, Set#inspect changes, native-extension recompile crashes, openssl 4 pin
development
Use when stuck after multiple debug attempts and want to escalate to a stronger one-shot model (GPT-5 Pro, Opus, Gemini Pro) — packages a self-contained "oracle prompt" with Ruby/Rails project briefing, verbatim error, what-was-tried, constraints, and just-enough attached files. Triggers include "ask the oracle", "write a letter to GPT-5", "I'm stuck, draft a prompt for another model", "/tmp/letter.md".