saleor-storefront

saleor-storefront is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 43 tokens per session (1,667 once invoked), scanned A, original, MIT.

A guide to building a Next.js storefront for Saleor, an online-store platform. Next.js is a framework for React websites; the guide covers its routing, server rendering, GraphQL connection, checkout, styling, channels, and search-engine settings.

In plain words
What is it for?
Use it to build product pages and checkout flows, configure a GraphQL client, route by channel, style with Tailwind CSS, use server components, and prepare the site for search engines.
Why use it?
It shows how a customer-facing website connects to Saleor's API while supporting different sales channels. This avoids piecing together storefront, checkout, and deployment conventions separately.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the saleor-commerce plugin — 21 skills, 1 agent shipped together

Good fit Use it to build product pages and checkout flows, configure a GraphQL client, route by channel, style with Tailwind CSS, use server components, and prepare the site for search engines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/saleor-storefront
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OrcaQubits/agentic-commerce-skills-plugins --skill saleor-storefront
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install saleor-commerce, the plugin that ships this one along with the rest of its 21 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for saleor-storefront

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/saleor-storefront/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/saleor-storefront)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/saleor-storefront"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/saleor-storefront/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for saleor-storefront

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/saleor-storefront"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/saleor-storefront.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01667
Opus 5 $0.00022 $0.00834
Sonnet 5 $0.00009 $0.00333
Haiku 4.5 $0.00004 $0.00167

Measured 2d ago against content hash ff4fbc48444a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-16, from the pricing page.

Security

Grade A, and why

saleor-storefront scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

saleor-commerce/skills/saleor-storefront/SKILL.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Saleor Next.js Storefront

Before writing code

Fetch live docs:

  1. Fetch https://docs.saleor.io/quickstart/storefront for storefront development guide
  2. Web-search site:docs.saleor.io storefront GraphQL client setup for client configuration
  3. Web-search site:github.com saleor/storefront nextjs for latest storefront starter source
  4. Web-search site:docs.saleor.io checkout flow storefront for checkout integration
  5. Web-search site:docs.saleor.io channel storefront routing for multi-channel setup

Storefront Architecture

Saleor storefronts are headless -- they consume the GraphQL API over HTTP:

Layer Component
Frontend Next.js App Router (SSR / RSC)
GraphQL Client urql, Apollo Client, or graphql-request
API Saleor GraphQL endpoint (/graphql/)
Styling Tailwind CSS (official starter)
Deployment Vercel, Netlify, or any Node.js host

GraphQL Client Options

Client Strengths Best For
urql Lightweight, extensible, SSR-friendly Official starter default
Apollo Client Mature ecosystem, normalized cache Complex caching needs
graphql-request Minimal, no framework dependency Simple server-side fetching
fetch (raw) Zero dependencies One-off queries in server components

Client Setup Pattern

// lib/graphql-client.ts
// Fetch live docs for current client initialization
import { createClient, cacheExchange, fetchExchange } from "urql"

export const client = createClient({
  url: process.env.NEXT_PUBLIC_SALEOR_API_URL!,
  exchanges: [cacheExchange, fetchExchange],
})

Environment Variables

Variable Purpose
NEXT_PUBLIC_SALEOR_API_URL Saleor GraphQL endpoint URL
SALEOR_API_URL Server-side only API URL (if different)
NEXT_PUBLIC_DEFAULT_CHANNEL Default channel slug
NEXT_PUBLIC_STOREFRONT_URL Public storefront URL (for SEO)

Channel-Based URL Routing

Read the full file on GitHub · 176 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 176 lines · 43 tokens per session scan A ff4fbc48444a

Subscribe to this mod's changes

saleor-storefront is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 1,667 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.