commerce-b2b-open-code…
Integrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention \"integrate open code components\",…
MUST USE this skill for ANY sandbox request — including simply getting a sandbox's details, status, license type, or pending-activation state by name or ID. TRIGGER when the user: types \"sandbox -help\"/\"sandbox help\"; mentions a sandbox ID (07E prefix); asks to list or show
$ npx -y skills add forcedotcom/sf-skills --skill platform-sandbox-configure --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/platform-sandbox-configureContext preview
The summary Claude sees to decide when to auto-load this skill.
MUST USE this skill for ANY sandbox request — including simply getting a sandbox's details, status, license type, or pending-activation state by name or ID. TRIGGER when the user: types \"sandbox -help\"/\"sandbox help\"; mentions a sandbox ID (07E prefix); asks to list or show
name: platform-sandbox-configure
description: "MUST USE this skill for ANY sandbox request — including simply getting a sandbox's details, status, license type, or pending-activation state by name or ID. TRIGGER when the user: types \"sandbox -help\"/\"sandbox help\"; mentions a sandbox ID (07E prefix); asks to list or show sandboxes; asks for the details, status, license type, or config of a sandbox by name or ID; activates or discards a completed refresh; deletes a sandbox; verifies activation or deletion; creates or refreshes a sandbox. DO NOT TRIGGER when: the user wants to clone a sandbox."
metadata:
version: "1.1"
domains: ["Platform"]
minApiVersion: "66.0"
relatedSkills:
- "automation-sandbox-post-copy-config-generate"
- "automation-sandbox-post-copy-configure"
accessCheck:
- type: "userPerm"
value: "ManageSandboxes"
cliTools:
- tool: ["sf"]
semver: ">=2.0.0"Manage Salesforce sandbox environments through Connect REST API — list inventory, activate or discard completed refreshes, create and refresh sandboxes, and permanently delete sandboxes.
Use `platform-sandbox-configure` when the work involves:
Delegate elsewhere when the user is:
---
When the user types `sandbox -help` or `sandbox help`, respond with ONLY a text message showing the numbered operation list below. **Do NOT call any API or tool — just display this menu and wait for the user to reply with a number.**
The agent MUST respond with this exact markdown (not in a code block — render it directly as a bullet list):
**Sandbox Lifecycle Management**
**1. Inventory & Details**
**2. Create & Refresh**
**3. Activate, Discard & Delete**
**4. Verify & Monitor**
**5. Post-Copy Automation**
Reply with a code (e.g. "3a") or describe what you need.
**After the user replies, ask for the required input:**
| Selection | Follow-up question | |---|---| | 1a | No input needed — proceed immediately | | 1b | "What's the sandbox name?" | | 1c | "What's the sandbox ID? (starts with 07E)" | | 2a | "What name for the new sandbox, and what license type? (Developer, Developer_Pro, Partial_Copy, Full)" | | 2b | "Which sandbox do you want to refresh? Optionally, provide a new name and/or description." | | 3a | "Which sandbox? Provide a name or 07E ID." | | 3b | "Which sandbox? Provide a name or 07E ID." | | 3c | "Which sandbox? Provide a name or 07E ID." | | 4a | "Which sandbox did you activate? Provide a name or 07E ID." | | 4b | "Which sandbox did you delete? Provide a name or 07E ID." | | 5a | "Delegating to the post-copy config generator — please share the SOP (file, text, or screenshot)." | | 5b | "Delegating to the post-copy config runner — please share the config JSON file and the target sandbox." |
Execute the corresponding operation from the Operations section below. **Exception: 5a and 5b delegate to a different skill instead of an in-skill operation:**
This skill does not implement post-copy automation itself — it only routes to the two skills above. Do not attempt to generate or apply a post-copy config directly from this skill.
---
**CRITICAL:** For sandbox operations in this skill, use the Connect REST API. Two discovery paths exist:
Both paths return sandbox records with `sandboxId` (prefix `07E`) which is required for all lifecycle mutation operations.
# List all sandboxes (Connect REST API)
sf api request rest "/services/data/v66.0/sandbox/reports" --method GET
# Response format:
# {
# "count": 3,
# "sandboxes": [
# {
# "sandbox": {
# "sandboxId": "07E...", # Required for all operations
# "sandboxName": "mybox", # Top-level field — use this for name lookup
# "license": "Developer",
# "isPendingActivation": false,
# "canActivate": true,
# "canDelete": true,
# ...
# }
# }
# ]
# }**IMPORTANT:** Do NOT use Tooling API (`SandboxInfo` or `SandboxProcess`) for sandbox discovery. The mutation endpoints (activate/discard/delete) require the `sandboxId` (07E prefix
This repository provides a curated collection of Salesforce agent skills for building applications.
Repo: forcedotcom/sf-skills
Integrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention \"integrate open code components\",…
Replace OOTB (out-of-the-box) B2B Commerce components with open source equivalents in site metadata content.json files, or look up the equivalent open code…
Use this skill to diagnose and resolve what blocks a DevOps Center promotion of a work item's feature branch: Git merge conflicts and deployment failures.…
Use this skill to manage the full lifecycle of a DevOps Center pipeline — list all pipelines, get a single pipeline's details, create a new pipeline linked to…
Analyzes DevOps Center test failures and Code Analyzer violations in plain language — failure category, offending file/class/method/line, rule violated, fix…
Configures DevOps Center pipeline testing infrastructure: enables a test provider so its suites become available, re-syncs a configured provider to pull in new…