/b2c-ops:b2c-job-healthfrom b2c-ops
Reviews B2C Commerce scheduled jobs for failures, missing runs, stale imports, and incomplete results. Checks execution logs and business data before recommending reruns.
Ships in b2c-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Outcome: identify which scheduled work completed its business purpose, what is late/failed/partial, and whether intervention or a developer handoff is needed.
Resolve instance/site and a fixed UTC interval with config_inspect (CLI:
b2c setup inspect). Obtain the expected jobs, schedule/timezone, and intended
updates from the user or available configuration. No matching execution is
"missing" only when a run was actually expected.
Record the business deadline, affected data/sites, and owner. For material impact,
use the team's incident severity/update process; a routine review need not declare
an incident. Do not invent impact from a red status alone.
| Evidence | Preferred MCP path | CLI fallback |
|---|---|---|
| Execution history and steps | builtin/job-execution-review / builtin/job-execution-inspect in code mode | b2c job search; check --help for filters |
| Known execution log | webdav_get with the returned logFilePath | b2c job log JOB_ID EXECUTION_ID |
| Expected product/data change | Discover the relevant Admin operation and select affected fields | Relevant CLI/data workflow if supported |
| Code-version clues | builtin/code-version-inspect in code mode | b2c code list; modification time is not activation history |
Read skill://mcp/b2c-mcp-scapi/SKILL.md before code mode. Use its search/discovery
contract; project/instance context belongs on tool calls. Authentication is
managed. Do not export tokens or use ambient fetch inside code mode.
builtin/job-execution-review for a small page in the interval. For routine review, include
successful and unfinished runs, not only failures. Compare against the expected
schedule; inspect relevant steps/duration and time zone before calling a run late.builtin/failed-job-triage: inspect with
codemode.describe, then codemode.run with fixed from, to, and limit
(maximum 3). Continue using its returned offset/window only as needed. Keep
errors and partial results. The snippet returns selected execution fields,
not stepExecutions; use builtin/job-execution-inspect if steps matter.
A POST search can be blocked by Safety Mode;
explain the denied read operation rather than weakening policy.logFilePath with webdav_get; it accepts
/Sites/LOGS/... paths. Inspect size via webdav_list; read a bounded range
and continue via byte nextOffset only as needed, or use tail: true for the
end. Download with webdav_get_to_file for local analysis. Use recent-log
tools for filtering and watches, not an exact raw-file read. Job-log details.Before an authorized rerun, check for an active execution, partial writes, idempotency, duplicate exports/messages, and rollback limits. Inspect uncertain outcomes before retrying; never replay a whole code-mode program after writes. Verify business data as well as terminal job status after intervention.
To start a rerun (for example a search-index rebuild) from MCP, use code mode
createJobExecution; system jobs need their own body, not parameters:
skill://mcp/b2c-mcp-scapi/references/jobs.md#start-a-job. CLI:
b2c job run ID --wait --body '{"site_scope":["Site"]}' (see b2c-cli:b2c-job).
Summarize job/execution/step IDs, impact/window, status, affected inputs, log
evidence, observed data, unknowns, and next owner/action. Use the administrator
for custom schedule/access issues, developer for custom-step defects, and
Salesforce Support for suspected platform/system-job problems. Native skill:
b2c-production-triage; MCP case template.
No source access is required; case submission needs authorization.
CLI-specific detail when needed: native b2c-job, MCP
skill://b2c-cli/b2c-job/SKILL.md, or the
Jobs reference (b2c docs read cli-jobs).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
b2c-commerce, scheduled-jobs, job-monitoring, incident-triage
npx claudepluginhub salesforcecommercecloud/b2c-developer-tooling --plugin b2c-ops7 skills in this plugin
/b2c-checkout-triageInvestigate B2C Commerce checkout or payment failures, increased failed orders, or falling order volume. Compare bounded order evidence, integration logs and affected data; separate payment failures from traffic and reporting gaps./b2c-edge-traffic-triageInvestigate bots, scrapers, crawlers, credential or token abuse, API abuse, and edge 403/429 or error spikes hitting a B2C Commerce storefront or SCAPI through the eCDN (CDN edge). Review WAF, firewall and rate-limiting protections, correlate available traffic evidence, and propose narrowly scoped rule changes for approval./b2c-integration-triageInvestigate failing, slow or silent calls from B2C Commerce to external services (payment, tax, shipping, OMS, search, email, custom APIs) using Metrics API third-party signals (call volume, p95 duration, remote exceptions by host) with logs and service configuration. Decide whether the provider is slow or unreachable, whether calls stopped, or whether the fault is elsewhere./b2c-order-failure-triageFind and investigate FAILED B2C Commerce orders, quantify their share of indexed orders, and correlate failed inputs with logs and jobs. Covers SCAPI status-filter limitations and the OCAPI Shop order_search fallback./b2c-performance-triageInvestigate slow or erroring B2C Commerce storefront, SCAPI, OCAPI or SFRA responses using Metrics API signals (overall traffic and p95, SCAPI family latency and status class, SFRA controller duration and errors, SCAPI hook time, cache, third-party calls, system workload, Managed Runtime). Localize a latency or error change to a layer, route or dependency and since when, then hand off with evidence./b2c-production-triageInvestigate B2C Commerce incidents using B2C MCP logs, SCAPI code-mode job/data reads, and CLI fallbacks. Route error spikes, stale data, or checkout failures to focused runbooks and produce a team or Support handoff.Other plugins' skills for the same job