magento-magewire-specialist — скилл для Claude Code
Скилл magento-magewire-specialist для Claude Code создаёт реактивные компоненты Magewire для Magento 2 и управляет их серверным состоянием. Создаёт интерактивные интерфейсы с минимумом JavaScript.
MIT 153 установок ★ 33 обновлён 2026-01-24
npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a claude-codeЧто делает magento-magewire-specialist
Скилл охватывает проектирование компонентов Magewire, их жизненный цикл и обмен событиями. Он помогает связать интерфейс с серверным состоянием, настроить привязку данных в обе стороны и обновлять DOM при изменениях.
В Magento 2 скилл ориентируется на интеграцию с темами, модулями, API и кешированием. Также он затрагивает серверный рендеринг и тестирование компонентов. Это инструкции для агента, а не готовый модуль: код придётся адаптировать к структуре проекта.
Какие задачи решает
- создать реактивный компонент для Magento 2
- обновлять интерфейс при изменении серверного состояния
- связать данные формы с серверной частью
- обрабатывать события между компонентами Magewire
- подготовить тесты для компонентов Magewire
Примеры запросов агенту
- Создай для Magento 2 реактивный компонент Magewire для выбора варианта товара.
- Настрой передачу событий между двумя компонентами Magewire.
- Свяжи поля формы с серверным состоянием и обновляй интерфейс при изменениях.
Как установить magento-magewire-specialist
1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a claude-code2Вручную: положить файлы
~/.claude/skills/magento-magewire-specialist/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/magento-magewire-specialist/
1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a codex2Вручную: положить файлы
.agents/skills/magento-magewire-specialist/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a cursor2Вручную: положить файлы
.cursor/skills/magento-magewire-specialist/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install maxnorm/magento2-agent-skills skills/magento-magewire-specialist2Вручную: положить файлы
.github/skills/magento-magewire-specialist/SKILL.md1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a gemini-cli2Командой платформы
gemini skills install https://github.com/maxnorm/magento2-agent-skills --path skills/magento-magewire-specialistВручную: положить файлы
.devin/skills/magento-magewire-specialist/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о magento-magewire-specialist
Как установить magento-magewire-specialist в Claude Code?
Выполните npx skills add maxnorm/magento2-agent-skills --skill magento-magewire-specialist -a claude-code. Файл скилла появится по пути ~/.claude/skills/magento-magewire-specialist/SKILL.md.
Что делает magento-magewire-specialist?
Помогает агенту разрабатывать реактивные компоненты Magewire в Magento 2: работать с состоянием, событиями, рендерингом и обновлениями интерфейса.
Можно ли использовать скилл для интерфейсов с минимумом JavaScript?
Да. Он описывает реактивные интерфейсы на Magewire с серверным состоянием и автоматическими обновлениями DOM, чтобы обойтись без сложного JavaScript.
Исходный текст
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