medusajs avatar

Building With Medusa

Structured guide for Medusa backend work that loads patterns for modules, workflows, API routes, and module links.

CCM score
66 of 100
skills.sh installs
5K
GitHub stars
238
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the layered flow of module, workflow, API route, and frontend, with six rule categories ranked by priority
  • Includes reference files for custom modules, workflows, API routes, module links, querying data, and authentication
  • Enforces workflows for all mutations, GET/POST/DELETE only, and business logic kept out of routes
  • Designed for planning, implementing, or exploring Medusa backend features where MCP servers lack these conventions

Install

$ npx -y skills add medusajs/medusa-agent-skills --skill building-with-medusa -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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:

Details

Repository
github.com/medusajs/medusa-agent-skills
Category
Backend & APIs

More from medusajs/medusa-agent-skills

All 15

Similar to Building With Medusa

More Backend & APIs