folio-javascript

Official

Optimize JavaScript for Folio applications with best practices.

Authorsinfin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that your JavaScript code adheres to Folio's conventions, improving readability, performance, and maintainability.

Core Features & Use Cases

  • Modern JavaScript Practices: Follows ES6+ standards for a cleaner codebase.
  • Stimulus Framework Integration: Utilizes Stimulus for interactive component behavior.
  • DOM API Best Practices: Implements native DOM methods over jQuery for performance.
  • API Wrapper Usage: Provides a structured approach to making HTTP requests using Folio.Api.
  • Event Handling and Cleanup: Offers guidance on managing event listeners to prevent memory leaks.
  • Debounce and Throttle: Techniques for managing rapid-fire callbacks like scroll and resize.
  • Quick Start for Developers: Helps developers write efficient and maintainable JavaScript code for Folio projects.

Quick Start

Integrate JavaScript into your Folio application using ES6+ conventions and Stimulus for interactivity.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

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

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.