building-storefronts
Frontend integration guide for building Medusa storefronts using the JS SDK and React Query patterns.
Install
npx skills add https://github.com/medusajs/medusa-agent-skills --skill building-storefrontsStats
| Total installs | 883 |
| Weekly installs | 883 |
| GitHub stars | 115 |
| First seen | Jan 26, 2026 |
| Source | @medusajs/medusa-agent-skills |
Summary
- Always use the Medusa JS SDK for all API requests—never use regular fetch(), as it lacks required headers (publishable API key for store routes, auth for admin routes)
- Pass plain JavaScript objects to SDK methods; never use JSON.stringify() on body parameters, as the SDK handles serialization automatically
- Use useQuery for GET requests and useMutation for POST/DELETE requests, invalidating queries in onSuccess callbacks to refresh data after mutations
- Prices from Medusa are stored as-is ($49.99 = 49.99, not in cents)—display them directly without dividing by 100
- Load the reference file (references/frontend-integration.md) before implementing storefront features for complete SDK patterns, React Query examples, and error handling strategies
Tags
Related skills
| Skill | Installs | vs building-storefronts |
|---|---|---|
| assistant-ui | 904 | +21 |
| nuxt-modules | 944 | +61 |
| nuxt-seo | 1,046 | +163 |
| graphql-operations | 925 | +42 |
| liquid-theme-standards | 970 | +87 |
FAQ
- How many installs does building-storefronts have?
- building-storefronts has 883 total installs and 883 installs this week.
- Where is building-storefronts hosted?
- building-storefronts is published by @medusajs/medusa-agent-skills at https://github.com/medusajs/medusa-agent-skills.
- How many GitHub stars does building-storefronts have?
- building-storefronts has 115 GitHub stars.
- When was building-storefronts first indexed?
- OrangeBot.AI first indexed building-storefronts on Jan 26, 2026.
- How do I install building-storefronts?
- Run: npx skills add https://github.com/medusajs/medusa-agent-skills --skill building-storefronts