Medusa v2 Plugin Developer

•
32
•

Streamlines the development and distribution of Medusa v2 plugins by providing standardized structures, packaging guidance, and framework best practices.

This skill empowers developers to build, test, and publish professional-grade plugins for the Medusa v2 e-commerce framework. It provides expert guidance on the critical distinction between local modules and distributable plugins, establishes correct directory structures that mirror Medusa's conventions, and automates the configuration of package.json files for npm distribution. Whether you are creating reusable API routes, custom workflows, or admin UI extensions, this skill ensures your extensions are built to the latest Medusa standards with proper type safety and peer dependency management.

Key Features

01Standardized Medusa v2 plugin scaffolding and directory structuring
02Comparison logic for choosing between local Modules and distributable Plugins
03Best practices for plugin options patterns and environment variable management
04Automated npm packaging configuration including peerDependencies and keywords
0532 GitHub stars
06Step-by-step guidance for local development using npm link and integration testing

Use Cases

01Converting project-specific logic into distributable npm packages for multiple Medusa instances
02Creating a reusable payment provider or shipping integration for the Medusa ecosystem
03Scaffolding new admin UI widgets and API routes within a standardized plugin architecture