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.
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-componentsnpx skills add SalesforceCommerceCloud/b2c-developer-tooling --skill sfnext-componentsgit clone --depth 1 https://github.com/SalesforceCommerceCloud/b2c-developer-toolingWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00074 | $0.01342 |
| Opus 5 | $0.00037 | $0.00671 |
| Sonnet 5 | $0.00015 | $0.00268 |
| Haiku 4.5 | $0.00007 | $0.00134 |
Grade A, and why
sfnext-components 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Components Skill
This skill covers component development patterns in Storefront Next — createPage HOC, Suspense boundaries, shadcn/ui integration, and Tailwind CSS styling.
Page Component Pattern
Most routes export a default function component that receives loaderData as props:
import { Suspense } from 'react';
import { Await } from 'react-router';
import { SeoMeta } from '@/components/seo-meta';
type ProductPageData = {
product: Promise<Product>;
reviews: Promise<Reviews>;
};
export default function ProductPage({ loaderData }: { loaderData: ProductPageData }) {
return (
<>
<SeoMeta title="Product" />
<Suspense fallback={<ProductHeaderSkeleton />}>
<Await resolve={loaderData.product}>
{(product) => <ProductHeader product={product} />}
</Await>
</Suspense>
<Suspense fallback={<ReviewsSkeleton />}>
<Await resolve={loaderData.reviews}>
{(reviews) => <ProductReviews reviews={reviews} />}
</Await>
</Suspense>
</>
);
}
createPage HOC (Optional)
For pages needing standardized Suspense wrappers and page key management:
import { createPage } from '@/components/create-page';
export default createPage({
component: ProductView,
fallback: <ProductSkeleton />,
});
Suspense Boundaries and Code Splitting
Use <Suspense> + <Await> for streaming loader data, and lazy() for code-splitting heavy components:
import { lazy, Suspense } from 'react';
// Code-split a heavy component
const CustomerReviewsSection = lazy(() =>
import('@/components/customer-reviews-section/customer-reviews-section')
);
export default function ProductPage({ loaderData }: { loaderData: ProductPageData }) {
return (
<>
{/* Stream loader data */}
<Suspense fallback={<ProductHeaderSkeleton />}>
<Await resolve={loaderData.product}>
{(product) => <ProductHeader product={product} />}
</Await>
</Suspense>
{/* Code-split component */}
<Suspense fallback={<ReviewsSkeleton />}>
<CustomerReviewsSection productId={loaderData.productId} />
</Suspense>
</>
);
}
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.
- 3d ago First seen · 192 lines · 74 tokens per session scan A ec1ac9e84e1b
sfnext-components is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (53 stars, last pushed 3d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,342 once invoked, about $0.0004 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-08-30.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
material-ui-nextjs
Integrates Material UI with Next.js App and Pages routers using @mui/material-nextjs, Emotion cache providers, next/font, CSS layers with Tailwind/CSS Modules, Link component prop patterns, CSS theme variables SSR notes, and App Router useSearchParams + Suspense. Use when setting up or debugging MUI in a Next.js app.
material-ui-styling
Chooses the right Material UI styling approach (sx, styled, theme overrides, global CSS) from official MUI guidance. Use when styling @mui/material components, customizing themes, overriding slots, or comparing sx vs styled.
material-ui-tailwind
Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.
senior-frontend
Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX…
weapp-tailwindcss-lynx
为 ReactLynx + Rspeedy 配置 @weapp-tailwindcss/lynx 0.3.2 与 Tailwind CSS 4,覆盖 Rspeedy plugin、Lynx 原生 CSS、静态 className、theme 变量静态化、任意值、encoder 警告和 iOS/Android 运行端验证。Use for ReactLynx, Rspeedy, Lynx native CSS, arbitrary value compatibility, or Lynx bundle styling;不用于 React Native、uni-app App、Web 或普通小程序构建。.