Magento admin ui

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Magento admin ui is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Build Magento 2 admin interfaces — UI component grids, forms, system configuration, ACL, and admin controllers. Use when creating admin panels, data grids, edit forms, or system settings.

How to use this skill

Skill file

Magento 2 Admin UI & System Configuration

Before writing code

Fetch live docs:

  1. Fetch https://developer.adobe.com/commerce/php/development/components/ for admin grid tutorial
  2. Fetch https://developer.adobe.com/commerce/php/development/ for ACL tutorial
  3. Web-search site:developer.adobe.com commerce php development components ui-components for UI component reference

Admin Grids (UI Component Listings)

How Admin Grids Work

Grids are XML-declared UI components backed by data providers. They render in the browser using KnockoutJS and load data via AJAX.

Grid XML Structure (ui_component)

Located in view/adminhtml/ui_component/<listing_name>.xml:

Data Provider

Mass Actions

Bulk operations on selected rows:

Admin Forms (UI Component Forms)

Located in view/adminhtml/ui_component/<form_name>.xml:

System Configuration

system.xml

Defines admin config fields at Stores > Settings > Configuration:

config.xml

Provides default values for system configuration fields. Path format: section/group/field.

Reading Config Values

$this->scopeConfig->getValue('section/group/field', ScopeInterface::SCOPE_STORE);

Scopes: default, website, store (store view).

ACL (Access Control List)

acl.xml

Defines resource hierarchy:

Controller ACL

Admin controllers extend Magento\Backend\App\Action:

Menu Items

Declared in etc/adminhtml/menu.xml:

Admin Controllers

Best Practices

Fetch the admin grid tutorial, ACL guide, and UI component reference for exact XML schemas and data provider patterns before implementing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.