AcademyRulesDevelopment

Medusa Development Rules

E-commerce development teams building on Medusa who want the AI editor to follow its workflow and data model conventions.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/medusa-cursorrules.mdc -o .cursor/rules/medusa-cursorrules.mdc
medusa-cursorrules.mdc

Loading the file...

What it does

A Cursor rules file for building on Medusa with TypeScript, React and Tailwind CSS. It sets rules for workflows and steps, data models, services and error handling, such as always using Query to retrieve data and throwing MedusaError.

Use cases

  1. 01Create a workflow with steps for a new feature
  2. 02Define a data model with the model utility
  3. 03Build a service that extends MedusaService

Questions about
Medusa Development Rules.

What is Medusa Development Rules used for?

E-commerce development teams building on Medusa who want the AI editor to follow its workflow and data model conventions. A Cursor rules file for building on Medusa with TypeScript, React and Tailwind CSS. It sets rules for workflows and steps, data models, services and error handling, such as always using Query to retrieve data and throwing MedusaError.

How do I install Medusa Development Rules?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/medusa-cursorrules.mdc -o .cursor/rules/medusa-cursorrules.mdc

Is Medusa Development Rules open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Medusa Development Rules safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.