magento-css-specialist — скилл для Claude Code: CSS Magento 2
Скилл magento-css-specialist помогает разрабатывать CSS и LESS для тем Magento 2: от адаптивной вёрстки до структуры компонентов и оптимизации загрузки стилей.
MIT 167 установок ★ 33 обновлён 2026-01-24
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a claude-codeЧто делает magento-css-specialist
magento-css-specialist настраивает работу с CSS и LESS в проектах Magento 2. Он помогает оформлять темы и UI-компоненты, строить адаптивные макеты через CSS Grid и Flexbox, применять CSS-переменные и организовывать стили по BEM, SMACSS или ITCSS.
Скилл учитывает LESS-миксины, функции, переменные, повторно используемые библиотеки миксинов и карты исходников для отладки. Он также связывает компиляцию LESS со сборочными процессами, использует систему брейкпоинтов Magento и учитывает наследование тем с fallback-механизмами.
Вне Magento 2 эти рекомендации не по адресу: скилл завязан на её систему тем, LESS-фреймворк и компоненты.
Какие задачи решает
- оформить тему Magento 2
- собрать адаптивную сетку через CSS Grid и Flexbox
- организовать переменные и миксины LESS
- разнести стили UI-компонентов по модулям
- подготовить CSS к отладке через source maps
Примеры запросов агенту
- Оформи компонент корзины Magento 2 и разложи стили по BEM.
- Перепиши стили темы на mobile-first с брейкпоинтами Magento.
- Проверь LESS-структуру темы, добавь переиспользуемые миксины и source maps.
Как установить magento-css-specialist
1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a claude-code2Вручную: положить файлы
~/.claude/skills/magento-css-specialist/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/magento-css-specialist/
1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a codex2Вручную: положить файлы
.agents/skills/magento-css-specialist/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a cursor2Вручную: положить файлы
.cursor/skills/magento-css-specialist/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install maxnorm/magento2-agent-skills skills/magento-css-specialist2Вручную: положить файлы
.github/skills/magento-css-specialist/SKILL.md1Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a gemini-cli2Командой платформы
gemini skills install https://github.com/maxnorm/magento2-agent-skills --path skills/magento-css-specialistВручную: положить файлы
.devin/skills/magento-css-specialist/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о magento-css-specialist
Как установить magento-css-specialist в Claude Code?
Выполните npx skills add maxnorm/magento2-agent-skills --skill magento-css-specialist -a claude-code, затем проверьте файл ~/.claude/skills/magento-css-specialist/SKILL.md.
Что делает magento-css-specialist?
Скилл помогает писать CSS и LESS для Magento 2, оформлять темы и компоненты, создавать адаптивные стили и учитывать производительность CSS.
Какие подходы к CSS поддерживает скилл?
Он работает с CSS Grid, Flexbox, CSS-переменными и методологиями BEM, SMACSS или ITCSS. Для LESS доступны переменные, функции, миксины и карты исходников.
Исходный текст
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