Bc Headless logo

Bc Headless

Organization
OrcaQubits
bc-headless

Build headless commerce with BigCommerce — Catalyst (Next.js reference storefront), GraphQL Storefront API, server-side APIs, embedded checkout, and headless architecture patterns. Use when building decoupled storefronts or integrating BigCommerce as a headless backend.

Overview

PublisherOrcaQubits
Repositoryagentic-commerce-skills-plugins
Skill namebc-headless
Stars
40
Forks
17
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by OrcaQubits on GitHub. Read the source before you install it.

Installation

Install the Bc Headless AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-headless
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/bigcommerce-commerce/skills/bc-headless .claude/skills/bc-headless
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bc Headless in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bc Headless on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bc Headless is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

BigCommerce Headless Commerce

Before writing code

Fetch live docs:

  1. Fetch https://www.catalyst.dev/ for Catalyst documentation
  2. Web-search site:developer.bigcommerce.com headless for headless guide
  3. Web-search site:github.com bigcommerce catalyst for Catalyst source and examples

Headless Architecture

What Headless Means for BigCommerce

Decouple the frontend from BigCommerce:

  • BigCommerce serves as the commerce backend — catalog, orders, customers, payments
  • Your custom frontend handles presentation — React, Next.js, Vue, etc.
  • Communication via APIs — GraphQL Storefront API and REST API
  • Checkout via Embedded Checkout or Custom Checkout (Checkout API + Payments API)

Why Headless

  • Full frontend control (design, UX, performance)
  • Use modern frameworks (Next.js, Remix, Astro)
  • Composable architecture — mix BigCommerce with CMS, search, etc.
  • Better performance with SSR/SSG/ISR
  • Multi-channel frontend from single BigCommerce backend

Catalyst

What It Is

BigCommerce's official Next.js reference storefront:

  • Built on Next.js 14+ with App Router
  • Uses GraphQL Storefront API for data
  • Tailwind CSS for styling
  • Full-featured: PLP, PDP, cart, checkout, customer account, search
  • Designed as a starting point to fork and customize

Getting Started

bash
npx create-catalyst-storefront@latest my-store

Prompts for:

  • BigCommerce store URL
  • Channel ID
  • Storefront API token

Project Structure

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

Key Environment Variables

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

Data Fetching Patterns

Server Components (Recommended)

Fetch data in Next.js Server Components using the GraphQL client:

typescript
// app/product/[slug]/page.tsx
async function ProductPage({ params }: { params: { slug: string } }) {
  const product = await getProduct({ path: `/${params.slug}` });
  return <ProductDetail product={product} />;
}

Client-Side Fetching

For interactive features (cart, search-as-you-type):

  • Use React hooks with the GraphQL Storefront API
  • Storefront API token for unauthenticated requests
  • Customer impersonation token for personalized data

Caching Strategy

  • Static Generation (SSG) — product and category pages at build time
  • Incremental Static Regeneration (ISR) — revalidate on interval or on-demand
  • Server-Side Rendering (SSR) — cart, checkout, account pages
  • Client-Side — search, cart updates, wishlist

Checkout in Headless

Embedded Checkout (Recommended)

Embed BigCommerce's checkout in your headless site:

  1. Create cart via API → get redirect_urls.checkout_url
  2. Embed using @bigcommerce/checkout-sdk embedCheckout()
  3. BigCommerce handles payment processing (no PCI scope)

Custom Checkout

Full API-driven checkout:

  1. Cart API → Checkout API → Orders API → Payments API
  2. Requires your own checkout UI
  3. Payment processing via Payments API (PCI implications if handling raw card data)
  4. Use tokenized payment methods to reduce PCI scope

Authentication in Headless

Customer Login

  • Use the Customer Login API (JWT-based SSO) to create sessions
  • Or implement custom auth and use Customer Impersonation Tokens for API access
  • Catalyst includes built-in authentication flows

Session Management

  • BigCommerce sessions are cookie-based on the BigCommerce domain
  • For headless: use Customer Login API to set the cookie, then redirect to your domain
  • Or manage auth entirely on your side and use impersonation tokens

Integration with Other Services

Composable Commerce Stack

BigCommerce + headless enables composable architecture:

  • CMS: Contentful, Sanity, Strapi for content
  • Search: Algolia, Bloomreach for product search
  • Personalization: Dynamic Yield, Nosto for recommendations
  • PIM: Akeneo, Salsify for product information
  • OMS: for order management

Best Practices

  • Start with Catalyst — fork and customize rather than building from scratch
  • Use GraphQL Storefront API for frontend data fetching
  • Use REST API for server-side operations (order management, catalog sync)
  • Use Embedded Checkout to avoid PCI scope
  • Implement ISR for product/category pages — balance freshness and performance
  • Use customer impersonation tokens for personalized data
  • Handle webhook events for real-time data sync
  • Set up proper CORS configuration for Storefront API tokens
  • Use environment variables for all credentials

Fetch the Catalyst documentation and BigCommerce headless guide for exact setup steps, GraphQL queries, and current best practices before implementing.

Frequently asked questions

What does the Bc Headless AI skill do?

Build headless commerce with BigCommerce — Catalyst (Next.js reference storefront), GraphQL Storefront API, server-side APIs, embedded checkout, and headless architecture patterns. Use when building decoupled storefronts or integrating BigCommerce as a headless backend.

Why use Bc Headless on TypingMind?

Because you install it once and use it with any model. Bc Headless is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bc Headless in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/bigcommerce-commerce/skills/bc-headless. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bc Headless?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bc Headless?

As many as you like. As long as a model supports skills, you can use Bc Headless with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bc Headless AI skill free?

Yes. It is published on GitHub by OrcaQubits under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇