What problem does it solve? Extending Magento 2 without breaking core functionality requires deep knowledge of its module architecture, DI container, and event system. This Skill guides the creation of custom Magento 2 modules that follow platform conventions, avoiding class rewrites, legacy schema scripts, and direct Object Manager usage. ## Core Features & Use Cases - Module Scaffolding: Generates the complete app/code/Vendor/Module skeleton with registration.php, module.xml sequences, and proper namespace structure. - Service Contracts & DI: Implements Api/ interfaces, repositories, and di.xml preferences so other modules and REST/GraphQL integrations can depend on stable contracts. - Plugins, Observers & Schema: Covers before/after/around plugins, event observers with safe error handling, declarative db_schema.xml tables, and webapi.xml REST endpoints. - Use Case: A retailer needs a loyalty program module tracking member tiers and points. Use this Skill to scaffold the module, define the membership repository interface, create the database table declaratively, and expose it via REST API. ## Quick Start Create a Magento 2 module called Acme_Loyalty with a membership entity, service contracts, declarative schema, and a REST endpoint to list members.