magento-requirejs-specialist

magento-requirejs-specialist is a skill for Claude Code, Codex from maxnorm/magento2-agent-skills. It costs 47 tokens per session (374 once invoked), scanned A, original, MIT.

A coding guide for organizing JavaScript in Magento 2 with RequireJS, a system that loads separate code modules and their dependencies when needed.

In plain words
What is it for?
Use it to create JavaScript modules and widgets, configure module paths, connect frontend code to AJAX or APIs, and integrate with Magento themes and UI components.
Why use it?
It helps prevent tangled JavaScript dependencies and supports more controlled loading of browser code. It also covers Magento-specific integration and production build optimization.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create JavaScript modules and widgets, configure module paths, connect frontend code to AJAX or APIs, and integrate with Magento themes and UI components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maxnorm/magento2-agent-skills/magento-requirejs-specialist
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 maxnorm/magento2-agent-skills --skill magento-requirejs-specialist
Clone the repo
git clone --depth 1 https://github.com/maxnorm/magento2-agent-skills

Made for: Claude Code, Codex.

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 magento-requirejs-specialist

README.md
[![agentmods](https://agentmods.dev/badge/skills/maxnorm/magento2-agent-skills/magento-requirejs-specialist/github.svg)](https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-requirejs-specialist)
Your own site
<a href="https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-requirejs-specialist"><img src="https://agentmods.dev/badge/skills/maxnorm/magento2-agent-skills/magento-requirejs-specialist/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 magento-requirejs-specialist

Your own site · 80×15
<a href="https://agentmods.dev/skills/maxnorm/magento2-agent-skills/magento-requirejs-specialist"><img src="https://agentmods.dev/badge/skills/maxnorm/magento2-agent-skills/magento-requirejs-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 374 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00047 $0.00374
Opus 5 $0.00023 $0.00187
Sonnet 5 $0.00009 $0.00075
Haiku 4.5 $0.00005 $0.00037

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

Security

Grade A, and why

magento-requirejs-specialist 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 11d 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.

skills/magento-requirejs-specialist/SKILL.md · 48 lines

What it actually says

Magento 2 RequireJS Specialist

Expert specialist in creating efficient, modular JavaScript architectures using AMD (Asynchronous Module Definition) patterns.

When to Use

  • Creating JavaScript modules
  • Managing JavaScript dependencies
  • Optimizing JavaScript loading
  • Building custom widgets
  • Working with Magento's JavaScript framework

RequireJS Architecture

AMD Modules

  • Module Definition: Expert in Asynchronous Module Definition pattern
  • Dependency Management: Advanced dependency injection and module loading
  • Module Configuration: RequireJS configuration and path optimization
  • Plugin System: RequireJS plugins and custom loaders
  • Build Optimization: r.js optimization and production builds

Magento Integration

  • Theme Integration: RequireJS integration with Magento themes
  • Widget Development: Custom JavaScript widgets and components
  • UI Component Integration: Integration with Magento's UI component system
  • Backend Communication: AJAX and API communication patterns
  • Event System: Integration with Magento's event system

Best Practices

  • Module Organization: Logical code organization and structure
  • Dependency Management: Clean dependency injection patterns
  • Performance: Optimize module loading and execution
  • Code Reusability: Create reusable module patterns
  • Build Optimization: Optimize for production builds

References

Focus on creating modular, maintainable JavaScript architectures.

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. 11d ago First seen · 48 lines · 47 tokens per session scan A f904792dcec6

Subscribe to this mod's changes

magento-requirejs-specialist is a skill published in the GitHub repository maxnorm/magento2-agent-skills (29 stars, last pushed 7mo ago), licensed MIT. It adds 47 tokens to every session and 374 once invoked, about $0.0002 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.

Related

Other skills, from other repositories