Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

magento-ui-component-developermagento ui 组件开发人员

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

2,072

周安装

83

GitHub Stars

9

下载量

671
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:magento-ui-component-developer(magento ui 组件开发人员)
来源仓库:https://github.com/maxnorm/magento2-agent-skills
仓库路径:skills/magento-ui-component-developer
安装命令:
npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-ui-component-developer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-ui-component-developer

简介

magento-ui-component-developer 用于辅助界面设计、视觉规范和交互体验优化。

  • 适合让 Agent 根据产品场景整理页面结构、生成 UI 方案或改进组件层级。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及页面改动时应通过截图预览检查效果。
  • 该技能适用于 Magento 2 UI 组件设计与前端开发支持场景。

SKILL.md

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

<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

<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

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.07%
按下载量换算249

Claude

28.11%
按下载量换算189

Cursor

18.79%
按下载量换算126

Gemini CLI

8.17%
按下载量换算55

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills