b2c-performance-triage
БесплатноБез исполняемых скриптовНе проверенInvestigate slow or erroring B2C Commerce storefront, SCAPI, OCAPI or SFRA responses using Metrics API signals (overall traffic and p95, SCAPI family latency…
от SalesforceCommerceCloud★ 58 звёзд на GitHubОб этом скилле
Performance and error-rate triage
Outcome: decide where latency or errors changed and since when, rule layers in or out, and hand off comparable evidence. Metrics localize; they do not prove cause. Inspection does not authorize changes.
Scope and impact
Resolve the target with config_inspect (CLI: b2c setup inspect). Confirm
the storefront type (SFRA, PWA Kit or headless, both), the symptom (slow,
errors, timeouts), the UTC start time, and who is affected. Propose a 60 minute
incident window plus a comparison window of equal length (same hours the
previous day, or last week if weekly seasonality) and label the assumption.
Follow the team's incident process for live impact.
Access and tools
| Evidence | Preferred path | Fallback / limit |
|---|---|---|
| Metrics (closed beta) | metrics_get per category with fixed from/to, 15-60 minute windows, summarize: true first |
b2c metrics <category>. If not enrolled, 403 or 404, say so and continue below. A 24 h request can exceed output limits. |
| Warehouse trends | cip_discover / cip_query after CIP guidance |
Delayed, aggregate; b2c cip. |
| Logs | logs_list_files then logs_get_recent filtered to the suspect route or integration |
Samples, not counts. |
| Overlapping jobs | Job health | A long job can cause load-driven latency. |
| Recent code change | Code mode builtin/code-version-inspect |
Metadata, not a full activation history. |
| MRT | mrt_logs_watch / mrt_logs_watch_poll |
Needs MRT credentials. |
Read the metrics signals catalog
(native: b2c-production-triage references/metrics-signals.md) before
interpreting; it lists each category's metrics, dimensions, sparse-series and
placeholder behavior, and gaps.
Checks and decisions
- Confirm and date it. Before the first
metrics_get, read the metrics signals catalog. Then, inoverall, comparetotalCalls,responseTime,responseTimeP95,systemWorkloadandsessionsfor the incident and comparison windows, usingsummarize: truefor both. Then fetch raw points for the series that moved to state the first minute that differs. If nothing differs, report no metric evidence and ask what the reporter saw. - Choose the stack.
- SFRA:
controllercallsMeanandtotalErrorsbycontroller. One route out of line localizes to that route's code or its integration; every route moving together points to a shared dependency, database, workload or edge. Checkout routes at zero calls with browse normal means checkout is not being reached. - Headless or PWA:
scapirequestLatencybyapiFamily(compare to theoverallrollup),responseCountbystatusClass,errors4xx,errors5xx. Thenmrtif the realm has Managed Runtime data (empty means none). - Integrations and mobile:
ocapitotalCalls,callsMean, errors byocapiCategory.
- SFRA:
- Check amplifiers.
scapi-hookshookExecutionTimes: a plateau step at the same minute as the family latency rise implicates a hook or its dependency.hookErrors.third-partyby host: integration triage whencallsP95rises, calls stop, or exceptions appear.- Cache:
scapicacheHitRatecounts bycacheStatus(compute the hit share yourself);ecdncacheHitsfor storefront hosts. - Load:
sessionsrising without storefrontrequestssuggests jobs or integration traffic;systemWorkloadsustained high is capacity. - Edge:
ecdnfor production hosts only (the response includes dev, staging and BM hosts). For bots or abuse u
Установить b2c-performance-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл b2c-performance-triage?
Investigate 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-performance-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b2c-performance-triage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic