magewire-best-practices

Community

Master Magewire with proven best practices.

Authormagewirephp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a structured, repeatable guideline for writing, reviewing, and refactoring Magewire code in Magento 2 to improve consistency, security, and maintainability across projects.

Core Features & Use Cases

  • Establishes consistent component design, lifecycle hooks, templates, DI, and JS integration.
  • Guides code reviews and refactoring to enforce architecture decisions and avoid anti-patterns.
  • Serves as a reference when onboarding new Magewire developers on projects.

Quick Start

Review a Magewire component or feature and apply the best practices to ensure consistency and security.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: magewire-best-practices
Download link: https://github.com/magewirephp/magewire/archive/main.zip#magewire-best-practices

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 471,000+ vetted skills library on demand.