sfnext-hybrid-storefronts

sfnext-hybrid-storefronts is a skill for Claude Code from SalesforceCommerceCloud/b2c-developer-tooling. It costs 194 tokens per session (2,175 once invoked), scanned A, original, Apache-2.0.

A guide for running a new Storefront Next shop beside an older SFRA or SiteGenesis shop. Traffic can be sent to either system while login and cart information are shared.

In plain words
What is it for?
Use it to plan migration, configure local proxying, connect sessions, and route selected URLs between the old and new storefronts.
Why use it?
It supports a gradual migration, so a shop can move to the new system without replacing every page at once.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the storefront-next plugin — 25 skills shipped together

Good fit Use it to plan migration, configure local proxying, connect sessions, and route selected URLs between the old and new storefronts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-hybrid-storefronts
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 SalesforceCommerceCloud/b2c-developer-tooling --skill sfnext-hybrid-storefronts
Clone the repo
git clone --depth 1 https://github.com/SalesforceCommerceCloud/b2c-developer-tooling

Made for: Claude Code.

Or install storefront-next, the plugin that ships this one along with the rest of its 25 skills.

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 sfnext-hybrid-storefronts

README.md
[![agentmods](https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-hybrid-storefronts/github.svg)](https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-hybrid-storefronts)
Your own site
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-hybrid-storefronts"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-hybrid-storefronts/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 sfnext-hybrid-storefronts

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-hybrid-storefronts"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-hybrid-storefronts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,175 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00194 $0.02175
Opus 5.5 $0.00078 $0.00870
Sonnet 5.5 $0.00039 $0.00435
Haiku 4.5 $0.00019 $0.00217

Measured 1mo ago against content hash f718b89289b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sfnext-hybrid-storefronts 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 1mo 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.

skills/storefront-next/skills/sfnext-hybrid-storefronts/SKILL.md · 94 lines

How it starts

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

Hybrid Storefronts

A hybrid storefront serves some pages from Storefront Next (on Managed Runtime) and the rest from SFRA/SiteGenesis on the B2C instance, under one hostname.

  • Production: Cloudflare eCDN routes by URL pattern (see b2c-cli:b2c-ecdn). The dev proxy is never used.
  • Local development: a Vite dev-server plugin proxies non-Storefront-Next paths to your sandbox so both appear at http://localhost:5173. It only runs under pnpm dev and is a no-op in production builds. Full guide: docs/README-HYBRID-PROXY.md in your project.

Two sets of configuration

Set Variables Where it applies
App config PUBLIC__app__hybrid__enabled, PUBLIC__app__hybrid__legacyRoutes Every environment (local, staging, production)
Dev proxy HYBRID_PROXY_ENABLED, SFCC_ORIGIN, HYBRID_ROUTING_RULES, HYBRID_PROXY_LOCALE, PUBLIC__app__defaultSiteId pnpm dev only
PUBLIC__app__hybrid__enabled=true
PUBLIC__app__hybrid__legacyRoutes='["/cart", "/checkout", "/product/:id", "/categoryLv1/*"]'

HYBRID_PROXY_ENABLED=true
SFCC_ORIGIN=https://zzrf-001.dx.commercecloud.salesforce.com   # your sandbox hostname, not the SCAPI host
HYBRID_PROXY_LOCALE=en-GB                                       # optional; falls back to i18n fallbackLng
HYBRID_ROUTING_RULES='(http.request.uri.path matches "^/$" or http.request.uri.path matches "^/login.*" or http.request.uri.path matches "^/logout.*" or http.request.uri.path matches "^/signup.*" or http.request.uri.path matches "^/reset-password.*" or http.request.uri.path matches "^/account.*" or http.request.uri.path matches "^/social-callback.*" or http.request.uri.path matches "^/product.*" or http.request.uri.path matches "^/category.*" or http.request.uri.path matches "^/search.*" or http.request.uri.path matches "^/resource.*" or http.request.uri.path matches "^/action/.*")'

HYBRID_ROUTING_RULES lists what Storefront Next owns (same Cloudflare http.request.uri.path matches "<regex>" clauses, joined by or, as your eCDN rules). Anything not matching is proxied to SFRA. ^/resource.* and ^/action/.* are always required. Include every auth route you migrated (/login, /logout, /signup, /reset-password, /social-callback) or login breaks. legacyRoutes is the inverse: what SFRA owns, so a <Link> to it forces a full page load instead of a React Router 404. Keep both in sync with the production eCDN rules.

Read the full file on GitHub · 94 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -55 lines · +137 tokens per session f718b89289b4
  2. 2mo ago First seen · 149 lines · 57 tokens per session scan A 1e70777633f3

Subscribe to this mod's changes

sfnext-hybrid-storefronts is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (58 stars, last pushed 7d ago), licensed Apache-2.0. It adds 194 tokens to every session and 2,175 once invoked, about $0.0008 per session on Opus 5.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-03.

Related

sfnext-hybrid-storefronts compared with skills from other repositories

sfnext-hybrid-storefronts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sfnext-hybrid-storefrontsSalesforceCommerceCloud/b2c-developer-toolingSkill587d agoApache-2.0A194Claude Code
author-labelsvercel/vercelSkill17k5d agoApache-2.0A25Claude Code, Codex
x-netsx-cmd/x-cmdSkill4.8k6d agoApache-2.0A69Claude Code, Codex
x-osvx-cmd/x-cmdSkill4.8k6d agoApache-2.0A72Claude Code, Codex
x-uptimex-cmd/x-cmdSkill4.8k6d agoApache-2.0A67Claude Code, Codex
x-mankierx-cmd/x-cmdSkill4.8k6d agoApache-2.0A62Claude Code, Codex
wikipediax-cmd/x-cmdSkill4.8k6d agoApache-2.0A49Claude Code, Codex