Skip to content

Commit fa49a23

Browse files
committed
skill frontmatter refinement
1 parent e7c81ed commit fa49a23

15 files changed

Lines changed: 47 additions & 15 deletions

File tree

skills/b2c-cli/skills/b2c-code/SKILL.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
22
name: b2c-code
3-
description: Deploy and manage code versions on B2C Commerce instances. Use when uploading cartridges, activating code versions, watching for file changes during development, or syncing local code to sandbox.
3+
description: Deploy and manage code versions/cartridges on B2C Commerce instances/sandboxes with the b2c cli. Use when uploading cartridges, activating code versions, watching for file changes during development and CI/CD.
44
---
55

66
# B2C Code Skill
77

8-
Use the `b2c` CLI plugin to deploy and manage code versions on Salesforce B2C Commerce instances.
8+
Use the `b2c` CLI to deploy and manage code versions on Salesforce B2C Commerce instances.
9+
10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli code deploy`).
911
1012
## Examples
1113

skills/b2c-cli/skills/b2c-config/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-config
3-
description: View and debug B2C CLI configuration and understand where credentials come from. Use when authentication fails, connection errors occur, wrong instance is used, or you need to verify dw.json settings, environment variables (SFCC_*), or OAuth credentials are loaded correctly.
3+
description: View and debug b2c CLI configuration and understand where credentials come from. Use when authentication fails, connection errors occur, wrong instance is used, or you need to verify dw.json settings, or OAuth credentials are loaded correctly.
44
---
55

66
# B2C Config Skill
77

88
Use the `b2c setup config` command to view the resolved configuration and understand where each value comes from. This is essential for debugging configuration issues and verifying that the CLI is using the correct settings.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli setup config`).
11+
1012
## When to Use
1113

1214
Use `b2c setup config` when you need to:

skills/b2c-cli/skills/b2c-docs/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-docs
3-
description: Search and read B2C Commerce Script API documentation and XSD schemas. Use when writing B2C scripts, looking up classes for the SFCC/Demandware/B2C Commerce script API, answering "how do I" questions about generating URLs, querying products, processing orders, services, or any dw.* API task. Also use for import/export XML format reference. Use to verify class methods, properties, and usage.
3+
description: Search and read B2C Commerce (SFCC/Demandware) Script API documentation and XSD schemas with the b2c cli. Use when writing B2C scripts, looking up classes for the SFCC/Demandware/B2C Commerce script API, answering "how do I" questions about URLs, products, orders. Also use for import/export XML format (XSD) reference. Use to verify class methods, properties, and usage in the dw.* API namespace
44
---
55

66
# B2C Docs Skill
77

88
Use the `b2c` CLI to search and read bundled Script API documentation and XSD schemas for Salesforce B2C Commerce.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli docs search ProductMgr`).
11+
1012
## Examples
1113

1214
### Search Documentation

skills/b2c-cli/skills/b2c-ecdn/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-ecdn
3-
description: Manage eCDN (embedded Content Delivery Network) settings. Use when purging cache, configuring WAF rules, managing SSL certificates, setting rate limits, or creating CDN zones for storefronts.
3+
description: Manage b2c/sfcc/demandware eCDN (embedded Content Delivery Network) settings
44
---
55

66
# B2C eCDN Skill
77

88
Use the `b2c` CLI plugin to manage eCDN (embedded Content Delivery Network) zones, certificates, security settings, and more.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli ecdn zones list`).
11+
1012
## Prerequisites
1113

1214
- OAuth credentials with `sfcc.cdn-zones` scope (read operations)

skills/b2c-cli/skills/b2c-job/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-job
3-
description: Run and monitor existing jobs, import/export site archives (IMPEX). Use when executing batch jobs, importing site data, running search indexing, checking job status, or viewing job logs. For creating new job code, use b2c-custom-job-steps instead.
3+
description: Run and monitor existing (B2C/demandware/SFCC) jobs using the b2c cli, import/export site archives (IMPEX). Use when executing batch jobs, importing site data, running search indexing, checking job status, or viewing job logs. For creating new jobs, use b2c-custom-job-steps skill instead.
44
---
55

66
# B2C Job Skill
77

88
Use the `b2c` CLI plugin to **run existing jobs** and import/export site archives on Salesforce B2C Commerce instances.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli job run`).
11+
1012
> **Creating a new job?** If you need to write custom job step code (batch processing, scheduled tasks, data sync), use the `b2c:b2c-custom-job-steps` skill instead.
1113
1214
## Examples

skills/b2c-cli/skills/b2c-logs/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-logs
3-
description: Retrieve and monitor log files from B2C Commerce instances. Use when fetching recent errors, searching log entries, filtering by level/time, or real-time tailing. The `logs get` command is optimized for coding agents with JSON output.
3+
description: Retrieve and monitor log files from B2C Commerce (SFCC/demandware) instances. Use when fetching recent errors, searching log entries, filtering by level/time, or real-time tailing. The `logs get` command is optimized for filtered retrieval with JSON output.
44
---
55

66
# B2C Logs Skill
77

88
Use the `b2c` CLI to retrieve and monitor log files on Salesforce B2C Commerce instances. The `logs get` command is designed for agent-friendly, non-interactive log retrieval with structured JSON output.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli logs get`).
11+
1012
## Agent-Friendly Log Retrieval
1113

1214
The `logs get` command is optimized for coding agents:

skills/b2c-cli/skills/b2c-mrt/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-mrt
3-
description: Deploy and manage Managed Runtime (MRT) PWA storefronts. Use when deploying bundles, managing environments, setting environment variables, configuring redirects, or working with CDN for PWA Kit projects.
3+
description: Deploy and manage (B2C/SFCC/Demandware) Managed Runtime (MRT) storefronts using the b2c cli. Use when deploying bundles, managing environments, setting environment variables, configuring redirects, or working with MRT CDN
44
---
55

66
# B2C MRT Skill
77

88
Use the `b2c` CLI to manage Managed Runtime (MRT) projects, environments, bundles, and deployments for PWA Kit storefronts.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli mrt bundle deploy`).
11+
1012
## Command Structure
1113

1214
```

skills/b2c-cli/skills/b2c-ods/SKILL.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
---
22
name: b2c-ods
3-
description: Create and manage on-demand sandboxes (ODS). Use when provisioning development instances, starting/stopping sandboxes, checking sandbox status, or managing sandbox lifecycle. Only create or delete sandboxes when explicitly requested.
3+
description: Create and manage (B2C/SFCC/Demandware) on-demand sandboxes (ODS) with the b2c cli. Use when provisioning development instances, starting/stopping sandboxes, checking sandbox status, or managing sandbox lifecycle.
44
---
55

66
# B2C ODS Skill
77

8+
Only create or delete sandboxes when explicitly requested. Always confirm destructive actions.
9+
810
Use the `b2c` CLI plugin to manage Salesforce B2C Commerce On-demand sandboxes (ODS). Only create or delete a sandbox if explicitly asked as this may be a billable or destructible action.
911

12+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli ods list`).
13+
1014
## Sandbox ID Formats
1115

1216
Commands that operate on a specific sandbox accept two ID formats:

skills/b2c-cli/skills/b2c-scapi-custom/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-scapi-custom
3-
description: Check Custom SCAPI endpoint registration status. Use when verifying custom API deployment, debugging "endpoint not found" errors, or checking if code activation registered new APIs. For creating new custom APIs, use b2c-custom-api-development instead.
3+
description: Check Custom SCAPI (B2C/SFCC/Demandware) endpoint registration status with the b2c cli. Use when verifying custom API deployment, debugging "endpoint not found" errors, or checking if code activation registered new APIs. For creating new custom APIs, use b2c-custom-api-development skill instead.
44
---
55

66
# B2C SCAPI Custom APIs Skill
77

88
Use the `b2c` CLI plugin to manage SCAPI Custom API endpoints and check their registration status.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli scapi custom status`).
11+
1012
## Required: Tenant ID
1113

1214
The `--tenant-id` flag is **required** for all commands. The tenant ID identifies your B2C Commerce instance.

skills/b2c-cli/skills/b2c-scapi-schemas/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
name: b2c-scapi-schemas
3-
description: Browse and retrieve SCAPI OpenAPI schemas. Use when exploring available SCAPI endpoints, checking API request/response formats, understanding SCAPI data models, or finding the right API for a task.
3+
description: Browse and retrieve (B2C/SFCC/Demandware) SCAPI OpenAPI schemas with the b2c cli. Use when exploring available SCAPI endpoints, checking API request/response formats, understanding SCAPI data models, or finding the right API for a task.
44
---
55

66
# B2C SCAPI Schemas Skill
77

88
Use the `b2c` CLI plugin to browse and retrieve SCAPI OpenAPI schema specifications.
99

10+
> **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli scapi schemas list`).
11+
1012
## Required: Tenant ID
1113

1214
The `--tenant-id` flag is **required** for all commands. The tenant ID identifies your B2C Commerce instance.

0 commit comments

Comments
 (0)