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
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/magento-css-specialist/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/magento-css-specialist/
1Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a codex2Manually: put the files in place
.agents/skills/magento-css-specialist/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a cursor2Manually: put the files in place
.cursor/skills/magento-css-specialist/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install maxnorm/magento2-agent-skills skills/magento-css-specialist2Manually: put the files in place
.github/skills/magento-css-specialist/SKILL.md1Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a gemini-cli2Platform CLI
gemini skills install https://github.com/maxnorm/magento2-agent-skills --path skills/magento-css-specialistManually: put the files in place
.devin/skills/magento-css-specialist/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-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-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