discover
Show ranked what's-next nudges across the six-stage journey, run on-demand org featureβ¦
Validate the local Salesforce development environment β scan required tools (SF CLI, Code Analyzer, Node, NPM, Git, MCP, Source Tracking) with π΄/π‘/π’ status and offer guided install/update.
$ npx -y skills add forcedotcom/sf-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/setupContext preview
What this command does when you run it.
Validate the local Salesforce development environment β scan required tools (SF CLI, Code Analyzer, Node, NPM, Git, MCP, Source Tracking) with π΄/π‘/π’ status and offer guided install/update.
description: Validate the local Salesforce development environment β scan required tools (SF CLI, Code Analyzer, Node, NPM, Git, MCP, Source Tracking) with π΄/π‘/π’ status and offer guided install/update. allowed-tools: - Bash - Read
Run the tool prerequisite scan and render an actionable status report.
${CLAUDE_PLUGIN_ROOT}/scripts/sf-context check-toolsThe output is a JSON object with a `tools` array (plus a `diagnostic` block on any critical failure).
**The banner is painted for you β do not reproduce it.** When `check-tools` runs, the plugin paints the framed **"Ready to build on Salesforce?"** banner deterministically on the visible channel (one status row per tool, the footer verdict, and the wayfinding footer), exactly like the SessionStart banner. Read the JSON for your own understanding, but do **NOT** reproduce, redraw, or re-render the banner β add only a short read of what it means for the user, then go to Phase 2.
**Only if you do not see the banner painted** (an older Claude Code build, or a paint fallback) render it yourself from the JSON, using the layout defined in the `platform-environment-validate` skill as the single source of truth. **Read `${CLAUDE_PLUGIN_ROOT}/skills/platform-environment-validate/SKILL.md` (Phase 1)** for the canonical frame, status-dot definitions, fixed row order, footer verdict, and wayfinding footer. In brief: one framed block, one row per tool with a π΄/π‘/π’/βΉοΈ status dot in a fixed order, and a footer verdict β ` β toolchain ready` when there are no π΄/π‘ rows, or ` β <N> need attention Β· <M> ready` otherwise β then the "You don't memorize commands here." wayfinding block ending in a context-aware `Next: <action> β "<phrase>"` line. A setup is "all green" when there are no π΄ or π‘ rows; βΉοΈ rows never count against it.
**Deterministic results β do NOT override a failure.** The JSON report is the authoritative result. If a tool reports π΄/π‘, render it as-is; never re-run the check a different way and present the result as π’. When the report includes a `diagnostic` block (attached on any critical failure), surface it β it carries platform, active shell, working directory, plugin root, and the resolved executable paths, and is secret-free by design.
Note: the Code Analyzer plugin is a JIT ("just-in-time") plugin β if it is registered but not yet physically installed, `check-tools` reports it π’ with a note that it auto-installs on first `sf code-analyzer` run. That is expected and not a problem.
**If all green:** confirm setup is complete β the user is ready to develop.
**If any π΄/π‘ items exist:** offer to help. For each item the user wants to fix, show the correct install/update command for their OS and ask them to confirm before running it β do **not** run install commands automatically.
For the full guided install/update flow (per-tool commands by OS, PATH-restart guidance, source-tracking enablement), see the `platform-environment-validate` skill.
This repository provides a curated collection of Salesforce agent skills for building applications.
Repo: forcedotcom/afv-library
Show ranked what's-next nudges across the six-stage journey, run on-demand org featureβ¦
Record a quick 1-5 satisfaction rating as local usage telemetry. Manual-only β neverβ¦
Authenticate to a new Salesforce org via the browser (sf org login web). Optionally set theβ¦
Sign out of one or all Salesforce orgs (sf org logout). Confirms before destructive action.
Show just the connected Salesforce org details β alias, edition, API version, instance URL,β¦
Confirm and install exactly one uninstalled plugin-catalog entry, or record an explicitβ¦