Agent skill

Hwc Stimulus Fundamentals

by TheHotwireClub in TheHotwireClub/hotwire_club-skills

Cover Stimulus controller fundamentals: lifecycle hooks, values and valueChanged callbacks, targets and target callbacks, outlets, action parameters, keyboard events, and controller architecture…

MITAuto-check passedBackend & APIs

Install Hwc Stimulus Fundamentals

skills CLI
$ npx skills add TheHotwireClub/hotwire_club-skills --skill hwc-stimulus-fundamentals -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TheHotwireClub/hotwire_club-skills hwc-stimulus-fundamentals --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TheHotwireClub/hotwire_club-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hwc-stimulus-fundamentals .claude/skills/hwc-stimulus-fundamentals && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hwc-stimulus-fundamentals
GitHub stars
149
Token cost
~701 tokens
SKILL.md length
196 words
Files
11 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Cover Stimulus controller fundamentals: lifecycle hooks, values and valueChanged callbacks, targets and target callbacks, outlets, action parameters, keyboard events, and controller architecture…

  • Works in 5 steps: Define controller contract first:… → Keep state transitions in value… → Guard callbacks that can run before… → …
  • Tasks that involve Realtime and WebSockets
  • SKILL.md covers Core Workflow, Guardrails, Load References Selectively and Escalate to Neighbor Skills
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hwc Stimulus Fundamentals is an agent skill from TheHotwireClub/hotwire_club-skills. Cover Stimulus controller fundamentals: lifecycle hooks, values and valueChanged callbacks, targets and target callbacks, outlets, action parameters, keyboard events, and controller architecture patterns. Prefer this skill when the request is primarily about Stimulus APIs and controller design independent of a specific Hotwire domain. Use hwc-forms-validation for form-specific workflows, hwc-navigation-content for Turbo navigation concerns, hwc-realtime-streaming for Turbo Streams/WebSocket patterns…

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including reference files (for example `agents/openai.yaml`, `references/2023-08-29-stimulus-value-changed-callbacks.md` and `references/2023-10-24-stimulus-keyboardevent-101.md`).

It sits in Backend & APIs, covering Realtime and WebSockets, Forms and validation and Software architecture. The repository describes itself as: a marketplace of agentic hotwire skills. The licence is MIT.

When your agent uses it

  • Tasks that involve Realtime and WebSockets
  • Tasks that involve Forms and validation
  • Tasks that involve Software architecture

Example prompts

  • “/hwc-stimulus-fundamentals”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Define controller contract first: targets, values, outlets, actions, and expected lifecycle.
  2. Keep state transitions in value callbacks when reactive updates are required.
  3. Guard callbacks that can run before connect() completes.
  4. Use connect()/disconnect() for setup and teardown symmetry.
  5. Isolate DOM event handling from business rules; keep controllers composable.

What it can do on your machine

Read from SKILL.md and the folder at commit 21c254d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hwc Stimulus Fundamentals loads about 701 tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 160 tokens; SKILL.md has 196 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~160
When it runs · the whole SKILL.md, loaded when a task matches
~701
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TheHotwireClub/hotwire_club-skills at commit 21c254d, republished under its MIT licence (© TheHotwireClub). 196 words, ~701 tokens.

Download SKILL.mdSave it as .claude/skills/hwc-stimulus-fundamentals/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
hwc-stimulus-fundamentals
description
Cover Stimulus controller fundamentals: lifecycle hooks, values and valueChanged callbacks, targets and target callbacks, outlets, action parameters, keyboard events, and controller architecture patterns. Prefer this skill when the request is primarily about Stimulus APIs and controller design independent of a specific Hotwire domain. Use hwc-forms-validation for form-specific workflows, hwc-navigation-content for Turbo navigation concerns, hwc-realtime-streaming for Turbo Streams/WebSocket patterns, hwc-media-content for media integrations, and hwc-ux-feedback for loading/progress/transition UX patterns.

Stimulus Fundamentals

Implement robust Stimulus controllers with clear lifecycle and state boundaries.

Core Workflow

  1. Define controller contract first: targets, values, outlets, actions, and expected lifecycle.
  2. Keep state transitions in value callbacks when reactive updates are required.
  3. Guard callbacks that can run before connect() completes.
  4. Use connect()/disconnect() for setup and teardown symmetry.
  5. Isolate DOM event handling from business rules; keep controllers composable.

Guardrails

  • Prefer declarative action parameters over manual dataset parsing.
  • Use outlets for controller-to-controller communication instead of private internals.
  • Keep target callbacks idempotent; account for repeated connect/disconnect cycles.
  • Use MutationObserver only when DOM-driven reactivity is required.
  • Feature-detect browser APIs before exposing UI affordances.

Load References Selectively

Open only the file needed for the current request.

  • Value changed callbacks: references/2023-08-29-stimulus-value-changed-callbacks.md
  • Keyboard action filters and hotkeys: references/2023-10-24-stimulus-keyboardevent-101.md
  • MutationObserver-based sorting: references/2023-12-05-stimulus-auto-sorting.md
  • Outlets API communication: references/2023-12-19-stimulus-outlets-api.md
  • Target callback orchestration: references/2024-05-07-stimulus-target-callbacks.md
  • Web Share API integration: references/2025-11-25-stimulus-web-share-api.md
  • Core Web Vitals and lazy-loading fundamentals: references/2024-06-18-fundamentals-core-web-vitals.md
  • Promise-returning outlet methods (await-able controller APIs): references/2026-07-22-stimulus-promise-returning-outlet-methods.md

Use references/INDEX.md for the full catalog.

Escalate to Neighbor Skills

  • Form-centric behavior: use hwc-forms-validation
  • Navigation/history/cache with Turbo: use hwc-navigation-content
  • Turbo Stream/WebSocket orchestration: use hwc-realtime-streaming
  • Media integrations and playback concerns: use hwc-media-content
  • UX feedback/transitions/progress concerns: use hwc-ux-feedback

© TheHotwireClub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (references) in skills/hwc-stimulus-fundamentals of TheHotwireClub/hotwire_club-skills.

  • SKILL.md
  • agents/openai.yaml
  • references/2023-08-29-stimulus-value-changed-callbacks.md
  • references/2023-10-24-stimulus-keyboardevent-101.md
  • references/2023-12-05-stimulus-auto-sorting.md
  • references/2023-12-19-stimulus-outlets-api.md
  • references/2024-05-07-stimulus-target-callbacks.md
  • references/2024-06-18-fundamentals-core-web-vitals.md
  • references/2025-11-25-stimulus-web-share-api.md
  • references/2026-07-22-stimulus-promise-returning-outlet-methods.md
  • references/INDEX.md

Open the folder on GitHubat commit 21c254d

Compare with similar skills

Hwc Stimulus Fundamentals next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hwc Stimulus Fundamentals compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hwc Stimulus Fundamentals this skillTheHotwireClub/hotwire_club-skills149—~701Automated safety check: PassMIT
Trigger.dev Realtimepapermark/papermark9.2k—~1.7kAutomated safety check: PassCustom licence
System Designopenxlings/xlings6151 repos~328Automated safety check: PassApache-2.0
Clickup Core Workflow Ajeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Vue Component Developmentgdarko/laravel-vue-starter145—~1.1kAutomated safety check: PassMIT

Similar skills

  • Trigger.dev Realtime

    papermark/papermark

    Shows how to subscribe to Trigger.dev task runs from the backend and from React for progress indicators, live dashboards, AI response streams and approval waits.

    9.2k GitHub stars~1.7k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • System Design

    openxlings/xlings

    Design systems, services, and architectures. An agent skill from openxlings/xlings.

    615 GitHub starsUsed in 1 repo~328 tokens
    Backend & APIsAuto-check passed
  • Clickup Core Workflow A

    jeremylongshore/tons-of-skills-marketplace

    Create, reconcile, update, and retire ClickUp tasks with schema validation, durable source identity, and explicit destructive approval.

    2.8k GitHub stars~1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • Vue Component Development

    gdarko/laravel-vue-starter

    Activate when creating or modifying Vue 3 components, pages, layouts, stores, or services in the frontend.

    145 GitHub stars~1.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check passed
  • Phoenix LiveView Patterns

    georgeguimaraes/elixir-agent-tools

    Guidance for building and debugging Phoenix web interfaces: where LiveView loads data, scopes, PubSub topics, external polling and component state.

    184 GitHub stars~1.3k tokensUpdated 21 days ago
    Backend & APIsAuto-check passed

More from TheHotwireClub/hotwire_club-skills

  • Hwc Forms Validation

    TheHotwireClub/hotwire_club-skills

    Handle Hotwire form workflows: form submission lifecycle, inline editing, validation errors, typeahead/autocomplete, modal forms, and external form controls.

    149 GitHub stars~662 tokensUpdated 7 days ago
    Auto-check passed
  • Hwc Media Content

    TheHotwireClub/hotwire_club-skills

    Handle media-heavy Hotwire features: image/video/audio uploads, previews, playback controls, progress tracking, and third-party media integrations (for example WaveSurfer, Swiper…

    149 GitHub stars~746 tokensUpdated 7 days ago
    Auto-check passed
  • Hwc Navigation Content

    TheHotwireClub/hotwire_club-skills

    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.

    149 GitHub stars~724 tokensUpdated 7 days ago
    Auto-check passed
  • Hwc Realtime Streaming

    TheHotwireClub/hotwire_club-skills

    Implement real-time Hotwire behavior: Turbo Streams over WebSocket/SSE, custom stream actions, inline stream tags, live list updates, and cross-tab state synchronization.

    149 GitHub stars~745 tokensUpdated 7 days ago
    Auto-check passed
  • Hwc UX Feedback

    TheHotwireClub/hotwire_club-skills

    Implement cross-cutting Hotwire UX feedback patterns: loading states, busy indicators, progress bars, optimistic UI, render interception, and view/page transitions.

    149 GitHub stars~785 tokensUpdated 7 days ago
    Auto-check passed

Questions about Hwc Stimulus Fundamentals

What does Hwc Stimulus Fundamentals do?

Cover Stimulus controller fundamentals: lifecycle hooks, values and valueChanged callbacks, targets and target callbacks, outlets, action parameters, keyboard events, and controller architecture…. Hwc Stimulus Fundamentals is an agent skill from TheHotwireClub/hotwire_club-skills. Cover Stimulus controller fundamentals: lifecycle hooks, values and valueChanged callbacks, targets and target callbacks, outlets, action parameters, keyboard events, and controller architecture patterns.

When should I use Hwc Stimulus Fundamentals?

Hwc Stimulus Fundamentals fits situations like: tasks that involve Realtime and WebSockets; tasks that involve Forms and validation; tasks that involve Software architecture.

How do I install Hwc Stimulus Fundamentals in Claude Code?

Run `npx skills add TheHotwireClub/hotwire_club-skills --skill hwc-stimulus-fundamentals -a claude-code`. Or copy the skill folder (skills/hwc-stimulus-fundamentals in TheHotwireClub/hotwire_club-skills) into .claude/skills/hwc-stimulus-fundamentals in your project. Claude Code loads it when a task matches its description.

How do I install Hwc Stimulus Fundamentals in Codex?

Run `npx skills add TheHotwireClub/hotwire_club-skills --skill hwc-stimulus-fundamentals -a codex`. Or copy the skill folder (skills/hwc-stimulus-fundamentals in TheHotwireClub/hotwire_club-skills) into .agents/skills/hwc-stimulus-fundamentals in your project. Codex loads it when a task matches its description.

Can I use Hwc Stimulus Fundamentals in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TheHotwireClub/hotwire_club-skills --skill hwc-stimulus-fundamentals -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hwc-stimulus-fundamentals, .gemini/skills/hwc-stimulus-fundamentals, .github/skills/hwc-stimulus-fundamentals and .opencode/skills/hwc-stimulus-fundamentals in your project.

What does Hwc Stimulus Fundamentals need to run?

SKILL.md names no scripts, command-line tools or credentials: Hwc Stimulus Fundamentals is instructions for the agent only.

Does Hwc Stimulus Fundamentals access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hwc Stimulus Fundamentals safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hwc Stimulus Fundamentals use?

Hwc Stimulus Fundamentals is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hwc Stimulus Fundamentals use?

About 701 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Hwc Stimulus Fundamentals?

Skills that share tags, products or a category with Hwc Stimulus Fundamentals: Trigger.dev Realtime (papermark/papermark, 9.2k stars), System Design (openxlings/xlings, 615 stars), Clickup Core Workflow A (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and MCP Development (coollabsio/coolify, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hwc Stimulus Fundamentals?

TheHotwireClub (a GitHub organization) maintains it in TheHotwireClub/hotwire_club-skills, which has 149 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 4, 2026.

Source: TheHotwireClub/hotwire_club-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.