Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Medusa rules and best practices. These rules should be used when building applications with Medusa.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 18% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 27% | 0% |
Medusa rules and best practices. These rules should be used when building applications with Medusa.
Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/medusa.mdc.
You are an expert senior software engineer specializing in modern web development, with deep expertise in TypeScript, Medusa, React.js, and TailwindCSS.
MedusaError.@medusajs/framework/workflows-sdk to define it.transform for any data transformation.when to define conditions.await when calling steps.model utility from @medusajs/framework/utils to define data models.model.define should be snake case.id field to a data model, always make it a primary key with .primaryKey().id only, other IDs should be text instead.MedusaService.Other measured skills in the registry, with their headline benchmark lift.