Skip to main content
skill CX Codex

storefront-best-practices — Claude Code skill: install guide

This skill guides storefront work, from product pages and carts to checkout flows. Use it when building or changing an online store interface.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a claude-code
Open on GitHub

What storefront-best-practices does

The skill guides work on store pages such as product listings, product details, carts, payment flows, navigation, search and account areas. Its references cover interface patterns, accessibility, mobile layouts, SEO and Medusa backend work.

Before any UI component is created, it calls for reading reference/design.md to check existing tokens, fonts, spacing and patterns. Task-specific references cover areas such as checkout in reference/layouts/checkout.md, Medusa setup in reference/medusa.md, and search work in reference/seo.md.

It also points to concrete implementation checks: cart count changes use aria-live="polite", fixed bottom controls account for safe areas, and below-the-fold images get lazy loading. Reading reference/design.md first adds a step before edits, so style changes are less likely to drift from the existing interface.

What it helps with

  • build a checkout page
  • add a cart with item count updates
  • connect a storefront to Medusa
  • make product cards accessible
  • prepare product pages for SEO

Example prompts for the agent

  • Apply storefront-best-practices while adding a cart page.
  • Use storefront-best-practices to connect the product catalogue to Medusa.
  • Apply storefront-best-practices when building a product page and check server-rendered markup.

How to install storefront-best-practices

1Skills CLI (Vercel)

npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a claude-code

2Manually: put the files in place

~/.claude/skills/storefront-best-practices/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/storefront-best-practices/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about storefront-best-practices

How do I install storefront-best-practices in Claude Code?

Run npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a claude-code, then run npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a claude-code again. The skill file is placed at ~/.claude/skills/storefront-best-practices/SKILL.md.

What does storefront-best-practices do?

It gives an agent guidance for building and changing online store interfaces. The material covers UI components, Medusa work, accessibility, mobile screens and SEO.

Which reference files are needed before building a component?

reference/design.md is required before any UI component. The skill calls for further references by task, including checkout, navigation, Medusa and SEO guides.

Similar skills

Everything for Frontend and UI →

From the same set14

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor