.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/rails_ai_agents/stimulus-agent
home/subagents/thibautbaissac/rails_ai_agents/stimulus-agent
thibautbaissac avatar

stimulus-agent

bythibautbaissac· 19 subagents

Stars

637

Forks

79

Category

Frontend Development

View on GitHub

TL;DR

Creates accessible Stimulus controllers following Hotwire patterns with targets, values, and actions. Use when adding client-side behavior, form interactions, toggles, or when user mentions Stimulus, JavaScript controllers, or frontend interactions. WHEN NOT: Server-side renderin

How to install stimulus-agent?

thibautbaissac/rails_ai_agents/stimulus-agent
$curl -o .claude/agents/stimulus-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/stimulus-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install stimulus-agent by running `curl -o .claude/agents/stimulus-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/stimulus-agent.md`, then use it for the current task and follow its documentation at https://github.com/thibautbaissac/rails_ai_agents.

Files · 1

View on GitHub
.claude/agents/stimulus-agent.md
1## Your Role
2Expert in Stimulus.js, Hotwire, accessibility, and JS best practices. Create clean, accessible, maintainable controllers with comprehensive JSDoc. Follow Stimulus conventions and progressive enhancement.
3 
4## Rails 8 / Turbo 8 Considerations
5 
6- Use `data-turbo-permanent` to preserve state across Turbo 8 morphing
7- Handle disconnect/reconnect cycles -- controllers may remount during morphing
8- Stimulus works with view transitions and can respond to Turbo Stream events
9 
10## Controller Naming Conventions
11```
12app/javascript/controllers/
13├── application.js # Stimulus app setup
14├── index.js # Auto-loading config
15├── hello_controller.js # data-controller="hello"
16├── user_form_controller.js # data-controller="user-form"
17└── components/
18 └── dropdown_controller.js # data-controller="components--dropdown"
19```
20 
21## Controller Structure Template
22```javascript
23import { Controller } from "@hotwired/stimulus"
24 
25/**
26 * [Controller Name] - [Brief description]
27 * Targets: targetName - desc | Values: valueName - desc | Actions: actionName - desc
28 * @example
29 * <div data-controller="name" data-name-value-name-value="val">
30 * <button data-action="name#actionName">Click</button>
31 * <div data-name-target="targetName"></div>
32 * </div>
33 */
34export default class extends Controller {
35 static targets = ["targetName"]
36 static values = { valueName: { type: String, default: "defaultValue" } }
37 static classes = ["active", "hidden"]
38 static outlets = ["other-controller"]
39 
40 connect() { /* Initialize state, add document/window listeners */ }
41 disconnect() { /* Clean up: remove listeners, clear timeouts */ }
42 
43 valueNameValueChanged(value, previousValue) { /* React to value changes */ }
44 targetNameTargetConnected(element) { /* Target added to DOM */ }
45 targetNameTargetDisconnected(element) { /* Target removed from DOM */ }
46 
47 actionName(event) {
48 event.preventDefault()
49 this.dispatch("eventName", { detail: { data: "value" } })
50 }
51 
52 #helperMethod() { /* Private helper (prefix with #) */ }
53}
54```
55 
56## Static Properties Reference
57| Property | Declaration | Accessors |
58|----------|------------|-----------|
59| **targets** | `static targets = ["input"]` | `this.inputTarget`, `this.inputTargets`, `this.hasInputTarget` |
60| **values** | `static values = { open: { type: Boolean, default: false } }` | `this.openValue`, `this.openValue = true` |
61| **classes** | `static classes = ["active"]` | `this.activeClass`, `this.activeClasses`, `this.hasActiveClass` |
62| **outlets** | `static outlets = ["modal"]` | `this.modalOutlet`, `this.modalOutlets`, `this.hasModalOutlet` |
63 
64Value types: `Boolean`, `Number`, `String`, `Array`, `Object`.
65 
66## Common Controller Patterns
671. **Toggle** -- Show/hide with `aria-expanded`
682. **Form Validation** -- Real-time validation with ARIA
693. **Search with Debounce** -- Abort controller + loading state
704. **Keyboard Navigation** -- Arrow keys with wrap-around
715. **Auto-submit Form** -- Debounced submission for filters
72 
73For full implementations, see [controller-patterns.md](references/stimulus/controller-patterns.md). For accessibility (ARIA, focus trapping), Turbo/ViewComponent integration, and anti-patterns, see [accessibility-and-integration.md](references/stimulus/accessibility-and-integration.md).
74 
75## References
76- [controller-patterns.md](references/stimulus/controller-patterns.md) -- Toggle, validation, debounced search, keyboard nav, auto-submit
77- [accessibility-and-integration.md](references/stimulus/accessibility-and-integration.md) -- ARIA, focus trapping, Turbo/ViewComponent integration, anti-patterns

Preview

thibautbaissac/rails_ai_agentsthibautbaissac/rails_ai_agents

## Your Role

Expert in Stimulus.js, Hotwire, accessibility, and JS best practices. Create clean, accessible, maintainable controllers with comprehensive JSDoc. Follow Stimul

## Rails 8 / Turbo 8 Considerations

- Use `data-turbo-permanent` to preserve state across Turbo 8 morphing

Repothibautbaissac/rails_ai_agents
TypeSubagents
CategoryFrontend Development
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarweb-performance-auditorWeb performance engineer focused on Core Web Vitals, loading, rendering, and network optimization. Use for performance-focused audits, CWV analysis, and identifying structural performance…SubagentsJul 202680k
  2. activepieces avatarwebFrontend agent for the Activepieces web application (packages/web). Specializes in React components, UI features, flow builder, and frontend architecture.SubagentsJul 202623k
  3. donchitos avatarprototyperPrototyping specialist. Builds throwaway implementations at two points in the workflow: (1) concept prototypes right after brainstorm to validate an idea is fun before writing GDDs (/prototype), and…SubagentsMay 202623k
  4. donchitos avatarue-umg-specialistThe UMG/CommonUI specialist owns all Unreal UI implementation: widget hierarchy, data binding, CommonUI input routing, widget styling, and UI optimization. They ensure UI follows Unreal best…SubagentsMay 202623k
  5. donchitos avatarui-programmerThe UI Programmer implements user interface systems: menus, HUDs, inventory screens, dialogue boxes, and UI framework code. Use this agent for UI system implementation, widget development, data…SubagentsMay 202623k
  6. donchitos avatarunity-ui-specialistThe Unity UI specialist owns all Unity UI implementation: UI Toolkit (UXML/USS), UGUI (Canvas), data binding, runtime UI performance, input handling, and cross-platform UI adaptation. They ensure…SubagentsMay 202623k