magento2-backend-dev

magento2-backend-dev is a skill for Claude Code from ddtcorex/maestro-skills. It costs 114 tokens per session (4,179 once invoked), scanned A, original, MIT.

A development guide for Magento 2 server-side features, including REST, SOAP, and GraphQL APIs, command-line commands, scheduled jobs, message queues, and data providers.

In plain words
What is it for?
Use it to create API endpoints, GraphQL resolvers, CLI commands, cron jobs, queue processing, SOAP services, or data providers.
Why use it?
It helps implement backend features using Magento's required service, dependency-injection, and security conventions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex; mentions OpenCode.

Part of the maestro-skills plugin — 31 skills shipped together

Good fit Use it to create API endpoints, GraphQL resolvers, CLI commands, cron jobs, queue processing, SOAP services, or data providers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ddtcorex/maestro-skills/magento2-backend-dev
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ddtcorex/maestro-skills --skill magento2-backend-dev
Clone the repo
git clone --depth 1 https://github.com/ddtcorex/maestro-skills

Made for: Claude Code.

Or install maestro-skills, the plugin that ships this one along with the rest of its 31 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for magento2-backend-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/magento2-backend-dev/github.svg)](https://agentmods.dev/skills/ddtcorex/maestro-skills/magento2-backend-dev)
Your own site
<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/magento2-backend-dev"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/magento2-backend-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for magento2-backend-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/ddtcorex/maestro-skills/magento2-backend-dev"><img src="https://agentmods.dev/badge/skills/ddtcorex/maestro-skills/magento2-backend-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.04179
Opus 5 $0.00057 $0.02090
Sonnet 5 $0.00023 $0.00836
Haiku 4.5 $0.00011 $0.00418

Measured 8d ago against content hash 2b336b9f3c3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

magento2-backend-dev scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X GET "http://localhost/V1/vendor/product/1" \
skills/magento2-backend-dev/SKILL.md · 594 lines

How it starts

The opening of the file, as written. The whole thing — 594 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Magento 2 Backend Developer

This skill covers API development (REST, SOAP, GraphQL), CLI commands, cron jobs, and message queues.

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
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 $id): self;

    /**
     * @return string
     */
    public function getName(): string;

    /**
     * @param string $name
     * @return self
     */
    public function setName(string $name): self;

    // ... other getters/setters
}

PHPDoc is not optional here: the REST serializer reads @param/@return/@throws PHPDoc on Api/ interfaces via reflection to build the request/response schema — a type hint alone is not enough for the WebAPI framework to expose the field correctly.

Read the full file on GitHub · 594 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 594 lines · 114 tokens per session scan A 2b336b9f3c3c

Subscribe to this mod's changes

magento2-backend-dev is a skill published in the GitHub repository ddtcorex/maestro-skills (4 stars, last pushed 4d ago), licensed MIT. It adds 114 tokens to every session and 4,179 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

magento-agent-amqp

Autonomously diagnose Magento 2 message queue problems — backlog growth, stuck consumers, broker connectivity, DLQ overflow — and scaffold new queues (communication, topology, consumer, publisher) from a specification. Produces an AMQP Report with root cause and fix.

furan917/magento-ai-toolkit · 59 tokens

magento-agent-api-builder

Autonomously generate a complete Magento 2 REST or GraphQL API from a plain-language spec — service contracts, repository, webapi.xml, and GraphQL schema with resolvers.

furan917/magento-ai-toolkit · 43 tokens

magento-agent-module-generator

Autonomously generate a complete, production-ready Magento 2 module from a plain-language spec — all files, directory structure, service contracts, and database schema.

furan917/magento-ai-toolkit · 38 tokens

magento-amqp

Configure Magento 2 message queues with AMQP (RabbitMQ, AmazonMQ), DB adapter, and all four required XML files. Use when building async processing, bulk operations, or decoupled architectures.

furan917/magento-ai-toolkit · 46 tokens

magento-api

Create Magento 2 REST and GraphQL API endpoints following service contract patterns. Use when building APIs, webapi.xml routes, or GraphQL resolvers.

furan917/magento-ai-toolkit · 35 tokens

magento-cache

Build and manage custom Magento 2 cache types using TagScope, cache.xml, and cache tags. Use when creating cacheable data structures, custom cache identifiers, or diagnosing cache invalidation issues.

furan917/magento-ai-toolkit · 43 tokens