Skip to main content
skill CX Codex

magento-css-specialist — Claude Code skill: CSS for Magento 2

magento-css-specialist — a skill for building Magento 2 CSS and LESS, covering responsive themes, component styling, and CSS performance work.

MIT 167 installs ★ 33 updated 2026-01-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a claude-code
Open on GitHub

What magento-css-specialist does

magento-css-specialist focuses on CSS and LESS for Magento 2 projects. It can shape theme styles, build responsive layouts with CSS Grid and Flexbox, use custom properties, and organize code with BEM, SMACSS, or ITCSS.

The skill covers LESS variables, functions, mixins, reusable mixin libraries, and source maps for debugging. It also connects LESS compilation to build workflows, follows Magento responsive breakpoints, styles Magento UI components, and accounts for theme inheritance and fallback behavior.

This scope is tied to Magento 2. Its guidance depends on Magento’s theme system, LESS framework, and component structure.

What it helps with

  • style a Magento 2 theme
  • build a responsive layout with CSS Grid and Flexbox
  • create reusable LESS variables and mixins
  • structure UI component styles
  • prepare CSS source maps for debugging

Example prompts for the agent

  • Style the Magento 2 cart component and organize the rules with BEM.
  • Convert this theme to a mobile-first layout using Magento breakpoints.
  • Review the theme’s LESS structure and add reusable mixins with source maps.

How to install magento-css-specialist

1Skills CLI (Vercel)

npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a claude-code

2Manually: put the files in place

~/.claude/skills/magento-css-specialist/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/magento-css-specialist/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about magento-css-specialist

How do I install magento-css-specialist in Claude Code?

Run npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a claude-code, then check ~/.claude/skills/magento-css-specialist/SKILL.md.

What does magento-css-specialist do?

It guides CSS and LESS work for Magento 2 themes and components, including responsive layouts, theme integration, and CSS performance work.

Which CSS and LESS techniques does it cover?

It covers CSS Grid, Flexbox, custom properties, and BEM, SMACSS, or ITCSS. LESS support includes variables, functions, mixins, reusable mixin libraries, and source maps.

Source text

SKILL.md · MIT
---
name: magento-css-specialist
description: Develops CSS and LESS for Magento 2 with responsive design and performance optimization. Use when styling themes, working with LESS, implementing responsive design, or optimizing CSS performance. Masters modern CSS techniques, LESS preprocessing, and cross-browser compatibility.
---

# Magento 2 CSS/LESS Specialist

Expert specialist in creating sophisticated, maintainable stylesheets for Magento 2 applications.

## When to Use

- Styling Magento themes
- Working with LESS preprocessing
- Implementing responsive design
- Optimizing CSS performance
- Creating component styles

## CSS Development

### Modern CSS Features
- **CSS Grid & Flexbox**: Modern layout techniques
- **Custom Properties**: CSS variables for theming
- **Responsive Design**: Mobile-first responsive design
- **CSS Architecture**: BEM, SMACSS, or ITCSS methodologies
- **Performance Optimization**: CSS optimization for fast loading

### LESS Preprocessing
- **LESS Mastery**: Advanced LESS features, mixins, functions, and variables
- **Variable Systems**: Create flexible, themeable variable systems
- **Mixin Libraries**: Develop reusable mixin libraries
- **Build Integration**: Integrate LESS compilation with build workflows
- **Source Maps**: Generate source maps for debugging

### Magento Integration
- **Theme Integration**: Deep integration with Magento's theming system
- **LESS Framework**: Leverage Magento's LESS framework and variables
- **Component Styling**: Style Magento UI components
- **Responsive Breakpoints**: Implement Magento's responsive breakpoint system
- **Theme Inheritance**: Utilize theme inheritance and fallback mechanisms

## Best Practices

- **Mobile-First**: Implement mobile-first responsive design
- **Performance**: Optimize CSS for fast loading
- **Maintainability**: Use consistent naming conventions (BEM)
- **Modularity**: Create modular, reusable styles
- **Cross-Browser**: Ensure cross-browser compatibility

## References

- [LESS Documentation](http://lesscss.org/)
- [Adobe Commerce Frontend Development](https://developer.adobe.com/commerce/frontend-core/guide/)

Focus on creating maintainable, performant stylesheets that enhance user experience.

© maxnorm · MIT · maxnorm/magento2-agent-skills

Similar skills

All skills for Frontend and UI →

From the same set30

The whole set →
magento-deployment-engineer The magento-deployment-engineer skill designs CI/CD pipelines and automated Magento 2 deployments. Use it for infrastructure planning, containerization, and DevOps work. CX Codex +1 176installs magento-upgrade-specialist magento-upgrade-specialist — a skill for Magento 2 upgrades, Magento 1 migrations, compatibility checks, and breaking-change planning across custom code and extensions. CX Codex +1 176installs magento-knockout-specialist magento-knockout-specialist guides coding agents in building reactive KnockoutJS UI components and MVVM patterns for Magento 2. CX Codex +1 168installs magento-environment-engineer The magento-environment-engineer skill helps manage Magento 2 across development, staging, production, and testing environments. Use it for server configuration and environment troubleshooting. CX Codex +1 168installs magento-alpine-specialist magento-alpine-specialist briefs the agent on building reactive Alpine.js components for Magento 2 storefronts, Hyvä included. Handy when a template needs behaviour without a separate JS framework. CX Codex +1 166installs magento-cronjob-developer magento-cronjob-developer guides the agent through building Magento 2 cron jobs: the etc/crontab.xml config, the job class, failure handling and debugging. CX Codex +1 165installs magento-local-environment-specialist magento-local-environment-specialist walks the agent through a local Magento 2 setup: containers, PHP settings, database, cache, step debugging. Also covers breakage after a move to another machine. CX Codex +1 164installs magento-theme-developer The magento-theme-developer skill builds and modifies Magento 2 themes, covering child themes, layout XML, templates, responsive styling, and frontend performance. CX Codex +1 161installs

Project sponsors

Companies that keep this analytics open