
using-ui-bundle-salesforce-data
MUST activate when the project contains a uiBundles/*/src/ directory
by forcedotcomFree
Description
using-ui-bundle-salesforce-data is an agent skill from the forcedotcom sf-skills collection for reading and writing Salesforce record data from a React UI bundle. It sets one rule: all Salesforce data access goes through the Data SDK, the @salesforce/sdk-data package. The SDK handles authentication, CSRF and base URL resolution, so the app does not do those itself. The skill shows the pattern. The agent calls createDataSDK, then uses GraphQL for record queries and mutations, which is the preferred route, and REST for Connect REST, Apex REST and UI API calls when GraphQL is not enough. The examples use the gql tag and typed response types. The skill applies when a project has a uiBundles source folder and the task involves a Salesforce record operation. It is free and listed on skills.sh, with its source on GitHub. Security audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.…
Highlights
- Routes all Salesforce data through the Data SDK
- Prefers GraphQL for record queries and mutations
- Uses REST for Apex REST and UI API calls
- Leaves auth and CSRF handling to the SDK
Ratings & Reviews
No ratings yet
Be the first to rate using-ui-bundle-salesforce-data.
People also visit

experience-ui-bundle-salesforce-data-access
MUST activate whenever a uiBundles/*/src/ project reads, writes

experience-ui-bundle-2gp-deploy
MUST activate when the user wants to package, distribute

deploying-ui-bundle
MUST activate when the project contains a uiBundles/*/src/ directory or

experience-ui-bundle-deploy
MUST activate when the project has a uiBundles/*/src/ directory

experience-ui-bundle-metadata-generate
Adding a front-end React or Angular UI bundle to an EXISTING SFDX project

generating-ui-bundle-metadata
MUST activate when the project contains a uiBundles/*/src/ directory
using-ui-bundle-salesforce-data FAQ
What does this skill do?
It guides an AI agent to read and write Salesforce records from a React UI bundle through the @salesforce/sdk-data Data SDK.
GraphQL or REST?
GraphQL is preferred for record queries and mutations. REST is used for Connect REST, Apex REST and UI API calls when GraphQL is not enough.
How do I install it?
Run: npx skills add https://github.com/forcedotcom/sf-skills --skill using-ui-bundle-salesforce-data
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best using-ui-bundle-salesforce-data alternatives?
Popular alternatives to using-ui-bundle-salesforce-data include experience-ui-bundle-salesforce-data-access, experience-ui-bundle-2gp-deploy and deploying-ui-bundle. See all using-ui-bundle-salesforce-data alternatives
