storefront-best-practi…
ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component…
Load automatically when planning, researching, or implementing ANY Medusa backend features (custom modules, API routes, workflows, data models, module links, business logic). REQUIRED for all Medusa backend work in ALL modes (planning, implementation, exploration). Contains
Claude Code
$ npx -y skills add medusajs/medusa-agent-skills --skill building-with-medusa --agent claude-code
Codex
$ npx skills add medusajs/medusa-agent-skills --skill building-with-medusa -a codex -y
Cursor
$ npx skills add medusajs/medusa-agent-skills --skill building-with-medusa -a cursor -y
Gemini CLI
$ npx skills add medusajs/medusa-agent-skills --skill building-with-medusa -a gemini-cli -y
GitHub Copilot
$ npx skills add medusajs/medusa-agent-skills --skill building-with-medusa -a github-copilot -y
OpenCode
$ npx skills add medusajs/medusa-agent-skills --skill building-with-medusa -a opencode -y
Windsurf
$ npx skills add medusajs/medusa-agent-skills --skill building-with-medusa -a windsurf -y
name: building-with-medusa description: Load automatically when planning, researching, or implementing ANY Medusa backend features (custom modules, API routes, workflows, data models, module links, business logic). REQUIRED for all Medusa backend work in ALL modes (planning, implementation, exploration). Contains architectural patterns, best practices, and critical rules that MCP servers don't provide.
Comprehensive backend development guide for Medusa applications. Contains patterns across 6 categories covering architecture, type safety, business logic placement, and common pitfalls.
**Load this skill for ANY backend development task, including:**
**Also load these skills when:**
**The quick reference below is NOT sufficient for implementation.** You MUST load relevant reference files before writing code for that 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.
**ALWAYS follow this flow - never bypass layers:**
Module (data models + CRUD operations) ↓ used by Workflow (business logic + mutations with rollback) ↓ executed by API Route (HTTP interface, validation middleware) ↓ called by Frontend (admin dashboard/storefront via SDK)
**Key conventions:**
| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Architecture Violations | CRITICAL | `arch-` | | 2 | Type Safety | CRITICAL | `type-` | | 3 | Business Logic Placement | HIGH | `logic-` | | 4 | Import & Code Organization | HIGH | `import-` | | 5 | Data Access Patterns | MEDIUM (includes CRITICAL price rule) | `data-` | | 6 | File Organization | MEDIUM | `file-` |
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.
ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component…
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…
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.