This repository provides a curated collection of Salesforce agent skills for building applications.
> /plugin marketplace add forcedotcom/sf-skills> /plugin install salesforce-development@salesforce
Repo: forcedotcom/sf-skills
What's inside
This repository provides a curated collection of Salesforce agent skills for building applications. It includes skills for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components (LWC), UI bundles, objects and fields, permission sets, and related areas.
The skills are contributed by Salesforce and the broader community. Itโs optimized for Agentforce Vibes and can be used with any AI tool that supports skills.
โ ๏ธ Expect frequent changes. The Salesforce skills library is evolving rapidly as we refine patterns and incorporate feedback. Skills may be renamed, restructured, or removed between releases โ they do not follow the same stability guarantees as GA platform APIs. If youโve forked or synced the repository, be prepared for upstream changes that may conflict with local modifications. This repository is always the source of truth.
sf-skills/
โโโ skills/ # Directory-based executable workflows
โ โโโ platform-apex-generate/
โ โโโ platform-custom-object-generate/
โ โโโ automation-flow-generate/
โ โโโ ...
โโโ samples/ # Synced sample apps (e.g. from npm)
โ โโโ ui-bundle-template-app-react-sample-b2e/
โ โโโ ...
โโโ scripts/
โ โโโ ...
โโโ README.md
| Tool | Usage |
|---|---|
| Agentforce Vibes | Skills are auto-installed and auto-updated |
| OpenCode, Claude Code, Codex, Cursor, more | npx skills add forcedotcom/sf-skills |
The samples/ folder contains synced sample apps. For example, samples/ui-bundle-template-app-react-sample-b2e/ tracks the npm package @salesforce/ui-bundle-template-app-react-sample-b2e (nightly and on manual trigger via GitHub Actions).
To run the same sync locally from the repository root:
npm install
npm run sync-react-b2e-sample
The GitHub Action runs the same commands and opens a pull request when the npm package version changes. For more information, see samples/README.md.
Agent Skills package executable workflows, scripts, and reference material into self-contained directories. This repository follows the open Agent Skills specification and can be used with OpenCode, Claude Code, Codex, Cursor, and other tools that support skills.
Each skill is a folder that can include:
SKILL.md (required): Instructions and YAML front matter.scripts/ (optional): Executable scripts (For example, Python, Bash, or JavaScript).references/ (optional): Extra reference documentation.assets/ (optional): Templates, schemas, and lookup dataSee Contributing.
.claude-plugin/
marketplace.json
.github/
dependabot.yml
pull_request_template.md
workflows/
release-skills.yml
sync-react-samples.yml
validate-pr.yml
validate-skills.yml
.gitignore
.nvmrc
.template-versions.json
CHANGELOG.md
CODE_OF_CONDUCT.md
CODEOWNERS
CONTRIBUTING.md
LICENSE.txt
package-lock.json
package.json
plugins/
builder/
salesforce-development/
.claude-plugin/
plugin.json
.gitattributes
.mcp.json
agents/
adlc-author.md
adlc-engineer.md
adlc-orchestrator.md
adlc-qa.md
architecture-review.md
salesforce-dev.md
bin/
lsp-doctor
lsp-doctor.bundled.js
lsp-precheck
lsp-precheck.bundled.js
README.md
sf-lsp-host.bundled.js
soql-lsp.bundled.js
catalog/
discovery.json
feature-domains.json
public-release-manifest.json
commands/
discovery.md
login.md
logout.md
org.md
project.md
reset-source-tracking.md
set-default.md
setup.md
status.md
welcome.md
hooks/
scripts/
agent-validator.py
stdin_utils.py
LICENSE
NOTICE
README.md
scripts/
capability_registry.py
discovery_catalog.py
feature_detection.py
internal_preview_installer.py
sf_context.py
sf-context
sf-deploy-gate
sf-mcp-proxy.bundled.js
sf-org-info.bundled.js
sync-discovery-catalog.sh
test/
_test_support.py
catalog-sync-hook.test.sh
classify.test.sh
detect-compact.test.sh
feedback-nudge.test.sh
gate-decision.test.sh
lsp-precheck-gate.test.sh
mcp-health-churn-guard.test.sh
mcp-health-project-gate.test.sh
post-deploy-failure.test.sh
python3-guard.test.sh
README.md
skills-first-advisory.test.sh
test_capability_registry.py
test_discovery_add_guardrails.py
test_discovery_catalog.py
test_discovery_runtime.py
test_feature_detection.py
test_final_surfaces.py
test_internal_preview_installer.py
test_sf_context.py
win-shim-guard.test.sh
skills/
agentforce-generate/
assets/
agent-spec-template.md
agents/
hello-world.agent
knowledge-grounded.agent
local-info-agent-annotated.agent
order-service.agent
production-faq.agent
production-faq.bundle-meta.xml
README.md
router-first.agent
simple-qa.agent
template-multi-subagent.agent
template-single-subagent.agent
verification-gate.agent
voice-knowledge-grounded.agent
voice-service-agent.agent
bundle-meta.xml
invocable-apex-template.cls
patterns/
action-callbacks.agent
advanced-input-bindings.agent
bidirectional-routing.agent
critical-input-collection.agent
delegation-routing.agent
lifecycle-events.agent
llm-controlled-actions.agent
multi-step-workflow.agent
open-gate-routing.agent
procedural-instructions.agent
prompt-template-action.agent
README.md
system-instruction-overrides.agent
README.md
references/
action-prompt-templates.md
actions-reference.md
agent-access-guide.md
agent-design-and-spec-creation.md
agent-metadata-and-lifecycle.md
agent-script-core-language.md
agent-subagent-map-diagrams.md
agent-user-setup.md
agent-validation-and-debugging.md
architecture-patterns.md
complex-data-types.md
data-library-reference.md
deploy-reference.md
discover-reference.md
examples.md
feature-validity.md
instruction-resolution.md
known-issues.md
mcp-management-reference.md
optimization-pattern-1-data-flow.md
optimization-pattern-2-deterministic-logic.md
optimization-pattern-3-reference-syntax.md
optimization-pattern-4-escalation.md
org-setup-for-adl.md
patterns-by-requirement.md
posture-and-determinism.md
production-gotchas.md
reference-map.md
safety-review-reference.md
salesforce-cli-for-agents.md
scaffold-reference.md
scoring-rubric.md
version-history.md
voice-latency-heuristics.md
voice-modality-reference.md
zen-of-agentscript.md
scripts/
__init__.py
discover.py
generators/
__init__.py
apex_stub.py
apex_test_stub.py
flow_xml.py
permission_set_xml.py
remote_site_xml.py
org_describe.py
scaffold.py
SKILL.md
agentforce-observe/
assets/
apex/
AgentforceOptimizeService.cls
AgentforceOptimizeService.cls-meta.xml
references/
improve-reference.md
issue-classification.md
reproduce-reference.md
stdm-queries.md
stdm-schema.md
SKILL.md
agentforce-test/
assets/
basic-test-spec.yaml
guardrail-test-spec.yaml
payloads/
excessive-agency.yaml
misinformation.yaml
output-handling.yaml
prompt-injection.yaml
sensitive-info-disclosure.yaml
system-prompt-leakage.yaml
unbounded-consumption.yaml
standard-test-spec.yaml
references/
action-execution.md
batch-testing.md
owasp-categories.md
preview-testing.md
remediation-guide.md
security-scoring-methodology.md
security-test-design.md
security-troubleshooting.md
test-report-format.md
troubleshooting.md
SKILL.md
automation-flow-generate/
SKILL.md
dx-code-analyzer-configure/
examples/
apex-project-config.yml
ci-github-actions.yml
fullstack-project-config.yml
lwc-project-config.yml
references/
ci-cd-templates.md
config-schema.md
diagnostic-flow.md
engine-prerequisites.md
rule-name-resolution.md
troubleshooting.md
scripts/
check-prerequisites.sh
generate-config.sh
validate-config.sh
SKILL.md
dx-code-analyzer-custom-rule-create/
assets/
pmd-ruleset-template.xml
examples/
metadata-xml-example-fields-api.md
metadata-xml-example-flows.md
metadata-xml-example-permissions.md
metadata-xml-examples.md
regex-examples.md
xpath-examples.md
references/
advanced-pmd-patterns.md
apex-ast-reference.md
eslint-custom-plugins.md
eslint-rules-discovery.md
eslint-tier2-configurable.md
eslint-tier3-custom-plugins.md
metadata-xml-rules.md
regex-rule-schema.md
troubleshooting.md
xpath-patterns-governor-limits.md
xpath-patterns-method-calls.md
xpath-patterns-security.md
xpath-patterns-structure.md
xpath-patterns.md
scripts/
create-pmd-rule.js
create-regex-rule.js
SKILL.md
dx-code-analyzer-run/
examples/
basic-scan-output.json
command-variations.md
fix-application-before-after.md
large-scan-output.json
README.md
security-focused-output.json
references/
command-examples.md
engine-reference.md
error-handling.md
flag-reference.md
post-scan-workflows.md
quick-start.md
special-behaviors.md
vendor-file-handling.md
scripts/
apply-fixes.js
describe-rule.js
discover-fixes.js
filter-violations.js
list-rules.js
parse-results.js
query-results.js
summarize-fixes.js
verify-execution.sh
SKILL.md
dx-org-manage/
examples/
README.md
scratch-orgs/
error_no_devhub.json
error_timeout.json
success_definition_file.json
success_edition.json
success_snapshot.json
snapshots/
error_output.json
success_output.json
references/
cli_flags.md
creating-scratch-org.md
creating-snapshot.md
definition_file_options.md
edition_types.md
opening-org.md
snapshot_usage.md
SKILL.md
dx-project-create/
SKILL.md
platform-apex-anonymous-run/
SKILL.md
platform-apex-generate/
assets/
abstract.cls
batch.cls
domain.cls
dto.cls
exception.cls
interface.cls
invocable.cls
queueable.cls
rest-resource.cls
schedulable.cls
selector.cls
service.cls
trigger.cls
utility.cls
references/
AccountDeduplicationBatch.cls
AccountSelector.cls
AccountService.cls
SKILL.md
SKILL.overlay.patch
platform-apex-logs-debug/
assets/
benchmarking-template.cls
cpu-heap-optimization.cls
dml-in-loop-fix.cls
null-pointer-fix.cls
soql-in-loop-fix.cls
README.md
references/
analysis-playbook.md
benchmarking-guide.md
cli-commands.md
common-issues.md
debug-log-reference.md
log-analysis-tools.md
scoring-rubric.md
SKILL.md
platform-apex-test-generate/
assets/
test-class-template.cls
test-data-factory-template.cls
references/
assertion-patterns.md
async-testing.md
mocking-patterns.md
test-data-factory.md
SKILL.md
platform-apex-test-run/
assets/
basic-test.cls
bulk-test.cls
dml-mock.cls
mock-callout-test.cls
stub-provider-example.cls
test-data-factory.cls
README.md
references/
cli-commands.md
mocking-patterns.md
performance-optimization.md
test-fix-loop.md
test-patterns.md
testing-best-practices.md
scripts/
parse-test-results.py
SKILL.md
platform-architecture-analyze/
references/
manual-review-checklist.md
observable-checks.md
well-architected-rubric.md
SKILL.md
platform-capability-search/
SKILL.md
platform-custom-application-generate/
... 1600 moreShowing a partial view of a very large repo.
FAQ
sf-skills is a Claude Code plugin with 161 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes agentforce-generate, agentforce-observe, agentforce-test. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.