Skip to content

Repository files navigation

Medusa Pro Max

An AI skill that brings deep workflow intelligence to Medusa.js v2 e-commerce development.

What It Does

Medusa Pro Max transforms your AI coding assistant into a Medusa.js expert. It provides instant access to architectural patterns, best practices, and production-ready implementationsβ€”enabling you to build robust e-commerce workflows with proper idempotency, compensation logic, and module isolation.

Features

Workflow Intelligence

Capability Description
Architecture Guidance Expert patterns for Saga workflows, reversible steps, and compensation handlers
V2 Documentation Searchable access to current Medusa v2 patterns and standards
Best Practices Curated rules for error handling, retry logic, and transactions
Module Design Separation of concerns across modules, services, and subscribers
TypeScript Patterns Type-safe implementations throughout

Loyalty Plugin (Included)

A complete loyalty system with gift cards and store credits:

  • Gift Cards β€” CRUD operations, status tracking, multi-currency support
  • Store Credits β€” Customer balance management with full transaction logging
  • Checkout Integration β€” Apply gift cards and credits during checkout
  • Order Automation β€” Auto-generate gift cards when gift card products are purchased
  • Complete API β€” Admin and Store routes for all loyalty features
  • Ready-to-Use Workflows β€” Gift card redemption, store credit refunds, and more

Installation

Prerequisites

Python 3.x is required for the search engine:

python3 --version

Setup

  1. Create the skills directory in your project (if needed):

    mkdir -p .claude/skills
  2. Copy these folders from this repository into your project:

    • .claude/skills/medusa-pro-max/
    • .claude/commands/medusa.md

Usage

The skill activates automatically when you ask Claude to work on Medusa.js tasks. Just describe what you need:

"Design a return workflow that handles inventory restoration and refund processing"

"Implement payment capture with compensation logic for failures"

"Refactor this service to follow Medusa v2 module architecture"

"Create a gift card redemption workflow"

"Design a workflow for applying store credits to cart"

How It Works

  1. Detection β€” Claude recognizes your request as a Medusa.js task
  2. Research β€” The skill searches for relevant patterns, rules, and documentation
  3. Implementation β€” Claude generates code with proper idempotency and error handling

Demo

Project Structure

.claude/
β”œβ”€β”€ commands/
β”‚   └── medusa.md                # Slash command trigger
└── skills/
    └── medusa-pro-max/
        β”œβ”€β”€ SKILL.md             # Core skill documentation
        β”œβ”€β”€ SKILL-LOYALTY.md     # Loyalty plugin docs
        β”œβ”€β”€ data/
        β”‚   β”œβ”€β”€ medusa-v2-docs.csv
        β”‚   └── loyalty-plugin.csv
        └── scripts/
            β”œβ”€β”€ search.py        # Best practices queries
            β”œβ”€β”€ search_docs.py   # V2 documentation search
            └── search_loyalty.py # Loyalty feature search

Acknowledgments

Inspired by UI UX Pro Max, an AI skill for professional UI/UX design intelligence.

License

MIT

About

An AI intelligence skill for building professional e-commerce with Medusa.js πŸš€

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages