Salesforce Skills Library
Salesforce's official set of agent skills for platform development: Apex, Flow, SOQL, Lightning Web Components, metadata and deployment
High risk
We rate an entry high when the tool writes to external systems, handles money, production databases or secrets, or runs arbitrary commands. The CLI installs it only with your consent.
Why this level
- Deploys metadata and runs code in Salesforce orgs, including production
- Works with access permissions and platform security settings
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/salesforce-skills-libraryDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Assembled automatically, review before installing.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a claude-code -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a cursor -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a github-copilot -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a codex -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a gemini-cli -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a cline -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a roo -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
A fork of Roo Code, same .roo folders.
Run in a terminal in the project folder
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate commerce-b2b-open-code-components-replace dx-devops-conflict-resolve dx-devops-pipeline-manage dx-devops-project-manage dx-devops-test-failures-analyze dx-devops-test-pipeline-configure dx-devops-test-suite-assignments-configure dx-devops-test-suite-run dx-devops-work-item-manage dx-app-analytics-query platform-agentexchange-partner-offers-configure automation-sandbox-post-copy-config-generate automation-sandbox-post-copy-configure dx-org-devhub-configure dx-org-permission-set-assign dx-org-switch dx-org-trial-expiration-check dx-pkg-post-install-configure platform-sandbox-configure platform-trial-org-create experience-cms-brand-apply experience-cms-content-generate experience-cms-content-render -a opencode -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Install the skills with npx skills add forcedotcom/sf-skills in the project root. For Claude Code you can add the marketplace: /plugin marketplace add forcedotcom/sf-skills, then /plugin install salesforce-development@salesforce.
Other ways from the author
npx skills add forcedotcom/sf-skillsCross-tool install for agents that support skills, run in the project root.
This is third-party code. Review the repository files before installing.
What it does
Salesforce's official repository of agent skills for platform development. The skills are grouped into 15 plugins by domain: core platform development, Apex, Flow, SOQL, metadata and deployment, Lightning Web Components and React, CMS, org lifecycle, DevOps, security, commerce, mobile, observability, integration and ISV partner work. Each skill is a folder with a SKILL.md file and, where needed, scripts, references and templates following the open Agent Skills specification. The set is optimized for Agentforce Vibes, where skills install and update automatically, and works with any agent that supports skills. The foundation plugin includes org readiness checks, manifest generation, code analysis and a safety gate for production deployments.
Who it is for. For Salesforce platform developers who work on projects in an agent that supports skills.
Good fit when
- You write Apex, Flow or SOQL
- You build or review Lightning Web Components
- You deploy metadata between orgs
- You set up DevOps and Salesforce security checks
Not a fit when
- The project is not on the Salesforce platform
- Your agent does not support skills
- You need a stable, unchanging library; this set changes often
Example request
Generate an Apex class with tests and deploy the metadata to my scratch orgLimitations
The skills target the Salesforce ecosystem: they need a Salesforce org, the Salesforce CLI and the right permissions. The repository states frequent changes; skills get renamed and restructured between releases and carry no stability guarantees like GA APIs. Some skills deploy metadata and run code in orgs, including production, so use them deliberately.
How to disable. If installed via npx skills, remove the skill folders from the agent's skills directory. If installed as a plugin, remove it via /plugin and drop the salesforce marketplace from your sources.
Security check
- Deploys metadata and runs code in Salesforce orgs, including production
- Works with access permissions and platform security settings
README in short
The README describes a curated library of Salesforce agent skills for building applications: Agentforce, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, objects and fields, permission sets. The skills follow the open Agent Skills specification, each in its own folder with SKILL.md and, where needed, scripts, references and assets. For Agentforce Vibes the skills install and update automatically; for other agents they install with npx skills add forcedotcom/sf-skills. The repository warns of frequent changes and calls itself the source of truth. A samples folder holds example apps synced from npm. Apache 2.0 licensed.
FAQ
Is this an official Salesforce project?
Yes, Salesforce maintains the repository and calls it the source of truth; part of the skills come from the community.
Which agents does it work with?
With Agentforce Vibes, where skills install automatically, and with any agent that supports skills, such as Claude Code, Codex, Cursor and OpenCode.
Related
A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review
Skills for real engineers by Matt Pocock
Skills For Real Engineers
Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture
GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation
Reference MCP servers
Model Context Protocol servers
Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything