Magento Php Specialist
This Magento PHP Specialist provides expert knowledge for troubleshooting, development, and optimization within the Magento e-commerce platform.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add magento-php-specialist npx -- -y @trustedskills/magento-php-specialist
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"magento-php-specialist": {
"command": "npx",
"args": [
"-y",
"@trustedskills/magento-php-specialist"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides expert knowledge for developing, troubleshooting, and optimizing Magento 2 e-commerce applications using PHP. It leverages advanced PHP techniques and modern practices to create high-performance, maintainable code that adheres to enterprise development standards. The skill enforces strict coding guidelines and promotes the use of modern PHP features to ensure code quality.
When to use it
- Writing PHP code for Magento 2 projects.
- Implementing business logic within a Magento 2 application.
- Ensuring adherence to established code quality and coding standards.
- Utilizing modern PHP features in your development workflow.
- Implementing design patterns within the Magento 2 platform.
Key capabilities
- Expert knowledge of Magento 2 PHP development.
- Strict enforcement of PSR-12 coding standards.
- Adherence to the Magento Coding Standard (located in
vendor/magento/magento-coding-standard/Magento2). - Promotion of modern PHP features like constructor property promotion, readonly properties, union types, match expressions, and named arguments.
- Requirement for strict type declarations (
declare(strict_types=1);)
Example prompts
- "Write a Magento 2 module function to [specific task] following PSR-12 standards."
- "How can I implement constructor property promotion in this Magento 2 class?"
- "What is the best way to use match expressions for [scenario] within Magento 2?"
Tips & gotchas
- The skill strictly enforces PSR-12 coding standards and the Magento Coding Standard. Be prepared for feedback on code that deviates from these guidelines.
- Ensure your project includes an
.editorconfigfile as indentation, line endings, and encoding are checked against it. - Constructor PHPDoc blocks must include
@paramannotations for each parameter.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.