spartacus-developer
Skill by SAP
Guides an AI assistant through SAP Spartacus storefront work, including components, services, routing, CMS wiring, state, i18n, styling and SSR. Built for developers on SAP Commerce Cloud Angular storefronts.
Install spartacus-developer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/SAP/spartacus /tmp/spartacus && mkdir -p ~/.claude/skills && cp -r /tmp/spartacus/core-libs/skills/skills/spartacus-developer ~/.claude/skills/spartacus-developerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/SAP/spartacus /tmp/spartacus && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/spartacus/core-libs/skills/skills/spartacus-developer ~/.gemini/antigravity-cli/skills/spartacus-developerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install spartacus-developer in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The spartacus-developer skill gives an AI assistant the development rules for SAP Spartacus, the composable storefront for SAP Commerce Cloud built on Angular. It applies to storefront features, components, services, routing, CMS component wiring, configuration, state, i18n, styling, SSR and backend integration. The skill points to a set of sub-topic files in a references folder, and the assistant reads the one whose trigger applies before writing code.
Its quick reference lists rules such as using the Adapter pipeline instead of HttpClient in components, using the cxTranslate and cxUrl pipes instead of hardcoded strings and links, and using provideConfig() rather than provideDefaultConfig(). It also covers OnPush change detection, guarding window and document access with WindowRef.isBrowser(), and checking node_modules/@spartacus/ for existing features before building. It is aimed at developers building or customizing a Spartacus storefront.
Written from the project's SKILL.md and checked against it.
What it can do
- Backend communicationExplains using the Adapter pipeline instead of HttpClient in components and generic services.
- CMS component wiringCovers introducing or replacing components that the CMS places on a page.
- Lazy loadingExplains that Spartacus uses its own CMS-driven lazy loading instead of loadChildren.
- ConfigurationCovers provideConfig, provideDefaultConfig and checking the merged config at runtime.
- State managementDirects use of Spartacus services and facades instead of injecting Store for Spartacus state.
- Change detection and subscriptionsSets rules for OnPush components, the async pipe and avoiding subscribe in templates.
- Styling and i18nCovers global SCSS for overriding Spartacus components and cxTranslate for user-facing strings.
- Configurable URLsExplains RoutingConfig and the cxUrl pipe for changing URL patterns and router links.
- Existing features and extensionAdvises checking for existing Spartacus features and extending classes before copying source.
- SSR safetyExplains guarding window, document and localStorage access with WindowRef.isBrowser().
What you need
- A SAP Spartacus Angular storefront project
- Spartacus packages installed in node_modules/@spartacus/
Try asking
- Add a new CMS component to my Spartacus storefront and wire it up
- Replace the hardcoded strings in this Spartacus template with cxTranslate
- Review this Spartacus component for OnPush and subscription issues
Good to know
- Written for SAP Spartacus and says it diverges from standard Angular patterns
- Detailed rules sit in sub-topic files that must be read separately
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: core-libs/skills/skills/spartacus-developer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/anti-patterns.md3 KB -
references/backend-communication.md4 KB -
references/cms-component-wiring.md4 KB -
references/configurable-urls.md5 KB
Show all 21 files
-
references/configuration-troubleshooting.md5 KB -
references/configuration.md3 KB -
references/correct-injector.md2 KB -
references/existing-features.md2 KB -
references/extending-spartacus-classes.md3 KB -
references/facades-not-store.md5 KB -
references/i18n.md6 KB -
references/lazy-loading.md4 KB -
references/normalizers.md3 KB -
references/outlets.md2 KB -
references/placement-mechanisms.md2 KB -
references/proxy-facade-pattern.md6 KB -
references/ssr-safety.md3 KB -
references/state-management.md4 KB -
references/styling.md3 KB -
references/subscriptions.md4 KB
Alternatives to spartacus-developer
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
spartacus-developer: common questions
Should I read the Spartacus copy in node_modules instead of this skill?
No. The source says to always use this skill rather than reading the copy in node_modules/@spartacus/skills.
Should I use HttpClient in a Spartacus component?
No. The source says to use the Adapter pipeline instead of HttpClient in components or generic services.
Which configuration function should I use in Spartacus?
The source says to always use provideConfig() and not provideDefaultConfig().
How do I install spartacus-developer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is spartacus-developer free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is spartacus-developer safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to spartacus-developer?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
