b2c-scaffold

Scaffold B2C Commerce components from built-in templates.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-scaffold
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c-cli/skills/b2c-scaffold
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates scaffolding B2C Commerce components from templates, reducing boilerplate and accelerating new project workstreams.

Core Features & Use Cases

  • Scaffold generation: Create cartridges, controllers, hooks, custom APIs, job steps, and Page Designer components from pre-defined templates.
  • Rapid bootstrapping: Spin up complete project structures for new storefronts or modules with consistent conventions.
  • Info & discovery: List available scaffold templates, get detailed info, and search by category or keyword to choose the right starting point.

Quick Start

Use the b2c scaffold command to generate a cartridge named app_custom to the output directory ./src/cartridges.

Frequently Asked Questions about b2c-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a B2C Commerce cartridge from a template?

To scaffold a B2C Commerce cartridge, use the b2c scaffold command to generate a named cartridge like app_custom into a specified output directory. This creates a ready-to-edit project structure with consistent conventions.

What B2C Commerce components can I generate using scaffold templates?

B2C scaffold templates support generating cartridges, controllers, hooks, custom APIs, job steps, and Page Designer components. These built-in templates accelerate new project workstreams by reducing boilerplate.

Can I list and search available B2C scaffold templates by keyword?

You can list available B2C scaffold templates, get detailed info, and search by category or keyword. This discovery process helps you choose the right starting point for your storefront or module.

Does B2C scaffolding require any dependencies or custom components?

B2C scaffolding relies on the built-in scaffold tooling and templates with no external dependencies or custom components required. It produces ready-to-edit project structures directly.

Why use a scaffold tool for B2C Commerce bootstrapping instead of manual setup?

Using a scaffold tool for B2C Commerce bootstrapping reduces boilerplate and ensures consistent conventions across new storefronts or modules. It accelerates project workstreams by automating component generation.

What are the limitations of using built-in B2C scaffold templates?

B2C scaffold templates produce ready-to-edit structures that still require manual customization. The implementation relies on pre-defined templates, meaning support is limited to existing categories like controllers, hooks, and job steps.