/magento2-commerce:magento-eav-attributesfrom magento2-commerce
Creates and manages Magento 2 EAV attributes, attribute sets, and groups via data patches. Use when adding product/category/customer attributes or working with the EAV data model.
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 php development components attributes for attribute development guidesite:developer.adobe.com commerce php tutorials backend custom-attributes for attribute creation tutorialmagento 2 EAV attribute data patch for current patterns using data patchesEntity-Attribute-Value is Magento's flexible storage pattern. Instead of one column per attribute, values are stored in separate typed tables. This allows merchants to add unlimited attributes without schema changes.
Four entity types use EAV:
catalog_product_entity)catalog_category_entity)customer_entity)customer_address_entity)Each entity has typed value tables:
*_entity — base entity table (entity_id, sku, type_id, etc.)*_entity_varchar — short text values*_entity_int — integer values (including boolean, select)*_entity_decimal — decimal/price values*_entity_datetime — date/time values*_entity_text — long text valuesKey properties when creating attributes:
The modern approach uses Data Patches with EavSetupFactory:
Setup/Patch/Data/EavSetupFactory (or CategorySetupFactory for categories)$eavSetup->addAttribute() with entity type, code, and propertiesFor select/multiselect attributes, source models provide options:
Magento\Eav\Model\Entity\Attribute\Source\Boolean, TableAbstractSource, implement getAllOptions()Attributes with type static are stored as columns directly on the entity table rather than in EAV value tables. Used for frequently queried fields (e.g., sku, type_id, created_at).
int for select/boolean, decimal for pricessearchable, filterable, comparable thoughtfully — each adds indexing overheadstatic type sparingly — it modifies the entity table schemasetup:upgradeFetch the attribute development docs for exact addAttribute() parameters, source model patterns, and current entity type constants before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
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