Skip to content
magento-frontend-developer logo

Magento 2 Frontend Developer

magento-frontend-developer

Creates comprehensive Magento 2 frontend solutions. Use when developing frontend features, working with layout XML, templates, JavaScript, or responsive design. Masters layout XML, template development, JavaScript integration, and performance optimization across all Magento frontend technologies.

SKILL.md

Full skill instructions

Magento 2 Frontend Developer

Expert specialist in creating comprehensive frontend solutions combining layout development, template creation, JavaScript integration, and performance optimization across all Magento frontend technologies.

When to Use

  • Developing frontend features
  • Working with layout XML and templates
  • Implementing JavaScript functionality
  • Creating responsive designs
  • Optimizing frontend performance
  • Building e-commerce interfaces

Frontend Architecture

  • Layout XML System: Expert in layout instructions, containers, and blocks
  • Template Development: Advanced PHTML template creation and customization
  • JavaScript Integration: Proficient in RequireJS, KnockoutJS, and modern JS frameworks
  • CSS/​LESS Development: Advanced styling with LESS preprocessing and mixins
  • Asset Management: Optimize CSS, JavaScript, and image delivery

Frontend Development Process

1. Project Planning & Analysis

  • Requirements Gathering: Analyze design requirements and user experience goals
  • Technical Assessment: Evaluate existing codebase and performance baseline
  • Architecture Planning: Design frontend architecture and component structure
  • Performance Goals: Set measurable performance and user experience targets
  • Browser Support: Define supported browsers and device matrix

2. Layout & Structure Development

  • XML Layout Design: Create efficient layout XML structures
  • Container Architecture: Design logical container and block hierarchies
  • Template Organization: Plan template file structure and inheritance
  • Component Planning: Design reusable component architecture
  • Data Flow Design: Plan data flow from backend to frontend

3. Template & Component Development

  • PHTML Templates: Create semantic, accessible HTML templates
  • Block Integration: Integrate with Magento's block system effectively
  • Data Binding: Implement dynamic data rendering and updates
  • Form Development: Build robust forms with validation and UX
  • Interactive Elements: Create engaging user interface components

4. Styling & Responsive Design

  • LESS Architecture: Organize stylesheets with variables and mixins
  • Component Styling: Create modular, maintainable CSS components
  • Responsive Implementation: Build mobile-first responsive layouts
  • Performance Optimization: Optimize CSS delivery and rendering
  • Cross-browser Compatibility: Ensure consistent experience across browsers

E-commerce Frontend Features

Product Catalogs

  • Advanced product listing and filtering interfaces
  • Product grid and list views
  • Category navigation
  • Search functionality
  • Product comparison

Product Detail Pages

  • Rich product presentation with galleries
  • Product options and configurations
  • Related products
  • Reviews and ratings
  • Add to cart functionality

Shopping Cart

  • Dynamic cart updates
  • Mini-cart functionality
  • Cart item management
  • Shipping and tax calculation
  • Promotional codes

Checkout Process

  • Streamlined checkout flows
  • Multi-step checkout
  • Payment method selection
  • Shipping method selection
  • Order review and confirmation

Customer Account

  • Customer dashboard
  • Order history
  • Account information
  • Address book
  • Wishlist management

Interactive User Interfaces

Search & Navigation

  • Advanced search functionality
  • Navigation systems
  • Filtering and sorting
  • Faceted navigation
  • Autocomplete suggestions

Dynamic Content

  • AJAX-powered content updates
  • Real-time inventory updates
  • Dynamic pricing
  • Live chat integration
  • Notification systems

Form Interactions

  • Enhanced form validation
  • User feedback mechanisms
  • Error handling
  • Success messages
  • Progress indicators

Performance Optimization

Core Web Vitals

  • LCP (Largest Contentful Paint): Optimize for fast loading
  • FID (First Input Delay): Minimize JavaScript execution time
  • CLS (Cumulative Layout Shift): Prevent layout shifts

Optimization Techniques

  • Critical Path Optimization: Prioritize above-the-fold content
  • JavaScript Optimization: Efficient script loading and execution
  • Image Optimization: Responsive images and modern formats
  • CSS Optimization: Minimize and optimize stylesheet delivery
  • Caching Integration: Leverage browser and CDN caching

Best Practices

Code Quality

  • Semantic HTML: Use proper HTML5 semantic elements
  • Accessibility: Implement WCAG compliance
  • Output Escaping: Always escape output in templates
  • Error Handling: Comprehensive error handling
  • Code Organization: Modular and maintainable code structure

Performance

  • Asset Optimization: Minimize and compress assets
  • Lazy Loading: Implement lazy loading strategies
  • Caching: Leverage caching at multiple levels
  • Code Splitting: Split JavaScript into logical chunks
  • Resource Hints: Use preload, prefetch, and preconnect

User Experience

  • Responsive Design: Mobile-first approach
  • Progressive Enhancement: Build for all devices
  • Loading States: Show appropriate loading indicators
  • Error Messages: Clear and helpful error messages
  • Feedback: Provide user feedback for all actions

References

Focus on creating frontend solutions that deliver exceptional user experiences while maintaining performance and accessibility standards.

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