stimulus-controllers
OfficialStreamline Stimulus controller creation.
AuthorRoleModel
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Stimulus controllers are the building blocks for modular, client-side interactivity in Rails apps, and setting them up and registering them can be repetitive and error-prone.
Core Features & Use Cases
- Create controller files under app/javascript/controllers with proper naming and structure
- Register controllers in app/javascript/controllers/index.js after creation
- Follow the data-controller naming conventions in HTML
- Provide clear examples for both automatic and manual registration
Quick Start
Create a new controller file at app/javascript/controllers/example_controller.js with a basic Stimulus Controller skeleton. Then run bin/rails stimulus:manifest:update to register the controller. Use data-controller attributes in HTML to connect the controller (e.g., data-controller="example").
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: stimulus-controllers Download link: https://github.com/RoleModel/rolemodel-skills/archive/main.zip#stimulus-controllers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.