medusajs avatar

Storefront Best Practices

Agent-friendly storefront guidance with Medusa integration, layout patterns, and SEO rules for ecommerce builds.

CCM score
68 of 100
skills.sh installs
5.2K
GitHub stars
238
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers checkout, cart, product pages, navigation, homepage, and any other storefront component, with framework-agnostic patterns for Next.js, SvelteKit, TanStack Start, React, and Vue
  • Includes reference files for design tokens, Medusa SDK setup, layouts, components, SEO, and mobile responsiveness, each to load before the matching task
  • Enforces rules like aria-live="polite" on cart counts, env(safe-area-inset-bottom) on sticky buttons, and JSON-LD product schema
  • Designed for AI-assisted ecommerce builds on Medusa, including making stores readable by shopping agents

Install

$ npx -y skills add medusajs/medusa-agent-skills --skill storefront-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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
  • Making a storefront agent-friendly (AI shopping agents, AI search, agentic commerce)

Details

Repository
github.com/medusajs/medusa-agent-skills
Categories
Frontend & UI Code, Web3 & Crypto

More from medusajs/medusa-agent-skills

All 15

Similar to Storefront Best Practices

More Frontend & UI Code