Skip to content

Commit 490ec07

Browse files
committed
skill nits
1 parent b777d4d commit 490ec07

2 files changed

Lines changed: 25 additions & 5 deletions

File tree

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
---
22
name: b2c-job
3-
description: Using the b2c CLI for job execution and site archive import/export (IMPEX)
3+
description: Using the b2c CLI to run and monitor existing jobs, import/export site archives (IMPEX). Use this for executing jobs, not creating new job step code.
4+
keywords: [run job, execute job, import data, export data, site archive, IMPEX, job status, job log]
45
---
56

67
# B2C Job Skill
78

8-
Use the `b2c` CLI plugin to run jobs and import/export site archives on Salesforce B2C Commerce instances.
9+
Use the `b2c` CLI plugin to **run existing jobs** and import/export site archives on Salesforce B2C Commerce instances.
10+
11+
> **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.
912
1013
## Examples
1114

@@ -90,3 +93,8 @@ b2c job wait <execution-id>
9093
### More Commands
9194

9295
See `b2c job --help` for a full list of available commands and options in the `job` topic.
96+
97+
## Related Skills
98+
99+
- `b2c:b2c-custom-job-steps` - For **creating** new custom job steps (batch processing scripts, scheduled tasks, data sync jobs)
100+
- `b2c-cli:b2c-site-import-export` - For site archive structure and metadata XML patterns

plugins/b2c/skills/b2c-custom-job-steps/SKILL.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
---
22
name: b2c-custom-job-steps
3-
description: Guide for creating custom job steps in Salesforce B2C Commerce
3+
description: Guide for creating custom job steps for batch processing, imports, exports, scheduled tasks, and data sync in Salesforce B2C Commerce. Use this when writing new job code.
4+
keywords: [create job, new job, batch job, scheduled job, import job, export job, data sync, bulk processing, steptypes.json, job step code]
45
---
56

67
# Custom Job Steps Skill
78

8-
This skill guides you through creating custom job steps for Salesforce B2C Commerce batch processing.
9+
This skill guides you through **creating new custom job steps** for Salesforce B2C Commerce batch processing.
10+
11+
> **Running an existing job?** If you need to execute jobs or import site archives via CLI, use the `b2c-cli:b2c-job` skill instead.
12+
13+
## When to Use This Skill
14+
15+
- Creating a **new scheduled job** for batch processing
16+
- Building a **data import job** (customers, products, orders)
17+
- Building a **data export job** (reports, feeds, sync)
18+
- Implementing **data sync** between systems
19+
- Creating **cleanup or maintenance tasks**
920

1021
## Overview
1122

@@ -345,7 +356,8 @@ exports.afterStep = function (success, parameters, stepExecution) {
345356

346357
## Related Skills
347358

348-
- [b2c:b2c-webservices](../b2c-webservices/SKILL.md) - When job steps need to call external HTTP services or APIs, use the webservices skill for service configuration and HTTP client patterns
359+
- `b2c-cli:b2c-job` - For **running** existing jobs and importing site archives via CLI
360+
- `b2c:b2c-webservices` - When job steps need to call external HTTP services or APIs, use the webservices skill for service configuration and HTTP client patterns
349361

350362
## Detailed Reference
351363

0 commit comments

Comments
 (0)