$npx skillfedfor your agent

magento-php-specialist

This skill guides you through advanced PHP development for Magento 2, enforcing PSR-12 compliance and Magento coding standards throughout. It covers modern PHP practices including constructor property promotion, strict typing, and SOLID principles, alongside Magento-specific patterns like service contracts and repositories.

Magento PHP Specialist writes production-grade PHP for Magento 2 following PSR-12 and enterprise coding standards.

AI-generated summary based on this skill's SKILL.md

26 4 MITupdated by maxnorm

Decision gist · record as of 2026-01-24

Magento PHP Specialist writes production-grade PHP for Magento 2 following PSR-12 and enterprise coding standards. This skill guides you through advanced PHP development for Magento 2, enforcing PSR-12 compliance and Magento coding standards throughout. It covers modern PHP practices including constructor property promotion, strict typing, and SOLID principles, alongside Magento-specific patterns like service contracts and repositories.

manual: git clone https://github.com/maxnorm/magento2-agent-skills → cp -r magento2-agent-skills/skills/magento-php-specialist ~/.claude/skills/magento-php-specialist
skills/magento-php-specialist/SKILL.md · version 5a61d3cc

Use it when

  • magento-php-specialist ensures code quality through type safety, strict comparisons, and modern PHP features.
  • magento-php-specialist covers Magento-specific patterns including service contracts, repository pattern, plugin pattern.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

maxnorm/magento2-agent-skills/magento-php-specialist

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What does magento-php-specialist help me build?

magento-php-specialist guides you through advanced PHP development for Magento 2, enforcing PSR-12 compliance and Magento coding standards. It covers modern PHP practices including constructor property promotion, strict typing, and SOLID principles, alongside Magento-specific patterns like service contracts and repositories.

How does magento-php-specialist ensure code quality?

magento-php-specialist ensures code quality through type safety, strict comparisons, and modern PHP features. It applies SOLID principles, enforces strict types, and guides proper type hinting to maintain enterprise-grade standards across your Magento 2 codebase.

What Magento-specific patterns does this skill cover?

magento-php-specialist covers Magento-specific patterns including service contracts, repository pattern, plugin pattern, and dependency injection. These patterns align with Magento 2 architecture and enable maintainable, scalable business logic implementation.

Can magento-php-specialist help with PSR-12 coding standards?

Yes, magento-php-specialist specializes in PSR-12 coding standards for Magento 2. It guides production-grade PHP code development following PSR-12 and enterprise standards, ensuring your code meets industry best practices and Magento requirements.

Does magento-php-specialist support advanced PHP features?

magento-php-specialist supports advanced PHP features including constructor property promotion, strict types, and modern language capabilities. It helps you leverage these features while maintaining OOP design patterns and enterprise-level code quality.

How can I use magento-php-specialist for code review?

magento-php-specialist can refactor or review your PHP code for standards compliance and maintainability. It evaluates your implementation against PSR-12, Magento best practices, and SOLID principles to identify improvements and ensure enterprise-grade quality.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

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 .editorconfig for indentation (4 spaces), line endings (LF), encoding (UTF-8)
Code Structure Requirements
  • Opening Braces: Classes and methods must

(truncated - see the full file via the links below)

File tree — 1 file
skills/magento-php-specialist/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Write production-grade PHP code for Magento 2 following PSR-12 and enterprise standards”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

php-development
by Mindrally · Mindrally/skills

PHP Development provides expert guidance for building robust applications using PHP 8.1+ with strict typing, SOLID principles, and PSR standards. Learn proper code organization through dependency injection, repository patterns, and comprehensive error handling. The skill emphasizes type declarations, security practices, and testing strategies to ensure maintainable, scalable code.

Apache-2.0updated Jun 2026
★ 202repo stars
php-best-practices
by AsyrafHussin · AsyrafHussin/agent-skills

PHP Best Practices audits your code against 51 rules covering type systems, modern PHP 8.x features, PSR standards, SOLID principles, error handling, performance, and security. It detects your project's PHP version and applies only relevant guidance, from union types and match expressions in 8.0 through property hooks and the pipe operator in 8.4+.

MITupdated May 2026
★ 58repo stars
php-specialist
by Pixel-Process-UG · Pixel-Process-UG/superkit-agents

PHP Specialist guides you through modern PHP 8.x development with language features like enums, readonly properties, and match expressions. It covers the complete toolchain: PSR interoperability, Composer dependency management, static analysis configuration, and coding standards enforcement. Apply it whenever you're authoring, reviewing, or refactoring PHP code to ensure type safety and architectural correctness.

MITupdated Mar 2026
★ 1repo stars
Php Modernization
by netresearch · netresearch/php-modernization-skill

Upgrade legacy PHP projects to current language standards using PHP 8.1+ features, strict typing, and modern patterns. This skill guides you through static analysis configuration, automated refactoring with Rector, code style fixes, and architectural improvements like DTOs and enums. It enforces best practices across PSR compliance, PHPStan levels, and framework-specific patterns while protecting critical code from unsafe transformations.

no license declared → metadata onlyupdated Jul 2026
★ 36repo stars
Php Modernization
by dirnbauer · dirnbauer/webconsulting-skills

Upgrade legacy PHP projects to current language versions and coding standards. This skill guides you through type declarations, PSR/PER-CS compliance, static analysis setup, and modern patterns like DTOs and enums. It covers PHP 8.1 through 8.5 features, Rector automation, PHPStan configuration, and framework-specific edges.

no license declared → metadata onlyupdated Jul 2026
★ 33repo stars
php-pro
by Jeffallan · Jeffallan/claude-skills

PHP Pro is a senior-level specialist for modern PHP development with Laravel, Symfony, and PHP 8.3+. It enforces strict typing, dependency injection, and PSR compliance while generating typed DTOs, services, controllers, and comprehensive tests. Every implementation passes PHPStan level 9 and PHPUnit/Pest coverage thresholds before delivery.

MITupdated May 2026
★ 10,759repo stars
Tags
enterprise-php-developmentmagento-ecosystemcode-standards-enforcementobject-oriented-patternstype-safe-programmingdependency-managementservice-layer-architecturepsr-compliance