nextjs-react

nextjs-react is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 51 tokens per session (2,128 once invoked), scanned A, original, MIT.

A coding guide for building Saleor online-storefronts and extensions with Next.js and React. It covers page routing, server and browser components, GraphQL data access, MacawUI components, and Tailwind CSS styling.

In plain words
What is it for?
Use it to create Saleor storefront pages, build Saleor Apps, connect screens to the GraphQL API, and style the interface.
Why use it?
It reduces the need to piece together framework conventions and Saleor-specific patterns while building a storefront or app.

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 create Saleor storefront pages, build Saleor Apps, connect screens to the GraphQL API, and style the interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/nextjs-react
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 nextjs-react
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 nextjs-react

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/nextjs-react/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/nextjs-react)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/nextjs-react"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/nextjs-react/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 nextjs-react

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/nextjs-react"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/nextjs-react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,128 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.00051 $0.02128
Opus 5 $0.00026 $0.01064
Sonnet 5 $0.00010 $0.00426
Haiku 4.5 $0.00005 $0.00213

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

Security

Grade A, and why

nextjs-react 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/nextjs-react/SKILL.md · 201 lines

How it starts

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

Next.js & React for Saleor

Before writing code

Fetch live docs:

  1. Web-search site:nextjs.org docs app for current Next.js App Router documentation
  2. Web-search site:docs.saleor.io storefront for Saleor storefront development guide
  3. Web-search site:github.com saleor storefront for the official Saleor storefront template source
  4. Web-search site:github.com saleor macaw-ui for MacawUI component library reference
  5. Web-search saleor app template Next.js saleor-app-sdk for App development patterns
  6. Fetch https://docs.saleor.io/developer/app-store/overview for App architecture

Next.js App Router Conventions

File Conventions

File Purpose Rendering
layout.tsx Shared layout wrapping child routes Server component (default)
page.tsx Unique UI for a route segment Server component (default)
loading.tsx Loading UI (React Suspense) Server component
error.tsx Error boundary for route segment Client component (required)
not-found.tsx 404 UI for route segment Server component
template.tsx Re-rendered layout (no state persistence) Server component
route.ts API route handler Server-only

Routing Patterns for Saleor Storefronts

Route Segment Purpose
/[channel] Dynamic channel Multi-channel routing
/[channel]/products Product listing Category/collection pages
/[channel]/products/[slug] Product detail Single product page
/[channel]/cart Cart Shopping cart
/[channel]/checkout Checkout Checkout flow
/[channel]/account Account Customer dashboard
/[channel]/search Search Product search results
  • Use dynamic segments [channel] for multi-channel support
  • Use route groups (storefront) and (dashboard) to organize layouts

Server vs Client Components

Decision Matrix

Criterion Server Component Client Component
Data fetching Fetch directly (no waterfall) Use useQuery hooks
SEO critical Yes (HTML in response) No (client-rendered)
Interactivity None (static output) Click, input, state
Hooks Cannot use hooks useState, useEffect, etc.
Bundle size Zero JS sent to client Included in JS bundle

Read the full file on GitHub · 201 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 · 201 lines · 51 tokens per session scan A 4635f1402277

Subscribe to this mod's changes

nextjs-react is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 2,128 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

archestra-dev-frontend

Use when modifying Archestra frontend Next.js/React code, UI components, forms, TanStack Query hooks, generated API client usage, frontend copy, or documentation links.

archestra-ai/archestra · 40 tokens

dflow-phantom-connect

Build Solana wallet-connected apps with Phantom Connect SDKs and DFlow spot trading. Use when user asks to connect a Phantom wallet, integrate Phantom in React, React Native, or vanilla JS, sign messages or transactions, build token-gated pages, mint NFTs, accept crypto payments, or swap/stream tokens with DFlow.…

internet-court/internet-court-skill · 122 tokens

near-dapp

Build NEAR Protocol dApps. Use for: (1) creating new NEAR dApps with create-near-app (Vite+React, Next.js), (2) adding NEAR wallet connection to existing apps with @hot-labs/near-connect and near-connect-hooks, (3) building frontend UI for NEAR smart contracts, (4) integrating wallet sign-in/sign-out, contract calls…

internet-court/internet-court-skill · 98 tokens

weaverse-hydrogen

Build Shopify Hydrogen storefronts with Weaverse — components, schemas, loaders, theming, data fetching, React Router v7, deployment, and advanced features.

Weaverse/shopify-hydrogen-skills · 38 tokens

shopify-hydrogen

Core Shopify Hydrogen APIs — createHydrogenContext, cart handler, CartForm, caching strategies, pagination, SEO, variant selection, analytics, and CSP.

Weaverse/shopify-hydrogen-skills · 37 tokens

vtex-io-react-apps

Apply when building React components under react/ or configuring store blocks in store/ for VTEX IO apps. Covers interfaces.json, contentSchemas.json for Site Editor, VTEX Styleguide for admin apps, and css-handles for storefront styling. Use for creating custom storefront components, admin panels, pixel apps, or any…

vtex/skills · 82 tokens