Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions skills/generating-experience-lwr-site/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,32 @@ Reference docs within the skill directory. Note that these are **local** and not

**Steps** (Follow the steps sequentially. Do not skip any step before proceeding):

- [ ] Read and follow [handle-ui-components.md](docs/handle-ui-components.md) to add LWCs to LWR sites.
- [ ] Load and follow [handle-ui-components.md](docs/handle-ui-components.md) to add LWCs to LWR sites.
- [ ] Load and follow [handle-component-and-region-ids.md](docs/handle-component-and-region-ids.md) to handle id generation
- [ ] Read and follow [configure-content-themeLayout.md](docs/configure-content-themeLayout.md) if a component has one of the following requirements:
- [ ] Load and follow [configure-content-themeLayout.md](docs/configure-content-themeLayout.md) if a component has one of the following requirements:
- needs to be "sticky" and persistent across pages
- is used as a theme layout

### Creating Page Layouts / Container Components

**Steps** (Follow the steps sequentially. Do not skip any step before proceeding):

- [ ] Load and follow [handle-ui-components.md](docs/handle-ui-components.md)

### Creating Theme Layouts

**Steps** (Follow the steps sequentially. Do not skip any step before proceeding):

- [ ] Read and follow strictly [configure-content-themeLayout.md](docs/configure-content-themeLayout.md).
- [ ] Check with user whether this new theme layout reuses an existing theme layout component or requires a new one.
- [ ] Load and follow [handle-ui-components.md](docs/handle-ui-components.md) if creating a new theme layout component.
- [ ] Load and follow [configure-content-themeLayout.md](docs/configure-content-themeLayout.md).
- [ ] Load and follow [configure-content-view.md](docs/configure-content-view.md) if need to apply theme layout to pages

### Applying/Setting Theme Layouts

**Steps** (Follow the steps sequentially. Do not skip any step before proceeding):

- [ ] Load and follow [configure-content-view.md](docs/configure-content-view.md)

### Configuring Branding

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ When generating a new theme layout, ensure:
- [ ] `urlName` uses lowercase with hyphens (V)
- [ ] `title` is human-readable (V)
- [ ] `sfdc_cms__theme/[THEME_API_NAME]/content.json` updated by appending a new `contentBody.layouts` mapping (VI)
- [ ] **CRITICAL**: Complete all the UUID generation steps. See `docs/handle-component-and-region-ids.md`
- [ ] **CRITICAL**: Complete all the UUID generation steps. See [handle-component-and-region-ids.md](docs/handle-component-and-region-ids.md)

## Purpose B: Editing Existing Theme Layouts

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ The route's `activeViewId` must match the view's directory name exactly.
- [ ] Directory and `_meta.json` follow structure (see Directory Structure, _meta.json Structure)
- [ ] `content.json` has all required fields (A.1)
- [ ] Component structure correct with both regions (A.1)
- [ ] **CRITICAL**: Complete all the UUID generation steps. see `docs/handle-component-and-region-ids.md`
- [ ] **CRITICAL**: Complete all the UUID generation steps. see [handle-component-and-region-ids.md](docs/handle-component-and-region-ids.md)
- [ ] `viewType` matches route's `routeType` (CRITICAL)

### PART B: OBJECT PAGES
Expand Down Expand Up @@ -218,7 +218,7 @@ The route's `activeViewId` must match the view's directory name exactly. The `vi
- [ ] `viewType` matches route's `routeType` for all three views (CRITICAL)
- [ ] Component structure correct with both regions (see A.1)
- [ ] SEO assistant configured correctly per view type (B.4)
- [ ] **CRITICAL**: Complete both UUID generation steps. see `docs/handle-component-and-region-ids.md`
- [ ] **CRITICAL**: Complete both UUID generation steps. see [handle-component-and-region-ids.md](docs/handle-component-and-region-ids.md)

## Purpose B: Editing Existing Views

Expand Down
Loading