Agent skill

Storefront Best Practices

by medusajs in medusajs/medusa-agent-skills

ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites.

No licenceAuto-check passedSales & Support

Install Storefront Best Practices

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install medusajs/medusa-agent-skills storefront-best-practices --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ecommerce-storefront/skills/storefront-best-practices .claude/skills/storefront-best-practices && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
storefront-best-practices
GitHub stars
228
Used in
1 other repo
Token cost
~5.6k tokens
SKILL.md length
2,133 words
Files
29
Skills in repo
16
Repo updated
First seen
Licence
None found

At a glance

ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites.

  • Works in 4 steps: Refer back to this skill before starting… → Load relevant reference files listed… → Follow the patterns and guidance in the… → …
  • Working on ecommerce storefronts
  • SKILL.md covers When to Apply, CRITICAL: Load Reference Files…, Planning and Implementation… and Critical Ecommerce-Specific…, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Storefront Best Practices is an agent skill from medusajs/medusa-agent-skills. ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component including checkout pages, cart, payment flows, product pages, product listings, navigation, homepage, or ANY page/component in a storefront. CRITICAL for adding checkout, implementing cart, integrating Medusa backend, or building any ecommerce functionality. Framework-agnostic (Next.js, SvelteKit, TanStack Start, React, Vue). Provides patterns, decision frameworks, backend integration…

Its SKILL.md is about 5.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 31 other files (for example `reference/components/breadcrumbs.md`, `reference/components/cart-popup.md` and `reference/components/country-selector.md`).

It sits in Sales & Support, covering E-commerce operations. It works with Next.js, React, SvelteKit and Vue.js. The repository describes itself as: Agent skills and commands for Medusa best practices and conventions.

When your agent uses it

  • Working on ecommerce storefronts
  • ANY storefront component including checkout pages
  • Product listings
  • ANY page/component in a storefront

Example prompts

  • “Use the storefront-best-practices skill to alway use this skill when working on ecommerce storefronts, online stores, shopping sites”
  • “/storefront-best-practices”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Refer back to this skill before starting implementation
  2. Load relevant reference files listed above for the specific component/page you're building
  3. Follow the patterns and guidance in the reference files
  4. Check common mistakes sections to avoid known pitfalls

What it can do on your machine

Read from SKILL.md and the folder at commit 066132d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • pagespeed.web.dev
    • docs.medusajs.com
    • medusajs.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Storefront Best Practices loads about 5.6k tokens when it runs. Until then it costs about 137 tokens; SKILL.md has 2,133 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~137
When it runs · the whole SKILL.md, loaded when a task matches
~5.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 2,133 words (~5,574 tokens).

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

— opening of SKILL.md by medusajs
name
storefront-best-practices

Read the full SKILL.md on GitHub

Files

SKILL.md and 28 other files in plugins/ecommerce-storefront/skills/storefront-best-practices of medusajs/medusa-agent-skills.

  • SKILL.md
  • reference/components/breadcrumbs.md
  • reference/components/cart-popup.md
  • reference/components/country-selector.md
  • reference/components/footer.md
  • reference/components/hero.md
  • reference/components/megamenu.md
  • reference/components/navbar.md
  • reference/components/popups.md
  • reference/components/product-card.md
  • reference/components/product-reviews.md
  • reference/components/product-slider.md
  • reference/components/search.md
  • reference/connecting-to-backend.md
  • reference/design.md
  • reference/features/promotions.md
  • reference/features/wishlist.md
  • reference/layouts
  • … and 11 more

Open the folder on GitHubat commit 066132d

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in medusajs/medusa-agent-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Storefront Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Storefront Best Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Storefront Best Practices this skillmedusajs/medusa-agent-skills2281 repos~5.6kAutomated safety check: PassNone
App BuilderUndertone0809/rudder292—~2kAutomated safety check: PassApache-2.0
UI UX Pro Maxmajiayu000/spellbook287—~442Automated safety check: PassMIT
Wagmi Feature Developmentwevm/wagmi6.8k—~3.8kAutomated safety check: PassMIT
Databuddydatabuddy-analytics/Databuddy1.2k—~2.1kAutomated safety check: PassAGPL-3.0
Domscribepatchorbit/domscribe194—~3.3kAutomated safety check: NotesMIT

Similar skills

  • App Builder

    Undertone0809/rudder

    Create and iteratively improve local web products from natural-language requests, then prepare them to run as Rudder Apps.

    292 GitHub stars~2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    majiayu000/spellbook

    A skill your agent uses when planning, building, designing, code review, refactor, fixing, improving, optimizing, enhancing, or checking UI/UX work.

    287 GitHub stars~442 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.

    6.8k GitHub stars~3.8k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Databuddy

    databuddy-analytics/Databuddy

    Integrate Databuddy analytics using the SDK, REST API, or MCP.

    1.2k GitHub stars~2.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Domscribe

    patchorbit/domscribe

    Work with Domscribe — the pixel-to-code bridge. An agent skill from patchorbit/domscribe.

    194 GitHub stars~3.3k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check: notes
  • Nextjs15 Init

    bear2u/my-skills

    A skill your agent uses when user wants to create a new Next.js 15 project (Todo/Blog/Dashboard/E-commerce/Custom domain) with App Router, ShadCN, Zustand, Tanstack Query, and modern Next.js stack

    932 GitHub stars~2.4k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed

More from medusajs/medusa-agent-skills

All 16 skills in this repo
  • Medusa Internal Admin Agents

    medusajs/medusa-agent-skills

    Walks through adding an AI agent for store operators to a Medusa project: data models, module service, agent runtime, streaming API route and admin chat UI.

    228 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed
  • Learning Medusa

    medusajs/medusa-agent-skills

    Interactive tutorial where the agent teaches Medusa development by guiding you through building a brands feature, with lessons and verification checkpoints.

    228 GitHub stars~4.1k tokensUpdated 6 days ago
    Auto-check passed
  • Medusa Cloud CLI Authentication

    medusajs/medusa-agent-skills

    Runs the mcloud commands for logging in, checking who is authenticated, and choosing the active organization, project and environment.

    228 GitHub stars~1.1k tokensUpdated 6 days ago
    Auto-check passed
  • Medusa Cloud Deployments CLI

    medusajs/medusa-agent-skills

    Lists Medusa Cloud deployments, fetches one deployment's details and reads backend or storefront build logs through the mcloud CLI to debug failed builds.

    228 GitHub stars~883 tokensUpdated 6 days ago
    Auto-check passed
  • mcloud Environments

    medusajs/medusa-agent-skills

    Runs mcloud environments commands to list, inspect, create, delete, redeploy or rebuild environments in Medusa Cloud projects.

    228 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed
  • Medusa Cloud Local Build

    medusajs/medusa-agent-skills

    Reproduces a Medusa Cloud build on your machine with mcloud local build, to debug build-failed deployments without pushing or waiting on Cloud.

    228 GitHub stars~1k tokensUpdated 6 days ago
    Auto-check: notes

Categories

Questions about Storefront Best Practices

What does Storefront Best Practices do?

ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Storefront Best Practices is an agent skill from medusajs/medusa-agent-skills. ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites.

When should I use Storefront Best Practices?

Storefront Best Practices fits situations like: working on ecommerce storefronts; ANY storefront component including checkout pages; product listings; ANY page/component in a storefront.

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`. Or copy the skill folder (plugins/ecommerce-storefront/skills/storefront-best-practices in medusajs/medusa-agent-skills) into .claude/skills/storefront-best-practices in your project. Claude Code loads it when a task matches its description.

How do I install Storefront Best Practices in Codex?

Run `npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a codex`. Or copy the skill folder (plugins/ecommerce-storefront/skills/storefront-best-practices in medusajs/medusa-agent-skills) into .agents/skills/storefront-best-practices in your project. Codex loads it when a task matches its description.

Can I use Storefront Best Practices in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/storefront-best-practices, .gemini/skills/storefront-best-practices, .github/skills/storefront-best-practices and .opencode/skills/storefront-best-practices in your project.

What does Storefront Best Practices need to run?

SKILL.md names no scripts, command-line tools or credentials: Storefront Best Practices is instructions for the agent only.

Does Storefront Best Practices access the network?

SKILL.md names 3 domains. As links in the text: pagespeed.web.dev, docs.medusajs.com and medusajs.com. This is read from the text; nothing was executed.

Is Storefront Best Practices safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Storefront Best Practices use?

No licence was found for Storefront Best Practices or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Storefront Best Practices use?

About 5.6k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Storefront Best Practices?

Skills that share tags, products or a category with Storefront Best Practices: App Builder (Undertone0809/rudder, 292 stars), UI UX Pro Max (majiayu000/spellbook, 287 stars), Wagmi Feature Development (wevm/wagmi, 6.8k stars) and Databuddy (databuddy-analytics/Databuddy, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Storefront Best Practices?

medusajs (a GitHub organization) maintains it in medusajs/medusa-agent-skills, which has 228 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 5, 2026.

Source: medusajs/medusa-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.