magento-di

Official

Configure Magento 2 dependency injection.

AuthorOrcaQubits
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the complex process of configuring Magento 2's dependency injection system, ensuring that your application's components are wired together correctly and efficiently.

Core Features & Use Cases

  • Dependency Configuration: Define and manage di.xml files for various Magento areas (global, frontend, adminhtml, webapi).
  • Component Wiring: Set up preferences, virtual types, and argument replacements to customize class behavior.
  • Use Case: When integrating a new third-party module, use this Skill to configure its services and ensure they correctly interact with Magento's core functionalities by mapping interfaces to specific implementations.

Quick Start

Use the magento-di skill to configure a preference for the interface Magento\Catalog\Api\ProductRepositoryInterface to use the class Vendor\Module\Model\ProductRepository.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: magento-di
Download link: https://github.com/OrcaQubits/agentic-commerce-claude-plugins/archive/main.zip#magento-di

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.