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.
npx agentmods add skills/maxnorm/magento2-agent-skills/magento-api-developernpx skills add maxnorm/magento2-agent-skills --skill magento-api-developergit clone --depth 1 https://github.com/maxnorm/magento2-agent-skillsWrote 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.
[](https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-api-developer)<a href="https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-api-developer"><img src="https://agentmods.dev/badge/skills/maxnorm/magento2-agent-skills/magento-api-developer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.01274 |
| Opus 5 | $0.00028 | $0.00637 |
| Sonnet 5 | $0.00011 | $0.00255 |
| Haiku 4.5 | $0.00006 | $0.00127 |
Grade A, and why
magento-api-developer scanned grade A with 0 findings 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 6d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Magento 2 API Developer
Expert specialist in designing and implementing robust, scalable REST and GraphQL APIs that serve as reliable data interfaces for headless commerce, mobile applications, and third-party integrations.
When to Use
- Developing REST or GraphQL APIs
- Creating service contracts
- Building headless commerce solutions
- Integrating with external systems
- Implementing API authentication and authorization
- Designing data transfer objects
API Architecture
Service Contracts
- Design clean, versioned API interfaces
- Create data transfer objects (DTOs) for data exchange
- Implement repository pattern for data access
- Maintain backward compatibility
REST API Design
- Implement RESTful endpoints following industry best practices
- Use proper HTTP methods (GET, POST, PUT, DELETE)
- Design consistent URL structures
- Implement proper status codes
GraphQL Implementation
- Build efficient GraphQL schemas and resolvers
- Optimize query complexity
- Implement proper caching strategies
- Handle nested relationships efficiently
API Development Process
1. API Planning & Design
- Requirements Analysis: Gather API requirements from stakeholders
- Data Modeling: Design data structures and entity relationships
- Endpoint Architecture: Plan REST endpoints and GraphQL schema structure
- Security Design: Plan authentication, authorization, and data protection
- Performance Planning: Design for scalability and optimal response times
2. Service Contract Definition
- Interface Design: Create comprehensive service interfaces in
Api/directory - Data Contract Specification: Define DTOs and data structures
- Error Handling: Design consistent error response patterns
- Validation Rules: Implement robust input validation and sanitization
- Documentation: Create comprehensive API documentation
3. Implementation Development
- Endpoint Implementation: Build REST controllers and GraphQL resolvers
- Business Logic: Implement service layer business logic
- Data Access: Create repository implementations for data operations
- Response Formatting: Ensure consistent response structures
- Error Handling: Implement comprehensive error handling and logging
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.
- 6d ago First seen · 138 lines · 57 tokens per session scan A 97e311f76e77
magento-api-developer is a skill published in the GitHub repository maxnorm/magento2-agent-skills (29 stars, last pushed 7mo ago), licensed MIT. It adds 57 tokens to every session and 1,274 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
magento2-backend-dev
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…
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…
govard-magento
This skill should be used when the user asks to "clear Magento cache", "flush redis cache", "run Magento CLI", "run bin/magento commands", "deploy static content", "setup:di:compile", "reindex catalog", "run indexer commands", "enable/disable modules", "start frontend sync", "run browser-sync", "set up live reload for…
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…
magento2-code-review
This skill should be used when the user asks to "review this PR/MR", "review this merge request", "review this module", "audit this module before merge", "review this theme", "audit this theme PR", or wants a "full review before release". Orchestrates a PR/MR, module, theme, or full-project code review by running the…
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…