learning-medusa
Load automatically when user asks to learn Medusa development (e.g., "teach me how to build with medusa", "guide me through…
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
Claude Code
$ npx -y skills add medusajs/medusa-agent-skills --skill storefront-best-practices --agent claude-code
Codex
$ npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a codex -y
Cursor
$ npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a cursor -y
Gemini CLI
$ npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a gemini-cli -y
GitHub Copilot
$ npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a github-copilot -y
OpenCode
$ npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a opencode -y
Windsurf
$ npx skills add medusajs/medusa-agent-skills --skill storefront-best-practices -a windsurf -y
name: storefront-best-practices description: 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, making a store agent-friendly for AI shopping agents, or building any ecommerce functionality. Framework-agnostic (Next.js, SvelteKit, TanStack Start, React, Vue). Provides patterns, decision frameworks, backend integration guidance.
Comprehensive guidance for building modern, high-converting ecommerce storefronts covering UI/UX patterns, component design, layout structures, SEO optimization, and mobile responsiveness.
**ALWAYS load this skill when working on ANY storefront task:**
**Example prompts that should trigger this skill:**
**⚠️ ALWAYS load `reference/design.md` BEFORE creating ANY UI component**
**Load these references based on what you're implementing:**
**Minimum requirement:** Load at least 1-2 reference files relevant to your specific task before implementing.
**IMPORTANT: If you create a plan for implementing storefront features, include the following in your plan:**
When implementing each component, page, layout, or feature in the plan: 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
**Example plan structure:**
Task 1: Implement Navigation - Load reference/components/navbar.md - Follow patterns from navbar.md (dynamic category fetching, cart visibility, etc.) - Refer to skill for common mistakes (e.g., hardcoding categories) Task 2: Implement Product Listing Page - Load reference/layouts/product-listing.md - Follow pagination/filtering patterns from product-listing.md - Use reference/components/product-card.md for product grid items - Check skill for backend integration guidance Task 3: Implement Checkout Flow - Load reference/layouts/checkout.md - Load reference/medusa.md for Medusa payment integration - Follow component architecture recommendations (separate step components) - Refer to skill for payment method fetching requirements
**Why this matters:**
A collection of skills composed as Claude Code plugins for building Medusa applications with best practices and architectural patterns. These skills can be used with any agent, as explained in the Usage with Other Agents section.
Load automatically when user asks to learn Medusa development (e.g., "teach me how to build with medusa", "guide me through…
Execute mcloud authentication and context commands: login, logout, whoami, use, version, and signup. Use when setting up the CLI,…
Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing…
Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when…
Execute mcloud local build to reproduce a Cloud build on the local machine. Use when debugging a build-failed deployment without…
Execute mcloud logs to fetch and stream runtime logs for Cloud environments. Use when reading backend or storefront logs,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.