/magento2-commerce:magento-module-devfrom magento2-commerce
Creates Magento 2 custom modules covering registration, directory structure, models, resource models, collections, declarative schema, and data/schema patches. Use when building new modules or understanding module architecture.
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:
https://developer.adobe.com/commerce/php/development/ for module structurehttps://developer.adobe.com/commerce/php/development/ for development overviewsite:developer.adobe.com commerce php development build for build guidesapp/code/VendorName/ModuleName/
├── Api/ # Service contract interfaces
│ └── Data/ # Data interfaces
├── Block/ # View blocks
├── Console/ # CLI commands
├── Controller/ # Controllers
│ └── Adminhtml/ # Admin controllers
├── Cron/ # Cron job classes
├── etc/ # Configuration XML
│ ├── adminhtml/ # Admin-area configs
│ ├── frontend/ # Frontend configs
│ ├── module.xml # Module declaration
│ ├── di.xml # Dependency injection
│ ├── db_schema.xml # Declarative schema
│ └── db_schema_whitelist.json
├── Helper/ # Utility classes
├── Model/ # Models
│ └── ResourceModel/ # Resource models + collections
├── Observer/ # Event observers
├── Plugin/ # Interceptor classes
├── Setup/
│ └── Patch/
│ ├── Data/ # Data patches
│ └── Schema/ # Schema patches
├── Test/ # Tests
├── ViewModel/ # MVVM view models
├── view/ # Templates, layouts, JS, CSS
├── registration.php # Module registration
└── composer.json # Composer definition
Registers the module with Magento's component registrar. Uses ComponentRegistrar::register() with type MODULE.
Declares the module name and sequence dependencies (modules that must load before this one).
Package definition with type magento2-module, PSR-4 autoload mapping, and Magento module dependencies.
AbstractModel, represents a single entity, _construct() initializes resource modelAbstractDb, handles CRUD against a specific table, _init() sets table and primary keyAbstractCollection, represents a set of models, _init() maps model to resource modelSince Magento 2.3+, database schema is declared in XML rather than install/upgrade scripts. The system computes diffs and applies changes automatically on setup:upgrade.
DataPatchInterface or SchemaPatchInterfaceapply() method contains the migration logicpatch_list tableConsole commands extend Symfony\Component\Console\Command\Command:
etc/di.xml as arguments to Magento\Framework\Console\CommandListInterfaceconfigure() for name/description and execute() for logicVendorName_ModuleName naming conventionmodule.xml sequenceApi/Fetch the component file structure guide for exact directory conventions and required files before creating a module.
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