sfnext-page-designer

sfnext-page-designer is a skill for Claude Code from SalesforceCommerceCloud/b2c-developer-tooling. It costs 221 tokens per session (3,276 once invoked), scanned A, original, Apache-2.0.

A guide to connecting Page Designer, Commerce Cloud's visual page editor for merchants, with Storefront Next React pages.

In plain words
What is it for?
Use it to create editable pages and components, define their settings, register them, load page data, and render named content regions.
Why use it?
It lets developers expose editable page areas while keeping the merchant's layout and content separate from the code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

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

Good fit Use it to create editable pages and components, define their settings, register them, load page data, and render named content regions.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-page-designer"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-page-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 221 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,276 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.00221 $0.03276
Opus 5.5 $0.00088 $0.01310
Sonnet 5.5 $0.00044 $0.00655
Haiku 4.5 $0.00022 $0.00328

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

Security

Grade A, and why

sfnext-page-designer 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-page-designer/SKILL.md · 203 lines

How it starts

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

Page Designer in Storefront Next

In Storefront Next your React components are the Page Designer components. You annotate them with decorators, the build generates Business Manager metadata (JSON) from those decorators, and at runtime a route loader fetches the page structure from the Shopper Experience API and <Region> renders it.

The in-project guide is docs/README-PAGE-DESIGNER.md and the rules in AGENTS.md apply; this skill is the task-oriented path through them. Where the guide and the source disagree, trust the source.

Pieces and where they live

Piece Location in your project
Decorators (Component, AttributeDefinition, RegionDefinition, PageType) @/lib/decorators (src/lib/decorators/)
Page fetch with per-component loader promises fetchPageWithComponentData in @/lib/page-designer/page-loader.server
Single-component fetch (preview, embedded) fetchComponentWithComponentData in @/lib/page-designer/component-loader.server
Region renderer Region from @/components/region
Generated registry (do not hand-edit) src/lib/page-designer/static-registry.ts
Runtime hooks (usePageDesignerMode) @salesforce/storefront-next-runtime/design/react/core
Design/preview mode detection in loaders isDesignModeActive / isPreviewModeActive from @salesforce/storefront-next-runtime/design/mode
Generated Business Manager metadata cartridges/app_storefrontnext_base/cartridge/experience/{components,pages,aspects}

The runtime package's /design entry exports only the registry. Decorators come from your project, not from @salesforce/storefront-next-runtime.

Workflow

  1. Create or edit the component (metadata class, props, default export, fallback, optional loader) under src/components/<name>/index.tsx.
  2. Run pnpm dev (or pnpm build). The Vite plugin scans src/components for @Component and rewrites the registry between the STATIC_REGISTRY_START/END markers.
  3. pnpm cartridge:generate writes the metadata JSON (pnpm build runs it for you).
  4. pnpm cartridge:validate checks the generated JSON against the schemas. Generation also fails on an invalid attribute config (for example a bad searching combination).
  5. pnpm cartridge:deploy uploads the cartridge to the B2C instance (pnpm cartridge:deploy -- --delete removes old cartridge files first). The optional MCP tool cartridge_deploy does the same. See b2c-cli:b2c-code for credentials and code-version handling.
  6. In Business Manager, merchants build pages from the new palette entries. See Business Manager.

Read the full file on GitHub · 203 lines

Files

What ships with it

6 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 · -1 tokens per session c08edbc7986c
  2. 2mo ago Changed · +21 lines · +138 tokens per session da2e9915fad5
  3. 3mo ago First seen · 182 lines · 84 tokens per session scan A 6e50a91928d9

Subscribe to this mod's changes

sfnext-page-designer is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (58 stars, last pushed today), licensed Apache-2.0. It adds 221 tokens to every session and 3,276 once invoked, about $0.0009 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-page-designer compared with skills from other repositories

sfnext-page-designer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sfnext-page-designerSalesforceCommerceCloud/b2c-developer-toolingSkill58todayApache-2.0A221Claude Code
check-orderorval-labs/orvalSkill6.7kyesterdayMITA21Claude Code, Codex
reactericrisco/rsc-harnessSkill7093d agoMITA70Claude Code, Codex
ask-sonnerericrisco/rsc-harnessSkill7093d agoMITA71Claude Code, Codex
goofish-reply-buyerfancyboi999/goofish-cliSkill5355d agoApache-2.0A160Claude Code
daiso-clihmmhmmhm/daiso-mcpSkill357todayMITA165Claude Code, Codex
agent-dependenciesNVIDIA/elementsSkill124todayApache-2.0A73Claude Code, Codex