storefront-best-practices

Installation
Summary

Comprehensive guidance for building modern ecommerce storefronts with patterns, component architecture, and backend integration.

  • Covers all storefront components: navigation, product pages, cart, checkout, and account pages across any framework (Next.js, SvelteKit, React, Vue)
  • Includes critical accessibility patterns (aria-live for cart updates), mobile optimization (safe-area-inset, 44px touch targets), and SEO requirements (Product schema, Core Web Vitals)
  • Provides mandatory backend SDK verification workflow to prevent API integration errors; includes Medusa-specific guidance for pricing, regions, and SDK methods
  • References 30+ detailed pattern files for component selection, layout decisions, and feature implementation; load relevant files before coding each section
  • Highlights 40+ common ecommerce mistakes across cart/navigation, product browsing, checkout, mobile UX, and backend integration with specific error prevention steps
SKILL.md

Ecommerce Storefront Best Practices

Comprehensive guidance for building modern, high-converting ecommerce storefronts covering UI/UX patterns, component design, layout structures, SEO optimization, and mobile responsiveness.

When to Apply

ALWAYS load this skill when working on ANY storefront task:

  • Adding checkout page/flow - Payment, shipping, order placement
  • Implementing cart - Cart page, cart popup, add to cart functionality
  • Building product pages - Product details, product listings, product grids
  • Creating navigation - Navbar, megamenu, footer, mobile menu
  • Integrating Medusa backend - SDK setup, cart, products, payment
  • Any storefront component - Homepage, search, filters, account pages
  • Building new ecommerce storefronts from scratch
  • Improving existing shopping experiences and conversion rates
  • Optimizing for usability, accessibility, and SEO
  • Designing mobile-responsive ecommerce experiences
Related skills

More from medusajs/medusa-agent-skills

Installs
1.7K
GitHub Stars
162
First Seen
Jan 30, 2026