b2c-page-designer
Installation
SKILL.md
Page Designer Skill
This skill guides you through creating custom Page Designer page types and component types for Salesforce B2C Commerce.
Scope & grounding
This skill covers B2C Commerce Page Designer (dw.experience package) with version-agnostic patterns, JSON schema structures, and code examples. JSON schemas and Script API signatures shown are illustrative and may drift across platform versions. Before answering questions that name a framework/version, or before emitting code the user will run, confirm against the docs via docs_search/docs_read (MCP) or b2c docs search/b2c docs read (CLI). The B2C Commerce documentation is the canonical grounding source for Script API methods, attribute schema requirements, and version-specific behaviors not covered here.
Canonical docs:
dw.experience.PageMgr- rendering pages and regionsdw.experience.PageScriptContext- page script context APIdw.experience.ComponentScriptContext- component script context APIdw.experience.Page- page object methodsdw.experience.Component- component object methodsdw.experience.Region- region object methodsdw.experience.image.Image- image attribute typedw.experience- package overview