К основному содержанию
скилл CX Codex

magento-ui-component-developer — скилл для Claude Code

Скилл magento-ui-component-developer для Claude Code создаёт сложные компоненты Magento UI Component: админские таблицы, формы, модальные окна и интерфейсы на данных.

MIT 200 установок ★ 33 обновлён 2026-01-24

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add maxnorm/magento2-agent-skills --skill magento-ui-component-developer -a claude-code
Открыть на GitHub

Что делает magento-ui-component-developer

Скилл проектирует Magento UI Component для админской части и фронтенда: таблицы с фильтрацией, сортировкой и пагинацией, формы с валидацией, многошаговые и динамические формы, модальные окна и отчётные интерфейсы. Он учитывает иерархию компонентов, XML-конфигурацию, связи между компонентами и обработку событий.

Внутри используются data providers и коллекции, шаблоны KnockoutJS, привязки данных, observable-массивы и JavaScript-модули. Для источников данных применяется DataProviderInterface; формы могут загружать и сохранять данные, а также управлять зависимостями полей. Если проект не использует Magento UI Component framework, рекомендации скилла по таким компонентам неприменимы.

Какие задачи решает

  • собрать админскую таблицу с фильтрами и сортировкой
  • создать форму Magento с проверкой полей
  • связать компонент с data provider и коллекцией
  • добавить модальное окно с формой
  • организовать пагинацию для большого набора данных

Примеры запросов агенту

  • Создай админскую таблицу Magento с фильтрацией, сортировкой и пагинацией.
  • Собери многошаговую форму с условным отображением полей и валидацией.
  • Подключи data provider к коллекции и настрой загрузку данных для UI Component.

Как установить magento-ui-component-developer

1Через Skills CLI (Vercel)

npx skills add maxnorm/magento2-agent-skills --skill magento-ui-component-developer -a claude-code

2Вручную: положить файлы

~/.claude/skills/magento-ui-component-developer/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/magento-ui-component-developer/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о magento-ui-component-developer

Как установить magento-ui-component-developer в Claude Code?

Выполните npx skills add maxnorm/magento2-agent-skills --skill magento-ui-component-developer -a claude-code, затем проверьте файл ~/.claude/skills/magento-ui-component-developer/SKILL.md.

Что делает magento-ui-component-developer?

Скилл помогает разрабатывать Magento UI Component для таблиц, форм, модальных окон и интерфейсов на данных. Он работает с XML, data providers, KnockoutJS и JavaScript-модулями.

С какими платформами совместим этот скилл?

Он рассчитан на Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode.

Исходный текст

SKILL.md · MIT
---
name: magento-ui-component-developer
description: Builds sophisticated admin interfaces and frontend components using Magento's UI Component framework. Use when creating admin grids, forms, modals, or data-driven interfaces. Masters XML configuration, KnockoutJS templates, data providers, and complex form/grid implementations.
---

# Magento 2 UI Component Developer

Expert specialist in creating sophisticated, data-driven interfaces using Magento's powerful UI Component framework for both admin and frontend applications.

## When to Use

- Creating admin grids and forms
- Building data-driven interfaces
- Developing custom UI components
- Implementing complex forms with validation
- Creating modal dialogs and popups
- Building reporting and analytics interfaces

## UI Component Architecture

- **Component Hierarchy**: Master parent-child component relationships and inheritance
- **XML Configuration**: Expert in component definition and configuration files
- **Data Providers**: Implement efficient data sources and collection management
- **KnockoutJS Integration**: Build reactive templates and data binding
- **Component Communication**: Handle inter-component communication and events

## Component Types

### Listing Components (Grids)
- **Data Grids**: Create advanced data grids with filtering and sorting
- **Product Grids**: Product management interfaces
- **Order Grids**: Order management systems
- **Customer Grids**: Customer data management interfaces
- **Custom Entity Grids**: Grids for custom data entities

### Form Components
- **Product Forms**: Complex product editing interfaces
- **Configuration Forms**: System configuration interfaces
- **Customer Forms**: Customer data entry forms
- **Multi-step Forms**: Wizard-style form interfaces
- **Dynamic Forms**: Forms with conditional field display

### Modal Components
- **Dynamic Modals**: Modal dialogs and popups
- **Form Modals**: Forms within modal dialogs
- **Confirmation Dialogs**: Confirmation and alert dialogs
- **Custom Modals**: Specialized modal implementations

## UI Component Development Process

### 1. Component Planning & Design
- **Requirements Analysis**: Define component functionality and user interactions
- **Data Architecture**: Plan data structure and provider requirements
- **UX Design**: Design user-friendly interfaces and workflows
- **Performance Considerations**: Plan for scalability and optimization
- **Integration Strategy**: Plan integration with existing systems

### 2. Component Structure Setup
- **XML Configuration**: Create component definition files
- **Directory Structure**: Organize component files and dependencies
- **Data Provider**: Implement data source and collection handling
- **Template Files**: Create KnockoutJS templates for rendering
- **JavaScript Modules**: Build component logic and interactions

### 3. Data Management
- **Collection Building**: Create efficient data collections
- **Filtering & Sorting**: Implement advanced filtering and sorting capabilities
- **Pagination**: Handle large datasets with pagination
- **Search Functionality**: Implement search and filter mechanisms
- **Data Validation**: Ensure data integrity and validation

### 4. User Interface Development
- **Responsive Design**: Create interfaces that work across devices
- **Accessibility**: Implement WCAG compliance and keyboard navigation
- **User Experience**: Optimize for intuitive user interactions
- **Performance**: Ensure fast loading and smooth interactions
- **Cross-browser**: Ensure compatibility across browsers

## XML Configuration

### Component Definition
```xml
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <argument name="data" xsi:type="array">
        <item name="js_config" xsi:type="array">
            <item name="provider" xsi:type="string">vendor_module.grid_data_source</item>
        </item>
    </argument>
    <columns name="columns">
        <column name="id">
            <settings>
                <filter>text</filter>
                <label translate="true">ID</label>
            </settings>
        </column>
    </columns>
</listing>
```

### Form Configuration
```xml
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <fieldset name="general">
        <field name="name">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="label" xsi:type="string" translate="true">Name</item>
                    <item name="dataType" xsi:type="string">text</item>
                    <item name="validation" xsi:type="array">
                        <item name="required-entry" xsi:type="boolean">true</item>
                    </item>
                </item>
            </argument>
        </field>
    </fieldset>
</form>
```

## Data Providers

### Collection Data Provider
- Implement `\Magento\Framework\View\Element\UiComponent\DataProvider\DataProviderInterface`
- Create efficient data collections
- Handle filtering, sorting, and pagination
- Optimize database queries

### Form Data Provider
- Load and save form data
- Handle form field dependencies
- Implement data validation
- Manage form state

## KnockoutJS Templates

### Template Development
- Create KnockoutJS templates for component rendering
- Implement data binding
- Handle user interactions
- Manage component state

### Data Binding
- Two-way data binding
- Computed observables
- Observable arrays
- Custom bindings

## Best Practices

### Performance
- **Efficient Collections**: Optimize data collection queries
- **Lazy Loading**: Load data on demand
- **Caching**: Cache frequently accessed data
- **Pagination**: Implement proper pagination for large datasets

### Code Organization
- **Modular Structure**: Organize components in logical modules
- **Reusable Components**: Create reusable component patterns
- **Documentation**: Maintain clear component documentation
- **Testing**: Write tests for component functionality

### User Experience
- **Responsive Design**: Ensure mobile-friendly interfaces
- **Accessibility**: Implement WCAG compliance
- **Error Handling**: Provide clear error messages
- **Loading States**: Show appropriate loading indicators

## References

- [Adobe Commerce UI Components](https://developer.adobe.com/commerce/frontend-core/ui-components/)
- [KnockoutJS Documentation](https://knockoutjs.com/)
- [UI Component Guide](https://developer.adobe.com/commerce/frontend-core/guide/ui-components/)

Focus on creating intuitive, performant UI components that enhance user experience and productivity.

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

Похожие скиллы

Все скиллы по теме «Фронтенд и UI» →
hyva-ui-component hyva-themes Скилл hyva-ui-component переносит шаблонные UI-компоненты Hyvä в выбранную тему. Он помогает выбрать компонент, вариант, зависимости и файлы для копирования. CX Codex +1 1 300установок laravel-blade-component-patterns iSerter Скилл laravel-blade-component-patterns обучает агента лучшим практикам создания компонентов Laravel Blade: от анонимных шаблонов до классовых компонентов со слотами и мешком атрибутов. CX Codex +1 121установок hyva-cms-component hyva-themes Скилл hyva-cms-component ведёт по шагам создания кастомного компонента Hyvä CMS для Magento 2: модуль, поля, шаблон PHTML и setup:upgrade. CX Codex +1 786установок animated-component-libraries freshtechbro Скилл animated-component-libraries помогает добавлять готовые анимированные React-компоненты из Magic UI и React Bits. Пригодится при вёрстке лендингов, дашбордов и промо-страниц без ручной сборки анимаций на Framer Motion. CX Codex +1 3 200установок design-component plugin87 Скилл design-component для Claude Code создаёт спецификации интерфейсных компонентов по дизайн-системе. Документирует анатомию, размеры, доступность и все восемь состояний элемента перед написанием кода. CX Codex +1 604установок component-reuse-planner ShuaiMXu Скилл component-reuse-planner для Claude Code решает, переиспользовать ли существующий компонент, расширить его или создать новый. Анализ опирается на реестр компонентов проекта и их статусы. CX Codex +1 ★ 529звёзд репо

Из того же набора30

Весь набор →
magento-api-developer Скилл magento-api-developer помогает агенту проектировать и писать API для Magento 2: сервисные контракты, DTO, REST-контроллеры, GraphQL-резолверы и тесты. CX Codex +1 259установок magento-security-analyst Скилл magento-security-analyst разбирает безопасность магазина на Magento 2 по слоям и подсказывает, что закрыть: код, конфигурацию, зависимости, подготовку к PCI DSS и GDPR. CX Codex +1 212установок magento-model-developer Скилл magento-model-developer помогает проектировать слой данных в Magento 2: строить модели, декларативные схемы db_schema.xml, репозитории и коллекции под EAV или плоские таблицы. CX Codex +1 210установок magento-feature-developer Скилл magento-feature-developer помогает проектировать и внедрять бизнес-функции для Magento 2: от сервисных контрактов и интеграций до тестов. Пригодится при создании модулей и расширении существующей функциональности. CX Codex +1 207установок magento-catalog-specialist Скилл magento-catalog-specialist помогает анализировать структуру каталога Magento 2, проверять состояние индексов, остатки на складах и атрибуты товаров. CX Codex +1 200установок magento-configuration-specialist Скилл magento-configuration-specialist разбирает системную конфигурацию Magento 2 по скоупам store, website и default, достаёт значения настроек и проверяет оплату, доставку и налоги. CX Codex +1 190установок magento-order-specialist Скилл magento-order-specialist для Claude Code разбирает заказы и их обработку в Magento 2: платежи, статусы, доставку и возвраты. Ищет сбои и узкие места. CX Codex +1 184установок magento-index-analyst Скилл magento-index-analyst для Claude Code разбирает индексацию Magento 2: переиндексацию, настройку Elasticsearch и индексы в базе. Разбирает медленную работу каталога и поиска. CX Codex +1 179установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой