storefront-next
Agent skills for building Salesforce B2C Storefront Next projects — React 19 storefronts with routing, data fetching, SCAPI, authentication, theming, Page Designer, extensions, SEO, security, testing, and deployment to Managed Runtime.
Part of the B2C Developer Tooling marketplace.
Installation
# Claude Code
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
claude plugin install storefront-next@b2c-developer-tooling
# GitHub Copilot CLI
copilot plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
copilot plugin install storefront-next@b2c-developer-tooling
VS Code (GitHub Copilot): Command Palette → Chat: Install Plugin From Source → enter the repo SalesforceCommerceCloud/b2c-developer-tooling.
Codex: open the repo as a workspace, restart Codex, then install from the B2C Developer Tooling marketplace in the plugin directory.
For file-copy install to any supported IDE, use b2c setup skills storefront-next. See the install guide for details.
What's included
Skills covering the full Storefront Next development lifecycle. Start with sfnext-overview, which routes a task to the right skill and to the guidance that ships inside your project (AGENTS.md, docs/).
Project and delivery
sfnext-overview— start here: task-to-skill map, in-project guidance, CLI and MCP cheat sheetsfnext-project-setup— create a storefront withsfnext create-storefront, prerequisites, project layout, scriptssfnext-configuration—config.server.ts,PUBLIC__environment variables, multi-site, URLs, domains, base pathsfnext-deployment— build and push to Managed Runtime, Page Designer cartridge deployment, pre-launch checkssfnext-quality-gates— lint, format, typecheck, bundle-size and Lighthouse budgets, pre-PR checklist
Application architecture
sfnext-routing— flat-routes file conventions, layouts, site-aware links and navigationsfnext-data-fetching— loaders, actions, API clients,useScapiFetcher, streamingsfnext-revalidation—shouldRevalidatepolicies and keeping data fresh after mutationssfnext-state-management— basket and auth providers, external stores, URL state, optimistic UIsfnext-performance— Suspense, bundle budgets, images, metrics, performance review checklist
Commerce APIs and identity
sfnext-scapi— typed SCAPI clients, custom attributes, and calling custom APIs from your storefrontsfnext-authentication— SLAS session cookies, auth middleware, login flows (passwordless, social, passkeys)sfnext-hybrid-storefronts— run alongside SFRA/SiteGenesis with the hybrid proxy and shared sessionssfnext-security— security headers, Content Security Policy contributors, Turnstile, cookie domain
UI and content
sfnext-components— UI primitives, composite components, variants, Storybook coveragesfnext-theming— rebrand your storefront: design tokens, palette, shape, typography, assetssfnext-page-designer— Page Designer decorators, component registry, regions, cartridge metadatasfnext-extensions— extension targets, installing and creating extensions, the extend-vs-edit decisionsfnext-i18n— translations, locales, currencysfnext-accessibility— accessible components, a11y lint, Storybook and end-to-end accessibility checkssfnext-testing— Vitest unit and route tests, Storybook tests, end-to-end tests
Features and integrations
sfnext-commerce-features— which flags, Business Manager preferences, cartridges, or extensions each storefront feature needssfnext-analytics-consent— analytics adapters (Einstein, Active Data, Data 360) and tracking consentsfnext-seo— SEO metadata, structured data, SEO URL rules, AI answer-engine readiness
See skills/ for the full list.
Related plugins
storefront-next-figma— design-kit companion: duplicate the Storefront Next Figma kit and keep its brand variables in sync with your theme tokens. Pairs withsfnext-theming. Requires the Figma MCP server.figma-to-sfnext-pagedesigner— turn Figma frames into Storefront Next Page Designer components. Requires the Figma MCP server.
License
Apache-2.0. See the repo LICENSE.