
Description
Building Storefronts is an agent skill for developers who build a storefront on Medusa. It loads automatically when an agent plans, researches or implements Medusa storefront features, and it covers how the frontend talks to the Medusa backend. The guidance includes calling custom API routes from the storefront, integrating the Medusa SDK in frontend applications, and fetching data with React Query. It also covers mutations with optimistic updates, error handling, and cache invalidation after a change, so that the screens show current data. The skill is explicit that its quick reference is not enough for implementation, and it tells the agent to load the detailed reference files before writing any storefront integration code. A companion skill, building-with-medusa, covers the backend API routes that the storefront calls, so the two are meant to be used together. The skill is published in the medusajs medusa-agent-skills repository on GitHub, which is open source. Its security audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.…
Highlights
- Calls custom Medusa API routes from the storefront
- Medusa SDK integration in frontend apps
- React Query fetching and mutations
- Optimistic updates and cache invalidation
Ratings & Reviews
No ratings yet
Be the first to rate building-storefronts.
People also visit

storefront-best-practices
ALWAYS use this skill when working on ecommerce storefronts, online stores
building-storefronts FAQ
What is this skill for?
It guides an AI agent through building the frontend of a Medusa storefront, including SDK calls, custom API routes and data fetching.
Who should use it?
Developers building a storefront on Medusa who use an AI coding agent to write the frontend code.
When does it load?
Automatically, when the agent plans, researches or implements Medusa storefront features.
Does it cover the backend?
Not fully. Backend API routes are covered by the companion skill building-with-medusa.
How do I install it?
Run npx skills add https://github.com/medusajs/medusa-agent-skills --skill building-storefronts.
Is it free?
The skill is open source on GitHub and is listed as free on skills.sh.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best building-storefronts alternatives?
Popular alternatives to building-storefronts include building-with-medusa, storefront-best-practices and learning-medusa. See all building-storefronts alternatives








