Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/taurgis/sfcc-dev-mcpnpx agentmods add skills/taurgis/sfcc-dev-mcp/sfcc-sfra-client-side-jsWrote 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.
[](https://agentmods.dev/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-client-side-js)<a href="https://agentmods.dev/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-client-side-js"><img src="https://agentmods.dev/badge/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-client-side-js/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.
<a href="https://agentmods.dev/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-client-side-js"><img src="https://agentmods.dev/badge/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-client-side-js.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01727 |
| Opus 5 | $0.00024 | $0.00864 |
| Sonnet 5 | $0.00010 | $0.00345 |
| Haiku 4.5 | $0.00005 | $0.00173 |
Grade A, and why
sfcc-sfra-client-side-js 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 12d 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 — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SFRA Client-Side JavaScript
Guide for building and extending client-side functionality in SFRA storefronts.
Quick Checklist
[ ] Use `paths` alias for base extension, never edit app_storefront_base
[ ] Register assets in main request context, not remote includes
[ ] Compose client overrides—no `module.superModule` (server-only)
[ ] Generate controller URLs server-side; pass via `data-*`
[ ] Always include CSRF token on POST (form.serialize() or manual)
[ ] Cache selectors & delegate events for dynamic regions
[ ] Batch DOM updates; debounce high-frequency handlers
[ ] Escape dynamic data inserted into DOM (XSS prevention)
[ ] Provide keyboard & screen reader accessible interactions
[ ] Namespace events for clean teardown
Architecture Overview
SFRA separates:
- Server runtime resolution (cartridge path in BM) – affects controllers, scripts, ISML
- Client build resolution (compile-time
pathsaliases) – affectsclient/default/
Client behavior is determined at build time, not by the live cartridge path.
Directory Structure
app_custom_mybrand/
cartridge/
client/
default/
js/ # Feature modules
scss/ # Sass source
Guidelines:
- Never modify
app_storefront_basedirectly - Mirror base file locations when extending
- Group by domain (
product/,checkout/)
Build Process
npm run compile:js
npm run compile:scss
Key distinction: Changing the BM cartridge path does not affect already compiled bundles. Recompile after structural changes.
Asset Loading
Register assets in ISML:
assets.addJs('/js/product/detail.js');
assets.addCss('/css/product.css');
Caveat: Assets added inside remote includes live only in that request and won't appear in the parent page.
Client-Side Extension
Extension uses build-time composition, not runtime inheritance.
1. Configure paths in package.json
{
"paths": {
"base": "../storefront-reference-architecture/cartridges/app_storefront_base/"
}
}
What ships with it
4 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.
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.
- 12d ago First seen · 271 lines · 49 tokens per session scan A d4c704dce89b
sfcc-sfra-client-side-js is a skill published in the GitHub repository taurgis/sfcc-dev-mcp (28 stars, last pushed 6d ago), licensed MIT. It adds 49 tokens to every session and 1,727 once invoked, about $0.0002 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
Frontend Performance Audit
Comprehensive audit of frontend performance — bundle size, code splitting, image optimization, font loading, service worker caching, Core Web Vitals, unused dependencies, and memory management. Use when asked to audit performance, bundle size, page speed, loading time, or Core Web Vitals.
Audit Chat AI Experience
Comprehensive audit of the SKAPARA generative AI chat interface — the store's core differentiator. Use when asked to audit the chatbot, AI experience, chat UI/UX, design generation pipeline, product recommendations via chat, or conversational commerce flows. Covers AI context awareness, tool usage, streaming…
Audit Admin
Comprehensive audit of the admin panel (Next.js on /panel). Use when asked to audit, review, or assess the admin — covering RBAC, permission guards, API auth, data isolation, audit logging, session management, and operational security.
Audit API
Comprehensive audit of ALL API routes across frontend, admin, and mcp-server. Use when asked to audit APIs, review endpoints, or assess API security — covering auth middleware, input validation, rate limiting, error handling, CORS, and data exposure.
a11y-debugging
Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.
nebula-logger-install
Use this skill when the user wants to install and configure Nebula Logger in a Salesforce org for the first time. Covers package selection, installation paths, permissions, LoggerSettingsc hierarchy, and first-run troubleshooting.