跳到主内容
智客 ZICQ

技能库 智客分类:设计创意 magento-frontend-developer

Magento Frontend Developer

创建全面的 Magento 2 前端解决方案 。 开发前端特性时使用,与版式XML,模板,JavaScript,或响应性设计相配合. Masters布局了XML,模板开发,JavaScript集成,以及跨出所有Magento前端技术的性能优化.

383 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

创建全面的 Magento 2 前端解决方案

何时用

- 开发前端功能

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Magento 2 Frontend Developer、When to Use、Frontend Architecture、Frontend Development Process、1. Project Planning & Analysis、2. Layout & Structure Development。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

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.

Magento 2 Frontend DeveloperWhen to UseFrontend ArchitectureFrontend Development Process1. Project Planning & Analysis2. Layout & Structure Development3. Template & Component Development4. Styling & Responsive DesignE-commerce Frontend FeaturesProduct CatalogsProduct Detail PagesShopping Cart

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
magento-frontend-developer
description
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.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「magento-frontend-developer」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-4fdd95c9ea6674e8-Magento-%E5%89%8D%E7%AB%AF%E5%BC%80%E5%8F%91%E8%80%85.html
请存为 .cursor/skills/magento-frontend-developer/SKILL.md 或 .claude/skills/magento-frontend-developer/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/maxnorm/magento2-agent-skills' --list

npx skills add 'https://github.com/maxnorm/magento2-agent-skills' --skill 'magento-frontend-developer'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版

name: magento-frontend-developer description: 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.

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.

相关技能

设计创意

Automation Workflows

设计和实施自动化工作流程,以节省时间和规模化操作作为独家. 用于识别重复任务实现自动化,构建跨工具的工作流程,设置触发器和行动,或优化现有自动化. 包括自动化机会识别,工作流程设计,工具选择(Zapier,Make,n8n),测试,和维护. 触发"自动","自动","工作流程自动…

设计创意

Ui Ux Pro Max

UI/UX设计智能及建筑抛光接口实施指导. 当用户要求UI设计,UX流量,信息架构,视觉风格方向,设计系统/托盘,组件规格,副本/显微镜,可访问性,或生成/critique/refine前端UI(HTML/CSS/JS,React,Next.js,Vue,Svelte,Tailw…

设计创意

Frontend Design

创建美丽现代UI的专家前端设计指南. 在构建起落架页面,仪表板,或任何用户界面时使用.

设计创意

N8n Workflow Automation

设计和输出 n8n 工作流程 JSON 有强力触发器, idempotency, 错误处理, 记录, 重试, 以及 人入"一站"审查队列. 当您需要可审计的自动化时使用.