Magento Php Specialist
Strict Magento 2 PHP coding standards guide that enforces PSR-12, strict typing, and typed, DI-driven code.
- CCM score
- 34 of 100
- skills.sh installs
- 271
- GitHub stars
- 34
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers PSR-12 and Magento2 Coding Standard compliance, plus EditorConfig rules for 4-space indentation, LF line endings, and UTF-8
- Enforces
declare(strict_types=1), full type hints, strict comparisons, and@paramPHPDoc on constructors - Promotes modern PHP patterns: constructor property promotion,
readonlyproperties, union types, match expressions, and named arguments - Designed for Magento 2 developers writing business logic, service contracts, repositories, plugins, and observers
Install
$ npx -y skills add maxnorm/magento2-agent-skills --skill magento-php-specialist -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Magento 2 PHP Specialist
Expert specialist in leveraging advanced PHP techniques and modern practices to create high-performance, maintainable Magento 2 applications following enterprise development standards.
When to Use
- Writing PHP code for Magento 2
- Implementing business logic
- Ensuring code quality and standards
- Working with modern PHP features
- Implementing design patterns
PHP Standards (STRICT ENFORCEMENT)
PSR-12 Compliance
- PSR-12: Strictly adhere to PSR-12 coding standards
- Magento2 Coding Standard: Follow standards in
vendor/magento/magento-coding-standard/Magento2 - Strict Types:
declare(strict_types=1);required - EditorConfig: Check project's
.editorconfigfor indentation (4 spaces), line endings (LF), encoding (UTF-8)
Details
- Repository
- github.com/maxnorm/magento2-agent-skills
- Categories
- PHP & Laravel, Backend & APIs, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the magento-php-specialist skill do?
It guides an agent writing PHP for Magento 2 to follow PSR-12 and Magento coding standards, including strict types, type-hinted parameters and return types, and constructor property promotion. It also covers business logic, object-oriented design, and Magento patterns such as service contracts, repositories, factories, plugins and observers.
How do I install the magento-php-specialist skill?
Run npx -y skills add maxnorm/magento2-agent-skills --skill magento-php-specialist -y inside your project. Once installed, the agent applies these Magento PHP standards when it writes or reviews PHP code.
Who is the magento-php-specialist skill for?
It is for developers building or maintaining Magento 2 applications who want PHP code that follows enterprise standards. It suits work on custom modules, service classes and other server-side logic where code quality and type safety matter.
Where does magento-php-specialist rank among PHP and Laravel skills?
On Claude Marketplaces' PHP and Laravel category page it ranks in the top 100. Its focus is Magento 2 PHP standards, which set it apart from the Laravel-oriented skills it sits alongside in that category.
More from maxnorm/magento2-agent-skills
All 5Similar to Magento Php Specialist
More PHP & Laravelphp-developmentmindrally/skills1.2K installsExpert PHP 8+ guidance covering SOLID design, PSR standards, typing, security, and testing conventions.
php-projeffallan/claude-skills16.7K installsSenior PHP specialist for PHP 8.3+, Laravel, and Symfony that enforces strict typing and PHPStan level 9.
magento-module-developermaxnorm/magento2-agent-skills465 installsExpert guide for building Magento 2 modules with service contracts, repositories, and dependency injection.
laravel-developmentmindrally/skills974 installsExpert Laravel guidance that applies SOLID principles, PSR-12 style, and Laravel conventions to PHP code.
php-best-practicesasyrafhussin/agent-skills4K installsPHP 8.x modern patterns, PSR standards, and SOLID rules for reviewing and auditing PHP code.
spatie-laravel-phpspatie/guidelines-skills1.5K installsOpinionated Laravel and PHP coding standards for controllers, models, routes, Blade, and tests, aligned with PSR-12.