/salesforce-pack:salesforce-performance-tuning [org-alias] [workload]from salesforce-pack
Analyzes and tunes Salesforce performance including queries, pagination, batching, caching, automation, and async operations using measured org evidence. Use when resolving latency or throughput problems.
Ships in salesforce-pack. 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.
None: SKILL.md is the whole skill.
Optimize the end-to-end workload without trading correctness, permission enforcement, shared capacity, or recovery for a synthetic benchmark.
Use Read, Glob, and Grep to inspect approved repository and evidence files, WebFetch to re-check current first-party Salesforce documentation, and Write or Edit only for secretless plans, fixtures, configuration, and redacted receipts.
Salesforce offers versioned query and limits resources; query performance feedback through REST explain is explicitly Beta. Query plans, indexes, object cardinality, automation cost, and limits depend on the target org and must be measured.
Use an approved read-only performance principal first and a separately approved principal for canary writes. Do not collect broad record payloads or use administrator access to mask real permission cost.
Do not request indexes, change automation, increase concurrency, add caches, alter consistency, or load production for a benchmark without owners.
Return the baseline trace, bottleneck evidence, tested alternatives, capacity effect, correctness checks, canary result, rollback, and recommendation.
| Condition | Response |
|---|---|
| Explain output is treated as production proof | Label it Beta guidance and require representative measured validation. |
| Optimization changes returned records | Reject the change and restore the original business invariant. |
| Faster client behavior consumes unsafe shared capacity | Apply backpressure or scheduling before increasing rollout. |
A redacted completion receipt might look like this:
workload=account-sync; baseline_p95=recorded; bottleneck=query; change=selective-filter; limits=safe; correctness=exact; canary=pass
Run the workflow first in the lowest-risk authorized org and preserve its redacted receipt. Schedule a review against the next Salesforce seasonal release and the customer change calendar.
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
30 skills in this plugin
/salesforce-advanced-troubleshootingAnalyze complex Salesforce integration failures across request traces, metadata, query plans, automation, locks, jobs, events, and limits. Use when basic triage stalls. Trigger with "deep diagnose Salesforce"./salesforce-architecture-variantsAnalyze Salesforce direct API, middleware, event-driven, replicated-data, and hybrid integration architectures against explicit constraints. Use when making architecture decisions. Trigger with "compare Salesforce architectures"./salesforce-ci-integrationBuild fork-safe Salesforce CI with secretless static and fixture gates, protected non-production validation, and separately approved production promotion. Use when automating delivery. Trigger with "add Salesforce CI"./salesforce-common-errorsAnalyze Salesforce authorization, permission, schema, validation, locking, limit, async-job, and event-delivery failures from evidence. Use when triaging an integration. Trigger with "diagnose a Salesforce error"./salesforce-core-workflow-aRun a metadata-aware Salesforce record workflow with bounded SOQL, CRUD and field-access checks, mutation preview, and reconciliation. Use when operating transactional objects. Trigger with "operate Salesforce records"./salesforce-core-workflow-bAnalyze and run the correct Salesforce high-volume operation using Bulk API 2.0, Composite, Graph, or sObject Collections with reconciliation. Use when handling large or dependent batches. Trigger with "run a Salesforce bulk workflow".npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin salesforce-packOther plugins' skills for the same job