Agentforce Vibes collection of AI skills, prompts and rules for coding, automation and more. Organized by category.
Go to file
Nitasha Walia cc7c475b01 feat: add Pre-Work Brief skills (base + customization)
Adds two complementary skills for setting up and customizing the
Field Service Mobile Pre-Work Brief feature.

skills/setting-up-pre-work-brief/

End-to-end setup of Pre-Work Brief on a Salesforce org with the
Einstein for Field Service add-on. Detects provisioning state, enables
Lightning Data Service, deploys the prompt template, assigns permission
sets, adds the PreWorkBriefPromptTemplate field to the Work Order
layout, and creates a fresh test Work Order + Service Appointment so
the admin can validate on-device immediately. Verified end-to-end
against an Einstein for Field Service trial org, May 2026.

skills/customizing-pre-work-brief/

Generator-pattern skill for vertical-specific Pre-Work Briefs deployable
as code. The admin provides industry, website, and a sentence about
what their technicians do; the skill produces custom objects, an
autolaunched PromptFlow, a sibling prompt template, a permission set,
and a test Work Order. Loads vertical-specific seed templates from
templates/<industry>.md.

Five seeds ship:
  - hvac.md (verified end-to-end on a trial org, May 2026)
  - banking.md, telecom.md, healthcare.md, retail-merchandising.md
    (scaffolds; ready for the next admin in those verticals to verify)

Each seed contributes recommended custom objects, a section structure
for the prompt template, vertical-specific rules, and a cadence example.
For verticals not in the library, --industry other synthesizes a draft
seed at runtime and writes it back to templates/ for next time.

The two skills compose: base setup gets PWB working at all on the
managed flow; customizing builds a parallel customer-specific bundle.
2026-05-20 09:53:01 -07:00
.github chore: ignore fast-uri and axios in root dependabot entry 2026-05-12 12:03:30 +05:30
samples chore: sync React B2E & B2X (1.120.6) with uiBundle lockfiles and gitignore @W-21940169@ (#179) 2026-04-08 12:00:47 -05:00
scripts feat: sync-validate-skill-main-branch-changes-from-internal-to-public @W-22488862@ (#266) 2026-05-14 18:46:38 +05:30
skills feat: add Pre-Work Brief skills (base + customization) 2026-05-20 09:53:01 -07:00
.gitignore fix: correct .gitignore to track sample lib/ folders @W-21361802@ (#119) 2026-03-27 10:57:57 +05:30
.nvmrc ci: publish skills as @salesforce/afv-skills npm package @W-21534193@ (#30) 2026-03-12 13:41:52 -07:00
.template-versions.json Rename webapp-template npm packages to ui-bundle-template @W-21338965@ (#135) 2026-03-30 15:50:18 -05:00
CHANGELOG.md chore(release): 1.9.1 [skip ci] 2026-05-19 10:53:13 +00:00
CODE_OF_CONDUCT.md required files 2025-11-11 09:22:53 -05:00
CODEOWNERS required files 2025-11-11 09:22:53 -05:00
CONTRIBUTING.md chore: @W-22268829@ rename afv-library to sf-skills across all references (#264) 2026-05-13 21:03:58 +05:30
DOCS_ONLY.md required files 2025-11-11 09:22:53 -05:00
LICENSE.txt added license per Jim Jagielski 2026-02-20 16:12:14 -05:00
manifest.json skill manifest 2026-02-17 16:01:25 -05:00
package-lock.json chore: sync React B2E & B2X (1.120.6) with uiBundle lockfiles and gitignore @W-21940169@ (#179) 2026-04-08 12:00:47 -05:00
package.json chore(release): 1.9.1 [skip ci] 2026-05-19 10:53:13 +00:00
README.md Update README.md 2026-05-13 21:04:53 +05:30
SECURITY.md Update README (#197) 2026-04-14 21:33:13 +05:30
sfdx-project.json Add Opportunities Days_Open__c formula field 2026-01-13 20:41:28 +05:30

Salesforce Skills Library

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. Its optimized for Agentforce Vibes and can be used with any AI tool that supports skills.

🗂️ Structure

sf-skills/
├── skills/               # Directory-based executable workflows
│   ├── generating-apex/
│   ├── generating-custom-object/
│   ├── generating-flow/
│   └── ...
├── samples/              # Synced sample apps (e.g. from npm)
│   └── ui-bundle-template-app-react-sample-b2e/
│   └── ...
├── scripts/
│   └── ...
└── README.md

🚀 Usage

Tool Usage
Agentforce Vibes Skills are auto-installed and auto-updated
OpenCode, Claude Code, Codex, Cursor, more npx skills add forcedotcom/sf-skills

📦 Samples

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

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.

Directory Structure

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 data

🤝 Contributing

See Contributing.

💬 Feedback

  • Open an issue in this repository
  • Open a pull request with suggested changes
  • Use GitHub Discussions or the pull request thread for broader conversation

Project Governance & Support