magento-knockout-specialist — Claude Code skill
magento-knockout-specialist guides coding agents in building reactive KnockoutJS UI components and MVVM patterns for Magento 2.
MIT 168 installs ★ 33 updated 2026-01-24
npx skills add maxnorm/magento2-agent-skills --skill magento-knockout-specialist -a claude-codeWhat magento-knockout-specialist does
This skill instructs the agent on creating reactive frontend features for Magento 2 projects. It covers observable patterns, computed values, observable arrays, declarative data binding, and custom binding handlers.
The guidelines connect KnockoutJS mechanics with Magento internals, including RequireJS module loading, templates, data providers, and component communication. It emphasizes subscription cleanup and DOM update efficiency to avoid browser memory leaks.
What it helps with
- implement MVVM architecture for Magento 2 frontend
- build custom KnockoutJS binding handlers
- wire frontend components to Magento data providers
- manage observable subscriptions to prevent memory leaks
Example prompts for the agent
- Build a Magento 2 UI component using KnockoutJS observables for checkout
- Create a custom KnockoutJS binding handler with proper disposal
- Connect this component to the Magento data provider via RequireJS
How to install magento-knockout-specialist
1Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-knockout-specialist -a claude-code2Manually: put the files in place
~/.claude/skills/magento-knockout-specialist/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/magento-knockout-specialist/
1Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-knockout-specialist -a codex2Manually: put the files in place
.agents/skills/magento-knockout-specialist/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-knockout-specialist -a cursor2Manually: put the files in place
.cursor/skills/magento-knockout-specialist/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install maxnorm/magento2-agent-skills skills/magento-knockout-specialist2Manually: put the files in place
.github/skills/magento-knockout-specialist/SKILL.md1Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-knockout-specialist -a gemini-cli2Platform CLI
gemini skills install https://github.com/maxnorm/magento2-agent-skills --path skills/magento-knockout-specialistManually: put the files in place
.devin/skills/magento-knockout-specialist/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-knockout-specialist -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about magento-knockout-specialist
How to install magento-knockout-specialist in Claude Code?
Run npx skills add maxnorm/magento2-agent-skills --skill magento-knockout-specialist -a claude-code in your terminal.
What does magento-knockout-specialist do?
It provides specialized context for developing reactive UI components in Magento 2 using KnockoutJS and RequireJS.
Does this skill cover memory management?
Yes, it enforces efficient subscription disposal and observable cleanup to prevent memory bloat during DOM updates.
Source text
SKILL.md · MIT
--- name: magento-knockout-specialist description: Develops reactive UI components using KnockoutJS for Magento 2. Use when working with UI components, implementing MVVM patterns, or building interactive frontend features. Masters observable patterns, data binding, and custom bindings. --- # Magento 2 KnockoutJS Specialist Expert specialist in creating sophisticated, reactive user interfaces using Magento's KnockoutJS framework. ## When to Use - Building UI components - Implementing MVVM patterns - Creating interactive frontend features - Working with Magento UI components - Building dynamic data binding ## KnockoutJS Mastery ### MVVM Pattern - **Model-View-ViewModel**: Expert implementation of MVVM architecture - **Observable Patterns**: Advanced usage of observables, computed observables, and observable arrays - **Data Binding**: Two-way data binding and declarative binding syntax - **Custom Bindings**: Development of custom binding handlers - **Component Architecture**: Reusable component development ### Magento Integration - **UI Components**: Integration with Magento's UI component framework - **RequireJS Integration**: Module loading and dependency management - **Template System**: KnockoutJS template integration - **Data Providers**: Integration with Magento's data provider architecture - **Event System**: Event handling and inter-component communication ## Best Practices - **Memory Management**: Efficient observable management and cleanup - **Rendering Optimization**: Optimize template rendering and DOM updates - **Subscription Management**: Efficient subscription handling and disposal - **Performance**: Optimize for performance - **Accessibility**: Ensure accessibility compliance ## References - [KnockoutJS Documentation](https://knockoutjs.com/) - [Adobe Commerce UI Components](https://developer.adobe.com/commerce/frontend-core/ui-components/) Focus on creating reactive, maintainable UI components.
© maxnorm · MIT · maxnorm/magento2-agent-skills