folio-stimulus

Official

Streamline JavaScript behavior in Folio components with Stimulus.

Authorsinfin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the process of adding interactive behavior to Folio components using Stimulus, reducing the complexity of JavaScript code and improving maintainability.

Core Features & Use Cases

  • Controller Registration: Register Stimulus controllers next to their components for easy management.
  • Data Attributes: Use StimulusHelper to add data attributes for controllers, actions, and targets in Slim templates.
  • Utility Helpers: Access built-in helpers for common Stimulus patterns like lightboxes, tooltips, and modals.
  • Events: Handle global events and controller-to-controller communication efficiently.
  • Use Case: When you need to add interactive behavior to a Folio component, this Skill provides the necessary tools to do so effectively.

Quick Start

To use the folio-stimulus skill, register a new Stimulus controller next to your component file and use StimulusHelper to add data attributes.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: folio-stimulus
Download link: https://github.com/sinfin/folio/archive/main.zip#folio-stimulus

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.