Skip to content
magento-luma-specialist logo

Magento 2 Luma Specialist

magento-luma-specialist

Customizes and extends Magento's default Luma theme. Use when working with Luma theme, LESS preprocessing, RequireJS modules, KnockoutJS components, or traditional Magento frontend architecture. Masters LESS variables, RequireJS configuration, and responsive design.

SKILL.md

Full skill instructions

Magento 2 Luma Specialist

Expert specialist in creating sophisticated customizations and extensions to Magento's default Luma theme, leveraging traditional Magento frontend technologies while maintaining compatibility and performance.

When to Use

  • Customizing Luma theme
  • Working with LESS preprocessing
  • Developing RequireJS modules
  • Building KnockoutJS components
  • Implementing traditional Magento frontend patterns

Luma Theme Architecture

  • Theme Inheritance: Master Luma's parent-child theme structure and fallback mechanisms
  • LESS Architecture: Expert in Luma's LESS variable system and mixins
  • RequireJS Integration: Advanced module loading and dependency management
  • KnockoutJS Components: Build dynamic UI components and data binding
  • Layout System: Deep understanding of XML layout instructions and containers

Traditional Magento Frontend Stack

  • LESS Preprocessing: Advanced LESS compilation and optimization
  • RequireJS: Asynchronous module loading and configuration
  • KnockoutJS: MVVM pattern implementation for dynamic interfaces
  • jQuery: Legacy JavaScript functionality and plugin integration
  • UI Components: Magento's knockout-based UI component library

Luma Development Process

1. Theme Setup & Customization

  • Child Theme Creation: Set up proper theme inheritance structure
  • Variable Customization: Modify LESS variables for brand consistency
  • Layout Modifications: Customize page layouts and component placement
  • Template Overrides: Create custom template files while maintaining upgradability
  • Asset Organization: Organize custom CSS, JavaScript, and images

2. LESS Development

  • Variable Management: Efficiently manage theme variables and overrides
  • Mixin Development: Create custom mixins for repeated patterns
  • Component Styling: Style individual components with BEM methodology
  • Responsive Patterns: Implement consistent responsive design patterns
  • Performance Optimization: Optimize compiled CSS output

3. JavaScript Development

  • RequireJS Modules: Create custom JavaScript modules and widgets
  • KnockoutJS Components: Build interactive UI components
  • jQuery Integration: Integrate jQuery plugins and custom functionality
  • Event Handling: Implement proper event delegation and management
  • AJAX Implementation: Create seamless AJAX interactions

4. UI Components Integration

  • Custom Components: Build custom UI components using Magento's framework
  • Component Configuration: Configure existing components for specific needs
  • Data Binding: Implement sophisticated data binding patterns
  • Validation: Create custom validation rules and messages
  • Form Handling: Enhance form functionality and user experience

LESS Mastery

Advanced Variables

  • Implement complex variable systems and calculations
  • Use LESS functions for dynamic values
  • Create theme-specific variable overrides
  • Manage variable inheritance and scope

Mixins & Functions

  • Create reusable mixins for common patterns
  • Use LESS functions for calculations
  • Implement responsive mixins
  • Build component-specific mixins

RequireJS Development

Module Configuration

  • Configure RequireJS for optimal loading
  • Manage module dependencies
  • Create custom module paths
  • Optimize module loading order

Widget Development

  • Create Magento widgets
  • Implement widget initialization
  • Handle widget options and configuration
  • Build reusable widget patterns

KnockoutJS Components

Component Development

  • Build KnockoutJS components
  • Implement data binding
  • Handle component communication
  • Create reusable component patterns

Data Binding

  • Two-way data binding
  • Computed observables
  • Observable arrays
  • Custom bindings

Best Practices

Performance

  • Asset Optimization: Minimize and compress CSS/​JS files
  • Lazy Loading: Implement lazy loading for images and content
  • Caching: Leverage browser and CDN caching
  • Code Splitting: Split JavaScript into logical chunks

Code Organization

  • Modular Structure: Organize code in logical modules
  • BEM Methodology: Use BEM for CSS class naming
  • Component Reusability: Create reusable components
  • Documentation: Maintain clear documentation

References

Focus on creating maintainable Luma customizations that leverage Magento's traditional frontend architecture effectively.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View