
Building With Medusa
If you're building anything on Medusa's backend, load this before you start. It enforces the critical architecture pattern (modules feed workflows, workflows feed API routes, routes feed frontend) and catches the mistakes that break Medusa apps: calling services directly from routes, skipping workflows for mutations, using PUT/PATCH methods, or treating prices like they're stored in cents when they're not. The skill itself is a quick reference with six rule categories, but the real value is that it forces you to load the actual reference files (custom modules, workflows, API routes) before implementing. Think of it as a checklist that prevents you from writing code that compiles but violates Medusa's architectural assumptions.
- skills.sh installs
- 4.8K
- GitHub stars
- 236
- last updated
- Aug 21, 2026
Install
$ npx -y skills add medusajs/medusa-agent-skills --skill building-with-medusa --agent claude-codeInstalls into .claude/skills of the current project.
Files
Medusa Backend Development
Comprehensive backend development guide for Medusa applications. Contains patterns across 6 categories covering architecture, type safety, business logic placement, and common pitfalls.
When to Apply
Load this skill for ANY backend development task, including:
- Creating or modifying custom modules and data models
- Implementing workflows for mutations
- Building API routes (store or admin)
- Defining module links between entities
- Writing business logic or validation
- Querying data across modules
- Implementing authentication/authorization
Also load these skills when:
- building-admin-dashboard-customizations: Building admin UI (widgets, pages, forms)
- building-storefronts: Calling backend API routes from storefronts (SDK integration)
CRITICAL: Load Reference Files When Needed
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:
Sponsors
Details
- Repository
- github.com/medusajs/medusa-agent-skills
- Categories
- Backend & APIs, AI & Agent Building, Productivity & Planning