magento2-backend-dev

Solid

This skill should be used when the user asks to "create an API endpoint", "build a REST API", "add a GraphQL resolver", "create a CLI command", "add a cron job", "set up a message queue", "implement a web API", "add a SOAP service", or "create a data provider". Covers Magento 2 backend development: REST/SOAP/GraphQL APIs, CLI commands, and cron jobs. DEPENDENT on magento2-dev-core for security and architecture patterns.

API & Backend 4 stars 2 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Magento 2 Backend Developer This skill covers API development (REST, SOAP, GraphQL), CLI commands, cron jobs, and message queues. ## Related Skills **REQUIRED BACKGROUND:** Load `magento2-dev-core` first — it defines the DI, repository, and security patterns (constructor injection, service contracts, escaping, discouraged functions) this skill assumes without repeating. Pairs with `magento2-security-scan` when the API/resolver you're building touches authentication, ACL, or user input, and with `magento2-performance-audit` for queue/consumer and N+1 concerns once the endpoint is built. In a Govard environment, use `govard-magento` for the CLI/container side (`bin/magento`, cache, indexers). ## REST API ### Service Contract Structure ``` Vendor/Module/ ├── Api/ │ ├── ProductRepositoryInterface.php # Declaration │ └── Data/ │ └── ProductInterface.php # Data entity └── Model/ └── ProductRepository.php # Implementation ``` ### Data Interface ```php <?php declare(strict_types=1); namespace Vendor\Module\Api\Data; use Magento\Framework\Api\ExtensibleDataInterface; /** * Product entity interface */ interface ProductInterface extends ExtensibleDataInterface { const ENTITY_ID = 'entity_id'; const NAME = 'name'; const SKU = 'sku'; const PRICE = 'price'; /** * @return int|null */ public function getId(): ?int; /** * @param int $id * @return self */ public function setId(int ...

Details

Author
ddtcorex
Repository
ddtcorex/dev-skills-hub
Created
4 months ago
Last Updated
3 days ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

magento2-dev-core

This skill should be used when the user is creating new Magento 2 modules or customizations, implementing features following Magento architecture, working with Dependency Injection, Repositories, or Plugins, writing secure Magento code, or building backend logic, CLI commands, or cron jobs. Foundation skill for professional Magento 2 development. This is the CORE skill that other Magento 2 skills depend on. Always load this first.

4 Updated 3 days ago
ddtcorex
Web & Frontend Solid

magento2-frontend-dev

This skill should be used when the user asks to "create a Knockout.js component", "add a UI Component", "modify layout XML", "customize a template", "write LESS CSS", "style with the Magento UI library", "add a RequireJS module", "extend JavaScript", "customize checkout", or "modify the cart page". Covers Magento 2 frontend development using the Luma/Blank theme. DEPENDENT on magento2-dev-core for backend patterns and escaping.

4 Updated 3 days ago
ddtcorex
AI & Automation Solid

magento2-security-scan

This skill should be used when the user asks to "run a security audit", "find vulnerabilities", "check for XSS", "check CSRF protection", "validate form security", "run a dependency audit", "check for outdated packages", "run a PCI compliance check", or "do a security review before deploy". Scans Magento 2 code for security vulnerabilities and compliance issues. DEPENDENT on magento2-dev-core for security patterns.

4 Updated 3 days ago
ddtcorex