From bigcommerce-commerce
Build headless BigCommerce storefronts using Catalyst Next.js template, GraphQL Storefront API, REST APIs, embedded checkout, and decoupled architecture patterns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bigcommerce-commerce:bc-headlessThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Fetch live docs:
https://www.catalyst.dev/ for Catalyst documentationsite:developer.bigcommerce.com headless for headless guidesite:github.com bigcommerce catalyst for Catalyst source and examplesDecouple the frontend from BigCommerce:
BigCommerce's official Next.js reference storefront:
npx create-catalyst-storefront@latest my-store
Prompts for:
my-store/
├── app/ # Next.js App Router pages
│ ├── (default)/ # Default locale group
│ │ ├── page.tsx # Homepage
│ │ ├── product/ # Product pages
│ │ ├── category/ # Category pages
│ │ ├── cart/ # Cart page
│ │ └── account/ # Customer account
│ └── layout.tsx # Root layout
├── client/ # BigCommerce API client
│ ├── queries/ # GraphQL queries
│ └── mutations/ # GraphQL mutations
├── components/ # React components
├── lib/ # Utilities
├── public/ # Static assets
├── .env.local # Environment variables
├── next.config.js # Next.js config
├── tailwind.config.js # Tailwind config
└── package.json
BIGCOMMERCE_STORE_HASH=your_store_hash
BIGCOMMERCE_ACCESS_TOKEN=your_access_token
BIGCOMMERCE_CHANNEL_ID=1
BIGCOMMERCE_STOREFRONT_TOKEN=your_storefront_token
BIGCOMMERCE_CUSTOMER_IMPERSONATION_TOKEN=your_token
Fetch data in Next.js Server Components using the GraphQL client:
// app/product/[slug]/page.tsx
async function ProductPage({ params }: { params: { slug: string } }) {
const product = await getProduct({ path: `/${params.slug}` });
return <ProductDetail product={product} />;
}
For interactive features (cart, search-as-you-type):
Embed BigCommerce's checkout in your headless site:
redirect_urls.checkout_url@bigcommerce/checkout-sdk embedCheckout()Full API-driven checkout:
BigCommerce + headless enables composable architecture:
Fetch the Catalyst documentation and BigCommerce headless guide for exact setup steps, GraphQL queries, and current best practices before implementing.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin bigcommerce-commerceProvides Next.js App Router patterns for BigCommerce headless storefronts: Server/Client Components, data fetching with ISR/GraphQL, middleware, API routes, Catalyst.
Builds headless Shopify storefronts using the Storefront API and Cart API. Covers client setup, product queries, cart mutations, and Hydrogen integration.
Builds Next.js storefronts for Saleor with GraphQL client setup (urql/Apollo), channel routing, Tailwind CSS, server components, checkout flow, and SEO.