Emenowicz

Occ Headless Skill — AI skill for Claude Code

AI community

AI coding agent skill for building a headless SAP Commerce storefront on OCC without Spartacus.

How to install Occ Headless Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Emenowicz/occ-headless-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Occ Headless Skill does

AI coding agent skill for building a headless SAP Commerce storefront on OCC without Spartacus.

Alternatives in AI

  • Xerj — Local-first search engine and MCP server for AI agents 12.5k ★
  • BrowserSkill — Let AI agents use your real, logged-in browser without interrupting your work 9.1k ★
  • HolyClaude — AI coding workstation: Claude Code + web UI + 7 AI CLIs + headless browser + 50+ tools 2k ★

README

OCC Headless Frontend Skill

AI coding agent skill for building a **headless storefront on SAP Commerce OCC REST API without Spartacus** (Angular, React / Next.js, Vue / Nuxt).

It covers what a frontend developer needs on SAP Commerce Cloud 2211-jdk21:

  • Login: authorization code + PKCE, custom login pages, and a BFF with httpOnly cookies.
  • Carts: anonymous carts, merge at login, guest checkout and PSP plugins.
  • Catalog: product and search pages.
  • CMS: SAP CMS pages and components, SmartEdit, and an external CMS next to OCC.
  • B2B: orgUsers calls and pay on account.
  • Debugging: CORS and 401 troubleshooting.
  • Framework recipes: Next.js, Nuxt and Angular, each with SSR, BFF and SPA variants.

There is also a catalogue of SAP-specific behaviour that frontend developers don't expect (`references/sap-quirks.md`).

Installation

npx skills add Emenowicz/occ-headless-skill

Tested

**Backend.** A vanilla SAP Commerce Cloud **2211-jdk21.19** (local, HSQLDB) with the `electronics` and `powertools` sample stores, `commercewebservices`, `b2bocc`, `cmsocc` and the SmartEdit extensions.

**What was verified live.** Statements marked **(live)** in the references were reproduced there:

  • the authorization server: grants, PKCE, code reuse, refresh rotation, session lengths and the custom login page;
  • OCC error formats and fields rules;
  • the cart lifecycle, merge errors, concurrent writes and checkout request formats;
  • CMS pages and components;
  • SmartEdit preview tickets;
  • the B2B orgUsers rules;
  • CORS.

**What was not verified live.** Statements tagged [SAP Help], [OpenAPI] or [Spartacus] come from those public sources. Not checked live:

  • CCv2-only behaviour: custom domains, IP filters, CDN;
  • the SmartEdit UI in a browser;
  • payment plugins (the Adyen roles and redirect flow are read from the plugin's public source);
  • Storyblok and Contentful apps.

**Benchmark.** Built with Anthropic's skill-creator loop: real