/magento2-commerce:magento-frontendfrom magento2-commerce
Builds Magento 2 frontend components: layout XML, blocks, PHTML templates, ViewModels, themes, RequireJS/KnockoutJS, and LESS/CSS. Use when customizing the storefront or building themes.
Ships in magento2-commerce. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch live docs:
site:developer.adobe.com commerce frontend-core for frontend development guidehttps://developer.adobe.com/commerce/frontend-core/guide/css/preprocess for CSS/LESS docssite:developer.adobe.com commerce frontend-core guide layouts for layout XML referencesite:developer.adobe.com commerce frontend-core guide templates for template guideLayout files map to route handles and define the page structure:
<route>_<controller>_<action>.xml (e.g., catalog_product_view.xml)default.xml — applies to all pages<referenceContainer> — modify an existing container<referenceBlock> — modify an existing block<block> — add a new block with class, template, name<move> — relocate a block/container<referenceBlock name="block_name" remove="true"/> — remove a block (or use <referenceContainer> for containers). Note: there is no standalone <remove> element for blocks; the remove="true" attribute is set on <referenceBlock> or <referenceContainer>.<update> — include another layout handle<arguments> — pass data to blocksview/frontend/layout/ or view/adminhtml/layout/Magento_Module/layout/Magento\Framework\View\Element\Template$block->someMethod() in PHTML templatesview/frontend/templates/ or theme overrides.phtml extension$block, escape output: $escaper->escapeHtml()MVVM pattern — inject ViewModels into blocks via layout XML arguments:
Magento\Framework\View\Element\Block\ArgumentInterface$viewModel = $block->getData('view_model');requirejs-config.js — maps module aliases, mixins, shimsview/frontend/web/ or view/frontend/requirejs-config.jsko.bindingHandlersview/frontend/web/template/ (.html files)Extend existing JS modules without overriding:
requirejs-config.js under config.mixinsCustom widgets extend $.widget:
data-mage-init attribute or <script type="text/x-magento-init">app/design/frontend/VendorName/theme-name/
├── etc/view.xml # Image sizes, responsive breakpoints
├── registration.php # Theme registration
├── theme.xml # Theme name, parent
├── composer.json
├── Magento_Module/ # Module overrides
│ ├── layout/ # Layout XML overrides
│ └── templates/ # Template overrides
├── web/
│ ├── css/source/ # LESS source files
│ ├── images/
│ └── js/
└── media/preview.jpg
Themes declare a parent in theme.xml. Fallback chain: current theme → parent theme → module views → framework. Override files by placing them in the same relative path.
Open source since late 2025. Replaces KnockoutJS + RequireJS + jQuery with Alpine.js + Tailwind CSS. Dramatically faster: ~5 requests vs ~230, ~0.4MB vs ~3MB page weight.
@magento_import directive for theme fallback_variables.less, overridden per theme$escaper->escapeHtml(), escapeUrl(), escapeJs() for XSS preventionFetch the frontend development guide for exact layout XML schema, template escaping methods, and RequireJS configuration patterns before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
magento-frontend, layout-xml, knockoutjs, requirejs, phtml-templates, viewmodels
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin magento2-commerce19 skills in this plugin
/magento-admin-uiBuild 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./magento-apiBuild Magento 2 REST and GraphQL APIs — webapi.xml, schema.graphqls, resolvers, authentication, and ACL. Use when creating custom API endpoints, extending the GraphQL schema, or integrating external systems./magento-catalogWork with Magento 2 catalog — product types, categories, attributes, indexing, and search integration. Use when building catalog features, customizing product types, or working with the catalog architecture./magento-checkoutCustomize Magento 2 checkout — payment methods, shipping carriers, totals collectors, and checkout UI. Use when building custom payment/shipping integrations or modifying the checkout flow./magento-deployDeploy Magento 2 — deployment modes, static content deployment, DI compilation, CLI commands, zero-downtime strategies, and CI/CD pipeline setup. Use when preparing for production deployment or building deployment automation./magento-diConfigure Magento 2 dependency injection — di.xml, types, virtual types, preferences, argument replacement, and Object Manager. Use when wiring dependencies, creating class variations, or configuring module integrations.Other plugins' skills for the same job