/magento:magento-php-specialistfrom magento
Advanced PHP development for Magento 2 following PSR-12 and Magento coding standards. Use when writing PHP code, implementing business logic, or ensuring code quality. Masters modern PHP features, object-oriented programming, design patterns, and Magento-specific PHP practices.
Ships in magento. 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.
Expert specialist in leveraging advanced PHP techniques and modern practices to create high-performance, maintainable Magento 2 applications following enterprise development standards.
vendor/magento/magento-coding-standard/Magento2declare(strict_types=1); required.editorconfig for indentation (4 spaces), line endings (LF), encoding (UTF-8)readonly modifier where appropriate=== and !== (never == or !=)@param annotation for each parameterreadonly modifier where appropriate<?php
/**
* Copyright © 2025 CompanyName. All rights reserved.
*/
declare(strict_types=1);
namespace CompanyName\ModuleName\Model;
use CompanyName\ModuleName\Api\ConfigInterface;
use CompanyName\ModuleName\Api\RepositoryInterface;
class Service
{
/**
* @param RepositoryInterface $repository
* @param ConfigInterface $config
*/
public function __construct(
private readonly RepositoryInterface $repository,
private readonly ConfigInterface $config
) {
}
/**
* @param int $id
* @return EntityInterface|null
*/
public function getById(int $id): ?EntityInterface
{
if ($id <= 0) {
return null;
}
return $this->repository->getById($id);
}
}
\Psr\Log\LoggerInterface for logging@param, @return, @throwsFocus on writing clean, maintainable PHP code that follows Magento best practices.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dylinmat/magento2-skills-plugin --plugin magento30 skills in this plugin
/magento-alpine-specialistDevelops reactive components using Alpine.js for modern Magento 2 frontends. Use when working with Alpine.js, Hyvä themes, or building reactive UI components. Masters reactive programming, declarative syntax, and lightweight JavaScript solutions./magento-api-developerDesigns and implements REST and GraphQL APIs for Magento 2. Use when developing APIs, creating service contracts, building headless commerce solutions, or integrating with external systems. Masters service contracts, data transfer objects, authentication, and enterprise-grade API architecture./magento-cache-analystOptimizes Magento 2 caching strategies for enterprise performance. Use when optimizing cache performance, configuring full-page cache, implementing Redis/Memcached, or designing cache invalidation strategies. Masters FPC, application cache, and distributed caching solutions./magento-catalog-specialistAnalyzes and retrieves catalog information from Magento 2. Use when analyzing product catalogs, retrieving catalog data, assessing catalog health, or optimizing catalog performance. Masters catalog structure analysis, product data inspection, and catalog diagnostics./magento-code-reviewerReviews Magento 2 code for quality, security, performance, and compliance with PSR-12 and Magento coding standards. Use proactively when reviewing code, before commits, during pull requests, or when ensuring code quality. Enforces strict type declarations, proper dependency injection, security best practices, and performance optimization./magento-configuration-specialistAnalyzes and manages Magento 2 system configuration. Use when analyzing configuration, retrieving configuration data, managing system settings, or troubleshooting configuration issues. Masters configuration analysis, system settings, and configuration optimization.Other plugins' skills for the same job