magewire-javascript

Community

CSP-safe Magewire JS patterns for Magento 2 themes.

Authormagewirephp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a CSP-compliant, Magewire-first JavaScript approach for Magento 2 themes, enabling secure, maintainable UI reactivity without inline scripts or unsafe eval usage.

Core Features & Use Cases

  • CSP-safe JavaScript structure for Magewire-driven components
  • AlpineJS integration with Magewire lifecycle hooks for clean, reusable UI patterns
  • Clear separation of concerns with utilities, addons, directives, and feature bridges
  • Works across base and frontend view areas, enabling theme-agnostic frontend components

Quick Start

Create your first CSP-safe Magewire JavaScript by registering an Alpine component that reads from a Magewire addon.

Dependency Matrix

Required Modules

None required

Components

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: magewire-javascript
Download link: https://github.com/magewirephp/magewire/archive/main.zip#magewire-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 471,000+ vetted skills library on demand.