Skip to main content
skill CX Codex

magento-magewire-specialist — Claude Code skill for Magento 2

The magento-magewire-specialist skill guides agents through building reactive Magewire components for Magento 2. Use it for server-driven interfaces with minimal JavaScript.

MIT 153 installs ★ 33 updated 2026-01-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a claude-code
Open on GitHub

What magento-magewire-specialist does

The skill covers Magewire component structure, lifecycle, state, and event handling. It helps connect frontend data to backend state and handle interface updates when that state changes.

For Magento 2 projects, it addresses theme and module integration, APIs, and caching. Server-side rendering and component tests are also covered. It provides guidance rather than a ready-made module, so adapt the resulting code to your project.

What it helps with

  • build a reactive Magewire component for Magento 2
  • update the interface when server state changes
  • bind form data to backend state
  • handle events between Magewire components
  • write tests for Magewire component behavior

Example prompts for the agent

  • Build a reactive Magewire component for choosing a product option in Magento 2.
  • Set up event communication between two Magewire components.
  • Bind the form fields to server-side state and update the interface when values change.

How to install magento-magewire-specialist

1Skills CLI (Vercel)

npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a claude-code

2Manually: put the files in place

~/.claude/skills/magento-magewire-specialist/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/magento-magewire-specialist/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about magento-magewire-specialist

How do I install magento-magewire-specialist in Claude Code?

Run npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a claude-code. The skill file is placed at ~/.claude/skills/magento-magewire-specialist/SKILL.md.

What does magento-magewire-specialist do?

It guides an agent in creating reactive Magewire components for Magento 2, including their state, lifecycle, events, and server-rendered interfaces.

Can this skill help build interfaces with minimal JavaScript?

Yes. It focuses on Magewire patterns with server-managed state and DOM updates, allowing interactive interfaces without complex JavaScript.

Source text

SKILL.md · MIT
---
name: magento-magewire-specialist
description: Develops reactive components using Magewire for Magento 2. Use when building real-time interfaces, creating reactive components, or implementing Livewire-inspired patterns. Masters component lifecycle, state management, and server-side rendering.
---

# Magento 2 Magewire Specialist

Expert specialist in creating dynamic, reactive Magento 2 interfaces using Magewire's Laravel Livewire-inspired component system.

## When to Use

- Building reactive components
- Creating real-time interfaces
- Implementing server-side rendering
- Building interactive UI without complex JavaScript
- Working with Magewire components

## Magewire Framework

### Component Architecture
- **Component Design**: Expert in Magewire component design and lifecycle
- **Reactive Programming**: Implement reactive UI patterns with server-side state
- **Real-time Updates**: Create real-time interfaces with automatic DOM updates
- **Component Communication**: Inter-component communication and event handling
- **Lifecycle Management**: Master component mounting, updating, and cleanup

### Server-side Rendering
- **Component Rendering**: Server-side component rendering and hydration
- **State Management**: Server-side state management and persistence
- **Event Handling**: Server-side event processing and response
- **Data Binding**: Two-way data binding between frontend and backend
- **Performance Optimization**: Optimize server-side rendering performance

### Magento Integration
- **Framework Integration**: Deep integration with Magento's architecture
- **Theme Compatibility**: Seamless integration with Magento themes
- **Module Development**: Create Magewire-powered modules and extensions
- **API Integration**: Connect components with Magento's APIs and services
- **Cache Integration**: Implement caching strategies for Magewire components

## Best Practices

- **Component Design**: Design reusable, maintainable components
- **State Management**: Efficient state management and persistence
- **Performance**: Optimize rendering and update performance
- **Error Handling**: Comprehensive error handling
- **Testing**: Write tests for component functionality

## References

- [Magewire Documentation](https://magewire.com/)
- [Laravel Livewire](https://laravel-livewire.com/)

Focus on creating reactive, maintainable components with minimal JavaScript.

© maxnorm · MIT · maxnorm/magento2-agent-skills

Similar skills

All skills for Frontend and UI →

From the same set30

The whole set →
magento-css-specialist magento-css-specialist — a skill for building Magento 2 CSS and LESS, covering responsive themes, component styling, and CSS performance work. CX Codex +1 167installs magento-alpine-specialist magento-alpine-specialist briefs the agent on building reactive Alpine.js components for Magento 2 storefronts, Hyvä included. Handy when a template needs behaviour without a separate JS framework. CX Codex +1 166installs magento-cronjob-developer magento-cronjob-developer guides the agent through building Magento 2 cron jobs: the etc/crontab.xml config, the job class, failure handling and debugging. CX Codex +1 165installs magento-local-environment-specialist magento-local-environment-specialist walks the agent through a local Magento 2 setup: containers, PHP settings, database, cache, step debugging. Also covers breakage after a move to another machine. CX Codex +1 164installs magento-theme-developer The magento-theme-developer skill builds and modifies Magento 2 themes, covering child themes, layout XML, templates, responsive styling, and frontend performance. CX Codex +1 161installs magento-cache-analyst magento-cache-analyst optimizes Magento 2 caching architectures, covering Redis backends, Varnish FPC, ESI tags, and invalidation workflows. CX Codex +1 160installs magento-luma-specialist magento-luma-specialist guides agents through customizing and extending Magento's default Luma theme. Useful for working with LESS variables, RequireJS modules, and KnockoutJS components. CX Codex +1 152installs magento-requirejs-specialist magento-requirejs-specialist guides code generation for Magento 2 AMD modules, RequireJS configurations, and frontend build optimization. CX Codex +1 150installs

Project sponsors

Companies that keep this analytics open