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/sdk hooks (useCart, useSession, useSearch).

Do not use this skill for:

  • Visual-only changes — use the faststore-theming skill.
  • Replacing or customizing native components — use the faststore-overrides skill.
  • Extending the GraphQL schema or fetching custom data — use the faststore-data-fetching skill.

Decision rules

Related skills

More from vtex/ai-skills

Installs
1
Repository
vtex/ai-skills
GitHub Stars
12
First Seen
Apr 7, 2026