Skip to main content

b2c-project

Understand a B2C Commerce project's server-side code from source with the b2c CLI — which controller endpoints exist (SFRA and SiteGenesis), what middleware and handlers run for a URL and which cartridge each comes from, how overlays compose across the cartridge path (server.extend, append, prepend, replace, module.superModule), which hooks are registered for an extension point and in what order, how Custom APIs are wired (api.json, schema.yaml, implementation), and which custom job steps exist (steptypes.json). Use when the user asks "what runs for Cart-AddProduct", "which cartridge handles this route", "why doesn't my override or hook run", "is my afterPOST hook skipping basket calculation", "where is this Custom API implemented", before changing or overriding a controller, or when reviewing overlays before an SFRA upgrade.

Source facts

SalesforceCommerceCloud

Repository SalesforceCommerceCloud/b2c-developer-tooling

Last source activity
November 19, 2026 at 19:37
Detected SKILL.md language
English
Stars
58
Forks
28

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
nameb2c-project
descriptionUnderstand a B2C Commerce project's server-side code from source with the b2c CLI — which controller endpoints exist (SFRA and SiteGenesis), what middleware and handlers run for a URL and which cartridge each comes from, how overlays compose across the cartridge path (server.extend, append, prepend, replace, module.superModule), which hooks are registered for an extension point and in what order, how Custom APIs are wired (api.json, schema.yaml, implementation), and which custom job steps exist (steptypes.json). Use when the user asks "what runs for Cart-AddProduct", "which cartridge handles this route", "why doesn't my override or hook run", "is my afterPOST hook skipping basket calculation", "where is this Custom API implemented", before changing or overriding a controller, or when reviewing overlays before an SFRA upgrade.