admin-ui-grid

Generate Magento 2 admin grid implementation plans with UI component XML, ACL, and data provider wiring.

2|3|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/caravanglory/magehub --skill admin-ui-grid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: admin-ui-grid
Source: https://github.com/caravanglory/magehub/tree/main/skills/admin/admin-ui-grid
Command: npx skills add https://github.com/caravanglory/magehub --skill admin-ui-grid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you design and implement Magento 2 admin listing grids without missing the connected pieces that make them work, such as routing, ACL, layout, and data provisioning.

Core Features & Use Cases

  • Grid Architecture Guidance: Coordinates UI component listing XML, data provider wiring, controller actions, and layout handles into one coherent admin grid.
  • Security and Access Control: Reinforces ACL-protected admin routes through explicit ADMIN_RESOURCE usage and menu integration.
  • Implementation Workflow: Guides creation or modification of Magento admin grids, mass actions, and optional inline editing with proper validation and verification.
  • Use Case: Use it when building a new admin listing for a Magento entity, updating an existing grid, or troubleshooting a blank or miswired admin data source.

Quick Start

Use this skill to generate a complete Magento 2 admin grid implementation plan for a chosen entity, including the listing XML, controller, ACL, layout handle, and data provider wiring.

Frequently Asked Questions about admin-ui-grid

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Magento 2 admin grid with UI component XML and a data provider?

To create a Magento 2 admin grid, coordinate the UI component listing XML, data provider wiring, controller actions, and layout handles into one coherent adminhtml structure. This ensures routing, access control, and data provisioning work together.

Why does my Magento admin grid show blank data when the listing XML is configured?

A blank Magento admin grid often indicates a missing or miswired data source in the listing XML. Verify the data provider registration, controller actions, and layout handles to ensure the grid receives the entity collection correctly.

How do I add ACL protection to a Magento adminhtml grid controller?

Add ACL protection to a Magento adminhtml grid by defining the ADMIN_RESOURCE in your controller and integrating the menu entry. This enforces security and access control, restricting admin routes to authorized users.

Can I add mass actions and inline editing to a Magento admin listing grid?

Yes, you can guide the creation or modification of Magento admin grids to include mass actions and optional inline editing. Implement these features with proper validation and verification actions to maintain data integrity.

What is the best way to wire a layout handle for a custom Magento 2 admin grid?

The best way to wire a layout handle for a Magento 2 admin grid is to align it with the ACL-protected controller and the UI component listing XML. This creates a coherent admin grid implementation without missing connected pieces.