sfnext-extensions

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

A guide to building modular features for Storefront Next shops. These extensions can add interface components, pages, translations, and providers through defined insertion points.

In plain words
What is it for?
Use it to create extension modules, place components in existing pages, add routes, add translated text, and connect integration markers.
Why use it?
It helps add features without changing the storefront's core files, while checking first that an existing section is not being duplicated.

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 create extension modules, place components in existing pages, add routes, add translated text, and connect integration markers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-extensions
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-extensions
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-extensions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-extensions"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-extensions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,086 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.00094 $0.02086
Opus 5.5 $0.00038 $0.00834
Sonnet 5.5 $0.00019 $0.00417
Haiku 4.5 $0.00009 $0.00209

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

Security

Grade A, and why

sfnext-extensions 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-extensions/SKILL.md · 119 lines

How it starts

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

Storefront Next Extensions

An extension is a self-contained folder under src/extensions/<name>/ that adds UI, routes, providers, translations, config and server hooks to the storefront without rewriting base files. The base declares named slots (<UITarget targetId="..." />); an extension's target-config.json says which of its components fill which slot.

Your project ships with several extensions already (store locator, BOPIS, multiship, and demo extensions such as BNPL and ratings and reviews). Look at them before building: they are the reference implementations. See Extension Examples.

Decision gate: should this be an extension?

Run this before writing code; the full walkthrough is in Base Audit.

  1. Trace the route in src/routes/ down to the place you want to change. Does the base already render equivalent content there?
  2. Already rendered: restyle it (tokens or a component variant, see storefront-next:sfnext-theming) or fill an existing slot; do not add a parallel copy.
  3. Not rendered and a slot exists: write an extension.
  4. Not rendered and no slot fits: edit the base route or component directly (you own the whole project) and, if it is a reusable seam, add a <UITarget> there so later extensions can plug in.

Discover what already exists:

pnpm extensions:list          # all UITarget ids and server action hook ids (add --json for tooling)
sfnext extensions list        # installed extensions
rg "UITarget" src/            # where a slot is rendered

Structure

src/extensions/my-extension/
├── target-config.json     # which components/providers/hooks plug in where
├── components/            # UI, including the components named in target-config.json
├── routes/                # auto-registered routes (flat-route file naming)
├── providers/             # context providers (listed in target-config.json)
├── hooks/  context/  middlewares/  stores/   # as needed
├── locales/<lang>/translations.json
├── config.ts              # optional client-side defaults
├── server-config.ts       # optional server-only defaults
└── README.md

Read the full file on GitHub · 119 lines

Files

What ships with it

5 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 · -141 tokens per session 091feb5ded9c
  2. 1mo ago Changed · -24 lines · +139 tokens per session 4e4e7833c422
  3. 2mo ago First seen · 143 lines · 96 tokens per session scan A c3adaeddfd91

Subscribe to this mod's changes

sfnext-extensions is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (58 stars, last pushed 7d ago), licensed Apache-2.0. It adds 94 tokens to every session and 2,086 once invoked, about $0.0004 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-extensions compared with skills from other repositories

sfnext-extensions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sfnext-extensionsSalesforceCommerceCloud/b2c-developer-toolingSkill587d agoApache-2.0A94Claude Code
check-orderorval-labs/orvalSkill6.7kyesterdayMITA21Claude Code, Codex
reactericrisco/rsc-harnessSkill6824d agoMITA70Claude Code, Codex
ask-sonnerericrisco/rsc-harnessSkill6824d agoMITA71Claude Code, Codex
goofish-reply-buyerfancyboi999/goofish-cliSkill5224d agoApache-2.0A160Claude Code
daiso-clihmmhmmhm/daiso-mcpSkill355todayMITA165Claude Code, Codex
agent-dependenciesNVIDIA/elementsSkill122yesterdayApache-2.0A73Claude Code, Codex