faststore-state-management
Installation
SKILL.md
FastStore SDK State Management
When this skill applies
Use this skill when:
- You are building any interactive ecommerce feature that involves the shopping cart, user session, product search/filtering, or analytics tracking.
- You need to add, remove, or update cart items.
- You need to read or change session data (currency, locale, sales channel, postal code).
- You need to manage faceted search state (sort order, selected facets, pagination).
- You are working with
@faststore/sdkhooks (useCart,useSession,useSearch).
Do not use this skill for:
- Visual-only changes — use the
faststore-themingskill. - Replacing or customizing native components — use the
faststore-overridesskill. - Extending the GraphQL schema or fetching custom data — use the
faststore-data-fetchingskill.