How to write Stimulus controllers for this Rails 8 / Hotwire project. Use when creating, modifying, or debugging Stimulus controllers, wiring controllers to ERB views, or integrating JavaScript behavior with Turbo Streams and Frames. Also use when the user mentions "stimulus", "controller", "data-action", "data-controller", "targets", "values", or asks about frontend interactivity.
$npx -y skills add mattsears/rails-cto --skill rails-cto-stimulusInstalls into the current project.
Run `npx skills use "https://github.com/mattsears/rails-cto" --skill "mattsears/rails-cto/rails-cto-stimulus"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mattsears/rails-cto" that are relevant to the current task. Run `npx skills add "https://github.com/mattsears/rails-cto"` and select the relevant skills, then follow their instructions.