[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-medusa-db-generate":3,"mdc--cteytk-key":40,"related-repo-medusa-db-generate":160,"related-org-medusa-db-generate":251},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":35,"sourceUrl":38,"mdContent":39},"db-generate","generate database migrations for Medusa modules","Generate database migrations for a Medusa module",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"medusa","Medusa","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmedusa.jpg","medusajs",[13,17,18,21],{"name":14,"slug":15,"type":16},"Backend","backend","tag",{"name":9,"slug":8,"type":16},{"name":19,"slug":20,"type":16},"Database","database",{"name":22,"slug":23,"type":16},"Migration","migration",197,"https:\u002F\u002Fgithub.com\u002Fmedusajs\u002Fmedusa-agent-skills","2026-04-06T18:29:53.415671",null,24,[30,31,32,33,34,8],"agentic-commerce","claude","claude-code","commerce","ecommerce",{"repoUrl":25,"stars":24,"forks":28,"topics":36,"description":37},[30,31,32,33,34,8],"Agent skills and commands for Medusa best practices and conventions.","https:\u002F\u002Fgithub.com\u002Fmedusajs\u002Fmedusa-agent-skills\u002Ftree\u002FHEAD\u002Fplugins\u002Fmedusa-dev\u002Fskills\u002Fdb-generate","---\nname: db-generate\ndescription: Generate database migrations for a Medusa module\nargument-hint: \u003Cmodule-name>\nallowed-tools: Bash(npx medusa db:generate:*)\n---\n\n# Generate Database Migrations\n\nGenerate database migrations for the specified Medusa module.\n\nThe user will provide the module name as an argument (e.g., `brand`, `product`, `custom-module`).\n\nFor example: `\u002Fmedusa-dev:db-generate brand`\n\nUse the Bash tool to execute the command `npx medusa db:generate \u003Cmodule-name>`, replacing `\u003Cmodule-name>` with the provided argument.\n\nReport the results to the user, including:\n\n- The module name for which migrations were generated\n- Migration file name or location\n- Any errors or warnings\n- Next steps (running `npx medusa db:migrate` to apply the migrations)\n",{"data":41,"body":44},{"name":4,"description":6,"argument-hint":42,"allowed-tools":43},"\u003Cmodule-name>","Bash(npx medusa db:generate:*)",{"type":45,"children":46},"root",[47,56,62,91,102,122,127],{"type":48,"tag":49,"props":50,"children":52},"element","h1",{"id":51},"generate-database-migrations",[53],{"type":54,"value":55},"text","Generate Database Migrations",{"type":48,"tag":57,"props":58,"children":59},"p",{},[60],{"type":54,"value":61},"Generate database migrations for the specified Medusa module.",{"type":48,"tag":57,"props":63,"children":64},{},[65,67,74,76,82,83,89],{"type":54,"value":66},"The user will provide the module name as an argument (e.g., ",{"type":48,"tag":68,"props":69,"children":71},"code",{"className":70},[],[72],{"type":54,"value":73},"brand",{"type":54,"value":75},", ",{"type":48,"tag":68,"props":77,"children":79},{"className":78},[],[80],{"type":54,"value":81},"product",{"type":54,"value":75},{"type":48,"tag":68,"props":84,"children":86},{"className":85},[],[87],{"type":54,"value":88},"custom-module",{"type":54,"value":90},").",{"type":48,"tag":57,"props":92,"children":93},{},[94,96],{"type":54,"value":95},"For example: ",{"type":48,"tag":68,"props":97,"children":99},{"className":98},[],[100],{"type":54,"value":101},"\u002Fmedusa-dev:db-generate brand",{"type":48,"tag":57,"props":103,"children":104},{},[105,107,113,115,120],{"type":54,"value":106},"Use the Bash tool to execute the command ",{"type":48,"tag":68,"props":108,"children":110},{"className":109},[],[111],{"type":54,"value":112},"npx medusa db:generate \u003Cmodule-name>",{"type":54,"value":114},", replacing ",{"type":48,"tag":68,"props":116,"children":118},{"className":117},[],[119],{"type":54,"value":42},{"type":54,"value":121}," with the provided argument.",{"type":48,"tag":57,"props":123,"children":124},{},[125],{"type":54,"value":126},"Report the results to the user, including:",{"type":48,"tag":128,"props":129,"children":130},"ul",{},[131,137,142,147],{"type":48,"tag":132,"props":133,"children":134},"li",{},[135],{"type":54,"value":136},"The module name for which migrations were generated",{"type":48,"tag":132,"props":138,"children":139},{},[140],{"type":54,"value":141},"Migration file name or location",{"type":48,"tag":132,"props":143,"children":144},{},[145],{"type":54,"value":146},"Any errors or warnings",{"type":48,"tag":132,"props":148,"children":149},{},[150,152,158],{"type":54,"value":151},"Next steps (running ",{"type":48,"tag":68,"props":153,"children":155},{"className":154},[],[156],{"type":54,"value":157},"npx medusa db:migrate",{"type":54,"value":159}," to apply the migrations)",{"items":161,"total":250},[162,179,195,208,220,227,237],{"slug":163,"name":163,"fn":164,"description":165,"org":166,"tags":167,"stars":24,"repoUrl":25,"updatedAt":178},"building-admin-dashboard-customizations","customize Medusa Admin dashboard UI","Load automatically when planning, researching, or implementing Medusa Admin dashboard UI (widgets, custom pages, forms, tables, data loading, navigation). REQUIRED for all admin UI work in ALL modes (planning, implementation, exploration). Contains design patterns, component usage, and data loading patterns that MCP servers don't provide.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[168,171,174,175],{"name":169,"slug":170,"type":16},"E-commerce","e-commerce",{"name":172,"slug":173,"type":16},"Frontend","frontend",{"name":9,"slug":8,"type":16},{"name":176,"slug":177,"type":16},"UI Components","ui-components","2026-04-06T18:29:57.203659",{"slug":180,"name":180,"fn":181,"description":182,"org":183,"tags":184,"stars":24,"repoUrl":25,"updatedAt":194},"building-storefronts","implement Medusa storefront features","Load automatically when planning, researching, or implementing Medusa storefront features (calling custom API routes, SDK integration, React Query patterns, data fetching). REQUIRED for all storefront development in ALL modes (planning, implementation, exploration). Contains SDK usage patterns, frontend integration, and critical rules for calling Medusa APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[185,186,189,190,191],{"name":169,"slug":170,"type":16},{"name":187,"slug":188,"type":16},"Engineering","engineering",{"name":172,"slug":173,"type":16},{"name":9,"slug":8,"type":16},{"name":192,"slug":193,"type":16},"React","react","2026-04-06T18:29:55.957429",{"slug":196,"name":196,"fn":197,"description":198,"org":199,"tags":200,"stars":24,"repoUrl":25,"updatedAt":207},"building-with-medusa","implement Medusa backend features","Load automatically when planning, researching, or implementing ANY Medusa backend features (custom modules, API routes, workflows, data models, module links, business logic). REQUIRED for all Medusa backend work in ALL modes (planning, implementation, exploration). Contains architectural patterns, best practices, and critical rules that MCP servers don't provide.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[201,202,205,206],{"name":14,"slug":15,"type":16},{"name":203,"slug":204,"type":16},"Data Modeling","data-modeling",{"name":169,"slug":170,"type":16},{"name":9,"slug":8,"type":16},"2026-04-06T18:29:54.652389",{"slug":209,"name":209,"fn":210,"description":211,"org":212,"tags":213,"stars":24,"repoUrl":25,"updatedAt":219},"creating-agents-in-medusa","build admin-facing AI agents in Medusa","Use when building an internal admin-facing AI agent in a Medusa project. These agents are operated by merchants and store operators — not customers. Covers data models, module service, agent runtime (tools, system prompt, streamText), streaming API routes (NDJSON), and admin UI chat extensions. Load for any internal agent type: store operations assistant, product audit, cohort analysis, customer service tooling for support staff, etc. Do NOT use for customer-facing agents (storefront chatbots, buyer-side assistants).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[214,217,218],{"name":215,"slug":216,"type":16},"Agents","agents",{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-14T05:42:09.367168",{"slug":4,"name":4,"fn":5,"description":6,"org":221,"tags":222,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[223,224,225,226],{"name":14,"slug":15,"type":16},{"name":19,"slug":20,"type":16},{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},{"slug":228,"name":228,"fn":229,"description":230,"org":231,"tags":232,"stars":24,"repoUrl":25,"updatedAt":236},"db-migrate","run database migrations in Medusa","Run database migrations in Medusa",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[233,234,235],{"name":19,"slug":20,"type":16},{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},"2026-04-06T18:29:52.187377",{"slug":238,"name":238,"fn":239,"description":240,"org":241,"tags":242,"stars":24,"repoUrl":25,"updatedAt":249},"learning-medusa","guide Medusa development learning","Load automatically when user asks to learn Medusa development (e.g., \"teach me how to build with medusa\", \"guide me through medusa\", \"I want to learn medusa\"). Interactive guided tutorial where Claude acts as a coding bootcamp instructor, teaching step-by-step with checkpoints and verification.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[243,244,245,246],{"name":14,"slug":15,"type":16},{"name":169,"slug":170,"type":16},{"name":9,"slug":8,"type":16},{"name":247,"slug":248,"type":16},"Templates","templates","2026-04-06T18:29:58.461689",17,{"items":252,"total":250},[253,260,268,275,281,288,294,301,318,330,343,356],{"slug":163,"name":163,"fn":164,"description":165,"org":254,"tags":255,"stars":24,"repoUrl":25,"updatedAt":178},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[256,257,258,259],{"name":169,"slug":170,"type":16},{"name":172,"slug":173,"type":16},{"name":9,"slug":8,"type":16},{"name":176,"slug":177,"type":16},{"slug":180,"name":180,"fn":181,"description":182,"org":261,"tags":262,"stars":24,"repoUrl":25,"updatedAt":194},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[263,264,265,266,267],{"name":169,"slug":170,"type":16},{"name":187,"slug":188,"type":16},{"name":172,"slug":173,"type":16},{"name":9,"slug":8,"type":16},{"name":192,"slug":193,"type":16},{"slug":196,"name":196,"fn":197,"description":198,"org":269,"tags":270,"stars":24,"repoUrl":25,"updatedAt":207},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[271,272,273,274],{"name":14,"slug":15,"type":16},{"name":203,"slug":204,"type":16},{"name":169,"slug":170,"type":16},{"name":9,"slug":8,"type":16},{"slug":209,"name":209,"fn":210,"description":211,"org":276,"tags":277,"stars":24,"repoUrl":25,"updatedAt":219},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[278,279,280],{"name":215,"slug":216,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":282,"tags":283,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[284,285,286,287],{"name":14,"slug":15,"type":16},{"name":19,"slug":20,"type":16},{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},{"slug":228,"name":228,"fn":229,"description":230,"org":289,"tags":290,"stars":24,"repoUrl":25,"updatedAt":236},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[291,292,293],{"name":19,"slug":20,"type":16},{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},{"slug":238,"name":238,"fn":239,"description":240,"org":295,"tags":296,"stars":24,"repoUrl":25,"updatedAt":249},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[297,298,299,300],{"name":14,"slug":15,"type":16},{"name":169,"slug":170,"type":16},{"name":9,"slug":8,"type":16},{"name":247,"slug":248,"type":16},{"slug":302,"name":302,"fn":303,"description":304,"org":305,"tags":306,"stars":24,"repoUrl":25,"updatedAt":317},"mcloud-deployments","manage Medusa Cloud deployments","Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing deployments, checking deployment status, or reading build output for debugging build failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[307,310,313,314],{"name":308,"slug":309,"type":16},"Deployment","deployment",{"name":311,"slug":312,"type":16},"Logs","logs",{"name":9,"slug":8,"type":16},{"name":315,"slug":316,"type":16},"Observability","observability","2026-05-09T05:40:51.727369",{"slug":319,"name":319,"fn":320,"description":321,"org":322,"tags":323,"stars":24,"repoUrl":25,"updatedAt":329},"mcloud-environments","manage Medusa Cloud environments","Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when managing environment lifecycle, redeploying after variable changes, or starting new builds from source.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[324,325,326],{"name":308,"slug":309,"type":16},{"name":9,"slug":8,"type":16},{"name":327,"slug":328,"type":16},"Operations","operations","2026-07-17T05:31:36.384292",{"slug":331,"name":331,"fn":332,"description":333,"org":334,"tags":335,"stars":24,"repoUrl":25,"updatedAt":342},"mcloud-local","reproduce Cloud builds locally","Execute mcloud local build to reproduce a Cloud build on the local machine. Use when debugging a build-failed deployment without pushing to the tracked branch, iterating on a build fix, or testing build-variable changes locally. Requires Docker and must run inside the project's Git repo.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[336,339,340,341],{"name":337,"slug":338,"type":16},"Debugging","debugging",{"name":308,"slug":309,"type":16},{"name":187,"slug":188,"type":16},{"name":9,"slug":8,"type":16},"2026-07-17T06:05:07.199529",{"slug":344,"name":344,"fn":345,"description":346,"org":347,"tags":348,"stars":24,"repoUrl":25,"updatedAt":355},"mcloud-logs","fetch and stream runtime cloud logs","Execute mcloud logs to fetch and stream runtime logs for Cloud environments. Use when reading backend or storefront logs, filtering by time range, searching for errors, or scoping logs to a specific deployment.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[349,352,353,354],{"name":350,"slug":351,"type":16},"Cloud","cloud",{"name":311,"slug":312,"type":16},{"name":9,"slug":8,"type":16},{"name":315,"slug":316,"type":16},"2026-05-09T05:40:46.707854",{"slug":357,"name":357,"fn":358,"description":359,"org":360,"tags":361,"stars":24,"repoUrl":25,"updatedAt":364},"mcloud-organizations","manage Medusa Cloud organizations","Execute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving organization details including members and subscription.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[362,363],{"name":9,"slug":8,"type":16},{"name":327,"slug":328,"type":16},"2026-05-09T05:40:54.327722"]