/b2c-ops:b2c-production-triagefrom b2c-ops
Investigates B2C Commerce incidents using MCP logs, SCAPI, and CLI. Routes error spikes, stale data, or checkout failures to focused runbooks and produces a handoff summary.
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.
Connect the toolkit's logs, job executions, business data, and configuration into an evidence-backed assessment and next action. Investigation does not authorize remediation. Use the symptom routes below rather than collecting every available signal.
config_inspect; CLI: b2c setup inspect.
Preserve the resolved target across calls. Ask for missing site, time window,
timezone, symptom, or expected behavior; never invent IDs or silently switch tenants.mcp/b2c-mcp-config
section setup-and-access; native b2c-config/b2c-auth, or the
authentication guide (b2c docs read guide-authentication).Metrics are a closed beta; when unavailable (not enrolled, 403/404) record an access gap and continue. Prefer dedicated MCP tools; discover available names once. Read
skill://mcp/b2c-mcp-scapi/SKILL.md before using scapi_search/scapi_execute, as those
tools require. Read only the matching runbook/reference, not every linked skill.
For any metrics_get question, read the matching runbook below before the first
call: the series have traps (sparse latency, placeholders, missing dimensions)
that the runbooks and signals catalog explain.
Native assistants use the installed skill name; MCP can read these URIs or use
skills_read with collection: "b2c-ops" and a task query.
| Symptom | Toolkit path | Decision / detail |
|---|---|---|
| Error spike in application logs | logs_list_files -> returned prefix -> logs_get_recent with count: 20, since, and a relevant search | Defaults cover error/customerror, not every custom-* integration log. External service failures: use integration triage below. CLI: b2c logs list / b2c logs get. |
| Failed job or stale data | Code mode codemode.describe("builtin/failed-job-triage"), then run with fixed from/to -> execution IDs and logFilePath -> log tools | Job health covers continuation, step details, exact WebDAV logs, and green-but-incomplete runs. |
| Checkout failures or orders down | Custom logs -> determine whether failures produce order records -> relevant data/traffic evidence | Checkout triage distinguishes checkout symptoms from failed-order records. |
| Find/count FAILED orders or investigate affected products | Verify Admin filter support; otherwise external OCAPI Shop order search -> safe IDs -> logs and selected Admin product reads | Failed-order triage owns enumeration, count/sample limits, and the workaround. No OCAPI helper exists inside code mode. |
| Bot, scraper or abusive traffic; edge 403/429 spikes | Zone protections and available edge traffic evidence via code mode cdn/zones/v1 | Edge traffic triage classifies sources, checks owners, and finds protection gaps before any rule change. |
| Calls to external services failing, slow or stopped | Read integration triage before any call; it drives metrics_get third-party by host, then service logs | Separates provider slowness, stopped calls and non-transport failures, and lists what metrics cannot show. |
| Slow pages/APIs, rising 4xx/5xx, cache, hook or integration latency | Read performance triage before any call; it drives metrics_get (closed beta) by category with short windows, then logs | Localizes the layer (stack, family, controller, hook, cache, host) and points to the metrics signals catalog. |
| Suspected code change | Code mode builtin/code-version-inspect: active/rollback versions and activation/modification timestamps | Current metadata is not a complete activation history. Corroborate with release records. |
| Runtime-only defect | MCP debugger on an authorized reproduction target | Operator handoff is valid without source access. Do not halt production requests for routine triage. |
resolution into the evidence record.
config_inspect stays masked; do not read dw.json or request tokens merely
to make managed MCP calls. Pass the same project/instance context to CLI fallbacks.logFilePath to webdav_get; use byte
continuation, tail: true, or download locally with webdav_get_to_file.
Recent-log tools remain preferred for filtered samples/watches. A bounded result is not full-interval coverage.nextOffset; do not return entire
schemas or records. The failed-job snippet omits step details and healthy
runs: use builtin/job-execution-inspect / builtin/job-execution-review selectively. Compare expected business data
with a healthy input before calling a green job healthy.ok/status and diagnostics, or thrown
auth/transport/safety errors. An OCAPI fallback error may mask an earlier
SCAPI rejection; CLI --api-backend scapi isolates it. POST searches can
be blocked by Safety Mode despite being reads. Do not infer missing scopes
from every 403 or treat unavailable counts as zero.Recommend the smallest supported mitigation, its blast radius and rollback limit. The authorized owner decides; inspecting an incident is not permission to change it. Restore service when justified without waiting for a full causal explanation. After intervention, recheck business behavior and comparable signals over an agreed observation interval. Report recovered, partial, pending, or unknown; record follow-up prevention separately from immediate recovery.
Report: target/site; UTC window; observed impact and denominator; evidence locations (execution IDs, log path/timestamps, minimal excerpts); suspected component/input/change; alternative explanations; access gaps; next owner/action. Exclude tokens, payment details, and unnecessary customer data.
Route custom-code evidence to the developer/implementation partner, grant or schedule issues to the administrator, provider failures to the integration owner, and suspected platform failures to Salesforce Support. Read escalation and case template when preparing a handoff. Do not submit a case/message without authorization or claim a confirmed cause when evidence establishes only a lead.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
production-triage, incident-response, commerce-cloud, runbook
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-job-healthReview B2C Commerce scheduled jobs during routine operations or investigate failed jobs, missing runs, stale imports, and green executions with incomplete results. Check logs and business data before proposing a rerun./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.Other plugins' skills for the same job