agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Validate the Agentforce for IT Service prerequisites for a Fulfiller or Employee agent, using the Salesforce CLI (sf). The READ-ONLY prerequisite check: it reads the Salesforce Go feature toggles behind the Agentforce for IT Service setup page (Agentforce Studio, the IT Service
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agentforce-studio-validate --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agentforce-studio-validate -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agentforce-studio-validate -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agentforce-studio-validate -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agentforce-studio-validate -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agentforce-studio-validate -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-agentforce-studio-validate -a windsurf -y
name: service-itsm-agentic-setup-agentforce-studio-validate
description: "Validate the Agentforce for IT Service prerequisites for a Fulfiller or Employee agent, using the Salesforce CLI (sf). The READ-ONLY prerequisite check: it reads the Salesforce Go feature toggles behind the Agentforce for IT Service setup page (Agentforce Studio, the IT Service Fulfiller Template / IT Service Employee Template, Specialized Agent Templates for Employee) via one Connect API call, then a helper script classifies the chosen path into a READY / NOT-READY verdict. It never enables anything; when a toggle is off it hands off to agentforce-studio-configure to enable it. Use when asked to check Agentforce prerequisites, validate the org is ready for an ITSM agent, or verify Agentforce Studio is enabled. Triggers: check agentforce prerequisites, validate agentforce readiness, is my org ready for the fulfiller agent, verify agentforce studio enabled. DO NOT TRIGGER: enabling or turning on the toggles, creating the fulfiller agent (service-itsm-agentic-setup-fulfiller-agent-configure), or CMDB CRUD."
metadata:
version: "2.2"
domains: ["Service", "Agentforce"]
minApiVersion: "67.0"
relatedSkills:
- "service-itsm-agentic-setup-agentforce-studio-configure"
- "service-itsm-agentic-setup-employee-agent-configure"
- "service-itsm-agentic-setup-fulfiller-agent-configure"
cliTools:
- tool: ["node"]
semver: ">=18.0.0"
- tool: ["sf"]
semver: ">=2.0.0"
accessCheck: "License.Agentforce"
allowed-tools: |
Bash
Read
AskUserQuestionReadiness check for **Agentforce for IT Service**, for either the **Fulfiller** or the **Employee** agent path. Before an ITSM agent can be created, the org must have the right **Salesforce Go feature toggles** turned on (the ones on the *Agentforce for IT Service* setup page). This skill reads those toggles through the **Salesforce CLI (`sf`)** — a single authenticated Connect API call via `sf api request rest` — and a helper script classifies the chosen agent path into a **READY / NOT-READY** verdict.
This is the **read-only** step in a three-skill flow. It **never enables anything**; turning toggles on is a separate write-capable skill:
| Step | Skill | What it does | |------|-------|--------------| | 1. Validate (this skill) | `service-itsm-agentic-setup-agentforce-studio-validate` | Read the toggles → READY / NOT-READY (no writes) | | 2. Configure | `service-itsm-agentic-setup-agentforce-studio-configure` | Turn the disabled toggles ON | | 3. Create agent | `service-itsm-agentic-setup-fulfiller-agent-configure` | Create + activate the Fulfiller agent |
On NOT-READY this skill names each disabled toggle and **hands off** to `service-itsm-agentic-setup-agentforce-studio-configure` to enable them — it does not POST an enable itself.
The feature toggles and their real `featureApiName`s:
| Go-page toggle | featureApiName | Required for | |----------------|----------------|--------------| | Turn on Agentforce Studio | `sales-cloud-agent-studio` | both paths (shared) | | Agentforce for IT Service | `service-cloud-agentforce-for-itsm` | both paths (shared) | | IT Service Fulfiller Template | `service-cloud-it-fulfiller-agent` | **fulfiller** | | IT Service Employee Template | `service-cloud-requestor-agent` | **employee** | | Specialized Agent Templates for Employee | `service-cloud-it-service-employee-agent` | **employee** |
All are **Connect API** features (`/connect/setup/discovery/...`) — the read goes through `sf api request rest`, no Headless360 dispatcher required. The classification is **deterministic** and lives in `scripts/classify-readiness.mjs` (invoked via `Bash`), not in prose.
---
Determine whether the user is setting up the **fulfiller** agent (the IT-fulfiller-facing agent) or an **employee** agent (the employee-facing / NGA agent). If it is not clear from the request, ask (`AskUserQuestion`). The path selects which toggles are required:
---
Before the skill can read anything, the CLI and target org must be configured. If any of these are unmet, `sf` surfaces an auth error or a `401`/`403`/`404`; **do not fabricate state — surface the raw error and stop**.
1. **`sf` CLI installed and authenticated to the target org** (`sf org display -o <alias>` shows Connected). All calls use `--target-org <alias>`; never extract or pass the access token by hand. 2. **API v67.0+**: the `connect/setup/discovery` feature APIs are available at v67.0. The version is pinned in the URL path; do not hand-edit it below the minimum. 3. **`node` ≥ 18** on PATH (runs the classifier script).
If a precondition fails, `sf` returns one of:
This repository provides Salesforce agent skills, plugins, and sample apps for building applications.
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill to Upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates,…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent…
Ask which skill or flow fits your situation. A router over the skills in this repo.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…
Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…